From 00580471d5b0e632fd7820d2c5c1c4aa565c4933 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 13 Feb 2005 05:37:20 +0000 Subject: [PATCH] check if CacheSize is valid --- bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java b/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java index 305392ea..483db5a8 100644 --- a/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java +++ b/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java @@ -1,6 +1,7 @@ package net.hyperic.sigar.cmd; import net.hyperic.sigar.CpuPerc; +import net.hyperic.sigar.Sigar; import net.hyperic.sigar.SigarException; /** @@ -31,10 +32,13 @@ public class CpuInfo extends SigarCommandBase { for (int i=0; i