aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-06-27 11:55:03 +0200
committerMattias Andrée <maandree@operamail.com>2013-06-27 11:55:03 +0200
commit2f9a5998cd7a3422cf836a40201ab6db288fde84 (patch)
tree906d2e59767ce8d191c3bab9ab7e7516813e30fe /src
parentfix get parentName in java version (diff)
downloadargparser-2f9a5998cd7a3422cf836a40201ab6db288fde84.tar.gz
argparser-2f9a5998cd7a3422cf836a40201ab6db288fde84.tar.bz2
argparser-2f9a5998cd7a3422cf836a40201ab6db288fde84.tar.xz
option classes in java version can be static and should hence be so
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/ArgParser.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ArgParser.java b/src/ArgParser.java
index efb5f5d..c063b37 100644
--- a/src/ArgParser.java
+++ b/src/ArgParser.java
@@ -194,7 +194,7 @@ public class ArgParser
/**
* Option class
*/
- public class Option
+ public static class Option
{
/**
* Constructor
@@ -237,7 +237,7 @@ public class ArgParser
/**
* Option takes no arguments
*/
- public class Argumentless extends Option
+ public static class Argumentless extends Option
{
/**
* Constructor
@@ -273,7 +273,7 @@ public class ArgParser
/**
* Option takes one argument per instance
*/
- public class Argumented extends Option
+ public static class Argumented extends Option
{
/**
* Constructor
@@ -344,7 +344,7 @@ public class ArgParser
/**
* Option consumes all following arguments
*/
- public class Variadic extends Argumented
+ public static class Variadic extends Argumented
{
/**
* Constructor