X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FPlatform.java;fp=src%2Fjalview%2Futil%2FPlatform.java;h=4ecf6372d866be55007bbd117f19ada9e29d8624;hb=469dc5a0e6d06a2c8a27f27b712ccfdbe3314ee4;hp=f5953bf06085d9fc56b246cf2406e92e49cb042f;hpb=f32142e854e6eadb5c85c4379d596369bd7098c5;p=jalview.git diff --git a/src/jalview/util/Platform.java b/src/jalview/util/Platform.java index f5953bf..4ecf637 100644 --- a/src/jalview/util/Platform.java +++ b/src/jalview/util/Platform.java @@ -309,7 +309,7 @@ public class Platform time = mark = t; if (msg != null) { - System.err.println("Platform: timer reset\t\t\t" + msg); + jalview.bin.Console.errPrintln("Platform: timer reset\t\t\t" + msg); } break; case TIME_MARK: @@ -325,7 +325,7 @@ public class Platform } if (msg != null) { - System.err.println("Platform: timer mark\t" + ((t - time) / 1000f) + jalview.bin.Console.errPrintln("Platform: timer mark\t" + ((t - time) / 1000f) + "\t" + ((t - mark) / 1000f) + "\t" + msg); } mark = t; @@ -337,7 +337,7 @@ public class Platform case TIME_GET: if (msg != null) { - System.err.println("Platform: timer dur\t" + ((t - time) / 1000f) + jalview.bin.Console.errPrintln("Platform: timer dur\t" + ((t - time) / 1000f) + "\t" + ((duration) / 1000f) + "\t" + msg); } set = 0; @@ -494,7 +494,7 @@ public class Platform * info[key]; */ - System.out.println( + jalview.bin.Console.outPrintln( "Platform id=" + id + " reading Info." + key + " = " + value); p.put(id + "_" + key, value); @@ -620,7 +620,7 @@ public class Platform if (isJS()) { - System.out.println( + jalview.bin.Console.outPrintln( "Platform adding known access-control-allow-origin * for domain " + domain); /** @@ -644,11 +644,11 @@ public class Platform * @j2sNative var a = * decodeURI((document.location.href.replace("&","?").split("?j2s")[0] * + "?").split("?")[1].split("#")[0]); a && - * (System.out.println("URL arguments detected were "+a)) && + * (jalview.bin.Console.outPrintln("URL arguments detected were "+a)) && * (J2S.thisApplet.__Info.urlargs = a.split(" ")); * (!J2S.thisApplet.__Info.args || J2S.thisApplet.__Info.args * == "" || J2S.thisApplet.__Info.args == "??") && - * (J2S.thisApplet.__Info.args = a) && (System.out.println("URL + * (J2S.thisApplet.__Info.args = a) && (jalview.bin.Console.outPrintln("URL * arguments were passed to J2S main.")); */ } catch (Throwable t)