diff options
author | Jiri Vanek <[email protected]> | 2013-11-25 16:54:23 +0100 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-11-25 16:54:23 +0100 |
commit | b8da03fd7a7aac183acebf7ccd26196ccafca9bc (patch) | |
tree | 945106c698d36e154761be126d24fd53848bccd7 /netx | |
parent | 18e9c2de7a762336e0b558f3007340d5eb2e9e44 (diff) |
Removed most of checks to no output from reproducers
Diffstat (limited to 'netx')
-rw-r--r-- | netx/net/sourceforge/jnlp/JNLPFile.java | 4 | ||||
-rw-r--r-- | netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/netx/net/sourceforge/jnlp/JNLPFile.java b/netx/net/sourceforge/jnlp/JNLPFile.java index 65c4538..acf510f 100644 --- a/netx/net/sourceforge/jnlp/JNLPFile.java +++ b/netx/net/sourceforge/jnlp/JNLPFile.java @@ -134,6 +134,8 @@ public class JNLPFile { /** important manifests' attributes */ private final ManifestsAttributes manifestsAttributes = new ManifestsAttributes(); + public static final String TITLE_NOT_FOUND = "Application title was not found in manifest. Check with application vendor"; + { // initialize defaults if security allows try { @@ -340,7 +342,7 @@ public class JNLPFile { public String getTitleFromManifest() { String inManifestTitle = getManifestsAttributes().getApplicationName(); if (inManifestTitle == null && getManifestsAttributes().isLoader()){ - OutputController.getLogger().log(OutputController.Level.WARNING_ALL,"Application title was not found in manifest. Check with application vendor"); + OutputController.getLogger().log(OutputController.Level.WARNING_ALL, TITLE_NOT_FOUND); } return inManifestTitle; } diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java index d3ba810..dc1989a 100644 --- a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java +++ b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java @@ -344,7 +344,7 @@ class JNLPSecurityManager extends AWTSecurityManager { if (app != null && window instanceof Window) { Window w = (Window) window; - OutputController.getLogger().log(OutputController.Level.ERROR_ALL, "SM: app: " + app.getTitle() + " is adding a window: " + window + " with appContext " + AppContext.getAppContext()); + OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "SM: app: " + app.getTitle() + " is adding a window: " + window + " with appContext " + AppContext.getAppContext()); weakWindows.add(w); // for mapping window -> app weakApplications.add(app); |