From b8da03fd7a7aac183acebf7ccd26196ccafca9bc Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Mon, 25 Nov 2013 16:54:23 +0100 Subject: Removed most of checks to no output from reproducers --- netx/net/sourceforge/jnlp/JNLPFile.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'netx/net/sourceforge/jnlp/JNLPFile.java') 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; } -- cgit v1.2.3