use SIGAR_FIELD_NOTIMPL constant in place of -1 or 0 for fields which are not implemented for a given platform

This commit is contained in:
Doug MacEachern committed 2004-12-05 23:36:48 +00:00
1 parent 136f564d4b
commit dfdff8b635
9 files changed
+91 -85

No files matched your search

@@ -19,6 +19,8 @@ import net.hyperic.jni.ArchNotSupportedException;
*/
public class Sigar implements SigarProxy {
public static final long FIELD_NOTIMPL = -1;
/**
* The Sigar version in String form.
*/