JAL-3278 A system.out.println turned into a cache.log.error
authorBen Soares <bsoares@dundee.ac.uk>
Fri, 14 Jun 2019 16:31:28 +0000 (17:31 +0100)
committerBen Soares <bsoares@dundee.ac.uk>
Fri, 14 Jun 2019 16:31:28 +0000 (17:31 +0100)
src/jalview/bin/MemorySetting.java

index b3bae2d..c8bc222 100644 (file)
@@ -24,7 +24,7 @@ public class MemorySetting
     } catch (NoClassDefFoundError e)
     {
       // com.sun.management.OperatingSystemMXBean doesn't exist in this JVM
-      System.out.println("No com.sun.management.OperatingSystemMXBean");
+      Cache.log.error("No com.sun.management.OperatingSystemMXBean");
     }
 
     // We didn't get a com.sun.management.OperatingSystemMXBean.