From 2f9a5998cd7a3422cf836a40201ab6db288fde84 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 27 Jun 2013 11:55:03 +0200 Subject: option classes in java version can be static and should hence be so MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/ArgParser.java | 8 ++++---- 1 file 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 -- cgit v1.2.3-70-g09d2