【7.0.3】更新oshi版本

pull/13/head
18idc 2021-04-24 10:44:55 +08:00
parent 0a9291da3a
commit e9e8e5be5a
2 changed files with 3 additions and 3 deletions

View File

@ -173,8 +173,8 @@ public class SystemHardwareCalculator {
*/
private void setSysFiles(OperatingSystem os) {
FileSystem fileSystem = os.getFileSystem();
OSFileStore[] fsArray = fileSystem.getFileStores();
for (OSFileStore fs : fsArray) {
List<OSFileStore> fsList = fileSystem.getFileStores();
for (OSFileStore fs : fsList) {
long free = fs.getUsableSpace();
long total = fs.getTotalSpace();
long used = total - free;

View File

@ -127,7 +127,7 @@
<rocketmq.version>4.5.2</rocketmq.version>
<easy.captcha>1.6.2</easy.captcha>
<groovy.version>3.0.7</groovy.version>
<oshi.version>3.9.1</oshi.version>
<oshi.version>5.7.1</oshi.version>
</properties>
<dependencyManagement>