summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalibor Topic <robilad@yahoo.com>2008-01-25 19:21:05 +0000
committerDalibor Topic <robilad@yahoo.com>2008-01-25 19:21:05 +0000
commite54ead0fc65afe24fed98fc64bdce54cc4d750f1 (patch)
treeb45208cd8d51e810d847d959d03b540e07f65350
parentc619e738452285f37689ac2d73d14dfd7042948b (diff)
downloadclasspath-libgcj-import-20080128.tar.gz
reversal of reversedlibgcj-import-20080128
2008-01-25 Dalibor Topic <robilad@kaffe.org> * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (createParser): Removed unused reversed misspelling. Use Native2ASCII.ReverseHelp instead of Native2ASCII.ReversedHelp. * resource/gnu/classpath/tools/native2ascii/messages.properties (Native2ASCII.ReverseHelp): New, renamed from ... (Native2ASCII.ReversedHelp): Removed. (Native2ASCII.ReversedHelpCompat): Removed.
-rw-r--r--ChangeLog11
-rw-r--r--resource/gnu/classpath/tools/native2ascii/messages.properties4
-rw-r--r--tools/gnu/classpath/tools/native2ascii/Native2ASCII.java12
3 files changed, 14 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 3699bc30c..79b0081a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2008-01-25 Dalibor Topic <robilad@kaffe.org>
+
+ * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
+ (createParser): Removed unused "reversed" misspelling. Use
+ Native2ASCII.ReverseHelp instead of Native2ASCII.ReversedHelp.
+
+ * resource/gnu/classpath/tools/native2ascii/messages.properties
+ (Native2ASCII.ReverseHelp): New, renamed from ...
+ (Native2ASCII.ReversedHelp): Removed.
+ (Native2ASCII.ReversedHelpCompat): Removed.
+
2008-01-24 Tom Tromey <tromey@redhat.com>
* resource/gnu/classpath/tools/native2ascii/messages.properties
diff --git a/resource/gnu/classpath/tools/native2ascii/messages.properties b/resource/gnu/classpath/tools/native2ascii/messages.properties
index fe2d10ae3..f04d184f2 100644
--- a/resource/gnu/classpath/tools/native2ascii/messages.properties
+++ b/resource/gnu/classpath/tools/native2ascii/messages.properties
@@ -40,5 +40,5 @@ Native2ASCII.Usage=Usage: native2ascii [OPTIONS]... [INPUTFILE [OUTPUTFILE]]
Native2ASCII.EncodingHelp=encoding to use
Native2ASCII.EncodingArgName=NAME
Native2ASCII.EncodingSpecified=encoding already specified
-Native2ASCII.ReversedHelp=convert from encoding to native
-Native2ASCII.ReversedHelpCompat=alias for -reverse (deprecated)
+Native2ASCII.ReverseHelp=convert from encoding to native
+
diff --git a/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java b/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
index 0667befc6..b7752d9b3 100644
--- a/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
+++ b/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
@@ -101,17 +101,7 @@ public class Native2ASCII
encoding = argument;
}
});
- result.add(new Option("reverse", Messages.getString("Native2ASCII.ReversedHelp")) //$NON-NLS-1$ //$NON-NLS-2$
- {
- public void parsed(String argument) throws OptionException
- {
- reversed = true;
- }
- });
-
- // We mistakenly added the extra "d" in "reversed"; now we don't
- // want to remove it, for backward compatibility.
- result.add(new Option("reversed", Messages.getString("Native2ASCII.ReversedHelpCompat")) //$NON-NLS-1$ //$NON-NLS-2$
+ result.add(new Option("reverse", Messages.getString("Native2ASCII.ReverseHelp")) //$NON-NLS-1$ //$NON-NLS-2$
{
public void parsed(String argument) throws OptionException
{