diff --git a/server/src/main/java/org/eclipse/jifa/server/component/CurrentStaticWorker.java b/server/src/main/java/org/eclipse/jifa/server/component/CurrentStaticWorker.java index c590c2c1..ce2554ca 100644 --- a/server/src/main/java/org/eclipse/jifa/server/component/CurrentStaticWorker.java +++ b/server/src/main/java/org/eclipse/jifa/server/component/CurrentStaticWorker.java @@ -80,7 +80,7 @@ private void updateStorageSpace() throws IOException { current = staticWorkerRepo.save(current); } - public String getLocalHostExactAddress() throws IOException { + private String getLocalHostExactAddress() throws IOException { Enumeration allNetworkInterfaces = NetworkInterface.getNetworkInterfaces(); while (allNetworkInterfaces.hasMoreElements()) { NetworkInterface networkInterface = allNetworkInterfaces.nextElement();