diff --git a/bindings/java/src/net/hyperic/sigar/CpuPerc.java b/bindings/java/src/net/hyperic/sigar/CpuPerc.java index ededb542..cbc227a2 100644 --- a/bindings/java/src/net/hyperic/sigar/CpuPerc.java +++ b/bindings/java/src/net/hyperic/sigar/CpuPerc.java @@ -12,7 +12,7 @@ public class CpuPerc { CpuPerc() {} - static CpuPerc calculate(Cpu oldCpu, Cpu curCpu) { + public static CpuPerc calculate(Cpu oldCpu, Cpu curCpu) { double diffUser, diffSys, diffNice, diffIdle, diffWait, diffTotal; diffUser = curCpu.getUser() - oldCpu.getUser();