/hg/icedtea-web: Fix warning message for itweb-settings set
omajid at icedtea.classpath.org
omajid at icedtea.classpath.org
Wed Mar 2 07:09:36 PST 2011
changeset 36ee2caa60d0 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=36ee2caa60d0
author: Omair Majid <omajid at redhat.com>
date: Wed Mar 02 10:09:07 2011 -0500
Fix warning message for itweb-settings set
2011-03-02 Omair Majid <omajid at redhat.com>
* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
(handleSetCommand): Fix warning message.
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
CLWarningUnknownProperty.
diffstat:
1 file changed, 5 insertions(+)
ChangeLog | 5 +++++
diffs (37 lines):
diff -r 11696140595f -r 36ee2caa60d0 ChangeLog
--- a/ChangeLog Tue Mar 01 18:22:17 2011 -0500
+++ b/ChangeLog Wed Mar 02 10:09:07 2011 -0500
@@ -1,3 +1,10 @@ 2011-03-01 Omair Majid <omajid at redhat.
+2011-03-02 Omair Majid <omajid at redhat.com>
+
+ * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
+ (handleSetCommand): Fix warning message.
+ * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
+ CLWarningUnknownProperty.
+
2011-03-01 Omair Majid <omajid at redhat.com>
* netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java (isSystemJar): Check
diff -r 11696140595f -r 36ee2caa60d0 netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
--- a/netx/net/sourceforge/jnlp/controlpanel/CommandLine.java Tue Mar 01 18:22:17 2011 -0500
+++ b/netx/net/sourceforge/jnlp/controlpanel/CommandLine.java Wed Mar 02 10:09:07 2011 -0500
@@ -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 -r 11696140595f -r 36ee2caa60d0 netx/net/sourceforge/jnlp/resources/Messages.properties
--- a/netx/net/sourceforge/jnlp/resources/Messages.properties Tue Mar 01 18:22:17 2011 -0500
+++ b/netx/net/sourceforge/jnlp/resources/Messages.properties Wed Mar 02 10:09:07 2011 -0500
@@ -403,6 +403,7 @@ CLDescription=Description: {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
More information about the distro-pkg-dev
mailing list