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:
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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user