|
|
52fb2b |
diff --git a/args4j/src/org/kohsuke/args4j/ClassParser.java b/args4j/src/org/kohsuke/args4j/ClassParser.java
|
|
|
52fb2b |
index 1f25aa3..047415e 100644
|
|
|
52fb2b |
--- a/args4j/src/org/kohsuke/args4j/ClassParser.java
|
|
|
52fb2b |
+++ b/args4j/src/org/kohsuke/args4j/ClassParser.java
|
|
|
52fb2b |
@@ -11,7 +11,7 @@
|
|
|
52fb2b |
*
|
|
|
52fb2b |
* This can be used to feed option bindings that span across multiple instances.
|
|
|
52fb2b |
*
|
|
|
52fb2b |
- * @author Jan Mat�rne
|
|
|
52fb2b |
+ * @author Jan Materne
|
|
|
52fb2b |
*/
|
|
|
52fb2b |
public class ClassParser {
|
|
|
52fb2b |
public void parse(Object bean, CmdLineParser parser) {
|
|
|
52fb2b |
diff --git a/args4j/src/org/kohsuke/args4j/Config.java b/args4j/src/org/kohsuke/args4j/Config.java
|
|
|
52fb2b |
index bf594b6..0aa5888 100644
|
|
|
52fb2b |
--- a/args4j/src/org/kohsuke/args4j/Config.java
|
|
|
52fb2b |
+++ b/args4j/src/org/kohsuke/args4j/Config.java
|
|
|
52fb2b |
@@ -17,7 +17,7 @@
|
|
|
52fb2b |
* Metadataconfiguration.
|
|
|
52fb2b |
* This class holds all metadata for a class, mainly a list of @Options and @Arguments.
|
|
|
52fb2b |
*
|
|
|
52fb2b |
- * @author Jan Mat�rne
|
|
|
52fb2b |
+ * @author Jan Materne
|
|
|
52fb2b |
*/
|
|
|
52fb2b |
public class Config {
|
|
|
52fb2b |
|
|
|
52fb2b |
@@ -31,7 +31,7 @@
|
|
|
52fb2b |
/**
|
|
|
52fb2b |
* The ConfigElement is an <tt><option></tt> or <tt><argument></tt> tag
|
|
|
52fb2b |
* in the xml configuration file.
|
|
|
52fb2b |
- * @author Jan Mat�rne
|
|
|
52fb2b |
+ * @author Jan Materne
|
|
|
52fb2b |
*/
|
|
|
52fb2b |
public class ConfigElement {
|
|
|
52fb2b |
public String field;
|
|
|
52fb2b |
@@ -54,7 +54,7 @@ public boolean isInvalid() {
|
|
|
52fb2b |
|
|
|
52fb2b |
/**
|
|
|
52fb2b |
* SAX-Handler for reading the configuration file.
|
|
|
52fb2b |
- * @author Jan Mat�rne
|
|
|
52fb2b |
+ * @author Jan Materne
|
|
|
52fb2b |
*/
|
|
|
52fb2b |
public class ConfigHandler extends DefaultHandler {
|
|
|
52fb2b |
public ConfigHandler(Config config) {
|
|
|
52fb2b |
diff --git a/args4j/src/org/kohsuke/args4j/Messages_de_DE.properties b/args4j/src/org/kohsuke/args4j/Messages_de_DE.properties
|
|
|
52fb2b |
index ab51cee..8483207 100644
|
|
|
52fb2b |
--- a/args4j/src/org/kohsuke/args4j/Messages_de_DE.properties
|
|
|
52fb2b |
+++ b/args4j/src/org/kohsuke/args4j/Messages_de_DE.properties
|
|
|
52fb2b |
@@ -1,17 +1,25 @@
|
|
|
52fb2b |
+# Unicode for Umlauts
|
|
|
52fb2b |
+# Ae, ae \u00c4, \u00e4
|
|
|
52fb2b |
+# Oe, oe \u00d6, \u00f6
|
|
|
52fb2b |
+# Ue, ue \u00dc, \u00fc
|
|
|
52fb2b |
+# ss \u00df
|
|
|
52fb2b |
+
|
|
|
52fb2b |
+
|
|
|
52fb2b |
+
|
|
|
52fb2b |
MISSING_OPERAND = \
|
|
|
52fb2b |
- Option "{0}" ben�tigt einen Operanden
|
|
|
52fb2b |
+ Option "{0}" ben\u00f6tigt einen Operanden
|
|
|
52fb2b |
|
|
|
52fb2b |
UNDEFINED_OPTION = \
|
|
|
52fb2b |
- "{0}" ist keine g�ltige Option
|
|
|
52fb2b |
+ "{0}" ist keine g\u00fcltige Option
|
|
|
52fb2b |
|
|
|
52fb2b |
NO_ARGUMENT_ALLOWED = \
|
|
|
52fb2b |
Kein Argument erlaubt: {0}
|
|
|
52fb2b |
|
|
|
52fb2b |
REQUIRED_OPTION_MISSING = \
|
|
|
52fb2b |
- Option "{0}" wird ben�tigt
|
|
|
52fb2b |
+ Option "{0}" wird ben\u00f6tigt
|
|
|
52fb2b |
|
|
|
52fb2b |
REQUIRED_ARGUMENT_MISSING = \
|
|
|
52fb2b |
- Argument "{0}" wird ben�tigt
|
|
|
52fb2b |
+ Argument "{0}" wird ben\u00f6tigt
|
|
|
52fb2b |
|
|
|
52fb2b |
TOO_MANY_ARGUMENTS = \
|
|
|
52fb2b |
Zu viele Argumente: {0}
|
|
|
52fb2b |
diff --git a/args4j/src/org/kohsuke/args4j/XmlParser.java b/args4j/src/org/kohsuke/args4j/XmlParser.java
|
|
|
52fb2b |
index d4fd9b6..eb51bb9 100644
|
|
|
52fb2b |
--- a/args4j/src/org/kohsuke/args4j/XmlParser.java
|
|
|
52fb2b |
+++ b/args4j/src/org/kohsuke/args4j/XmlParser.java
|
|
|
52fb2b |
@@ -37,7 +37,7 @@
|
|
|
52fb2b |
* <args>
|
|
|
52fb2b |
*
|
|
|
52fb2b |
*
|
|
|
52fb2b |
- * @author Jan Mat�rne
|
|
|
52fb2b |
+ * @author Jan Materne
|
|
|
52fb2b |
*/
|
|
|
52fb2b |
public class XmlParser {
|
|
|
52fb2b |
public void parse(URL xml, CmdLineParser parser, Object bean) {
|
|
|
52fb2b |
diff -up args4j-2.0.16/args4j/src/org/kohsuke/args4j/XmlParser.java~ args4j-2.0.16/args4j/src/org/kohsuke/args4j/XmlParser.java
|
|
|
52fb2b |
--- args4j-2.0.16/args4j/src/org/kohsuke/args4j/XmlParser.java~ 2012-02-01 00:25:06.619059734 +0200
|
|
|
52fb2b |
+++ args4j-2.0.16/args4j/src/org/kohsuke/args4j/XmlParser.java 2012-02-01 00:28:06.611756117 +0200
|
|
|
52fb2b |
@@ -95,7 +95,7 @@ public class XmlParser {
|
|
|
52fb2b |
|
|
|
52fb2b |
/**
|
|
|
52fb2b |
* Implementation of @Option so we can instantiate it.
|
|
|
52fb2b |
- * @author Jan Mat�rne
|
|
|
52fb2b |
+ * @author Jan Materne
|
|
|
52fb2b |
*/
|
|
|
52fb2b |
class OptionImpl extends AnnotationImpl implements Option {
|
|
|
52fb2b |
protected OptionImpl(ConfigElement ce) throws ClassNotFoundException {
|
|
|
52fb2b |
@@ -111,7 +111,7 @@ public class XmlParser {
|
|
|
52fb2b |
|
|
|
52fb2b |
/**
|
|
|
52fb2b |
* Implementation of @Argument so we can instantiate it.
|
|
|
52fb2b |
- * @author Jan Mat�rne
|
|
|
52fb2b |
+ * @author Jan Materne
|
|
|
52fb2b |
*/
|
|
|
52fb2b |
class ArgumentImpl extends AnnotationImpl implements Argument {
|
|
|
52fb2b |
protected ArgumentImpl(ConfigElement ce) throws ClassNotFoundException {
|
|
|
52fb2b |
@@ -122,7 +122,7 @@ public class XmlParser {
|
|
|
52fb2b |
|
|
|
52fb2b |
/**
|
|
|
52fb2b |
* Base class for the @Option and @Argument implementation classes.
|
|
|
52fb2b |
- * @author Jan Mat�rne
|
|
|
52fb2b |
+ * @author Jan Materne
|
|
|
52fb2b |
*/
|
|
|
52fb2b |
class AnnotationImpl {
|
|
|
52fb2b |
protected AnnotationImpl(ConfigElement ce) throws ClassNotFoundException {
|