aboutsummaryrefslogtreecommitdiffstats
path: root/netx
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-03-02 10:09:07 -0500
committerOmair Majid <[email protected]>2011-03-02 10:09:07 -0500
commit7560f6cf836b6fccf72b9715447189caf2501570 (patch)
treed570a55ee05b4ae90cc0b762f56a0a5ab71c4140 /netx
parentfad20c1db5bf1f1f1a5d583a805d6c5d5553a439 (diff)
Fix warning message for itweb-settings set
2011-03-02 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java (handleSetCommand): Fix warning message. * netx/net/sourceforge/jnlp/resources/Messages.properties: Add CLWarningUnknownProperty.
Diffstat (limited to 'netx')
-rw-r--r--netx/net/sourceforge/jnlp/controlpanel/CommandLine.java2
-rw-r--r--netx/net/sourceforge/jnlp/resources/Messages.properties1
2 files changed, 2 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/controlpanel/CommandLine.java b/netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
index 8eb5fb7..825182d 100644
--- a/netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
+++ b/netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
@@ -225,7 +225,7 @@ public class CommandLine {
}
config.setProperty(key, value);
} else {
- System.out.println(R("CLUnknownProperty", value));
+ System.out.println(R("CLWarningUnknownProperty", key));
config.setProperty(key, value);
}
diff --git a/netx/net/sourceforge/jnlp/resources/Messages.properties b/netx/net/sourceforge/jnlp/resources/Messages.properties
index 8770b67..204509c 100644
--- a/netx/net/sourceforge/jnlp/resources/Messages.properties
+++ b/netx/net/sourceforge/jnlp/resources/Messages.properties
@@ -403,6 +403,7 @@ CLValueSource=Source: {0}
CLDescription=Description: {0}
CLUnknownCommand=Unknown command {0}
CLUnknownProperty=Unknown property-name "{0}"
+CLWarningUnknownProperty=WARNING: Unknown property name "{0}" - creating new property
CLNoIssuesFound=No issues found.
CLIncorrectValue=Property "{0}" has incorrect value "{1}". Possible values {2}.
CLListDescription=Shows a list of all property names and values that are in use by IcedTea-Web