aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/JNLPFile.java
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net/sourceforge/jnlp/JNLPFile.java')
-rw-r--r--netx/net/sourceforge/jnlp/JNLPFile.java4
1 files changed, 3 insertions, 1 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;
}