mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -161,7 +161,7 @@ public class CpuInfo {
|
||||
* @return 总CPU使用率
|
||||
*/
|
||||
public double getUsed() {
|
||||
return NumberUtil.sub(100, this.free);
|
||||
return NumberUtil.sub(100, this.free).doubleValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user