code cleanup and formatting
[meviz.git] / src / main / java / eu / svjatoslav / meviz / encoder / BitrateParameter.java
index ec88b61..30a6712 100755 (executable)
@@ -14,32 +14,32 @@ import eu.svjatoslav.commons.commandline.parameterparser.Parameter;
 
 public class BitrateParameter extends Parameter<BitrateParameter> {
 
-       static public enum bitrate {
-               NONE, LOW, MEDIUM, HIGH, COPY
-       }
-
-       public BitrateParameter(final String description) {
-               super(description, ArgumentCount.SINGLE);
-       }
-
-       @Override
-       public String describeFormat() {
-               return "Target bitrate [NONE / LOW / MEDIUM / HIGH / COPY ]";
-       };
-
-       @Override
-       public bitrate getValue() {
-               return bitrate.valueOf(arguments.get(0).toUpperCase());
-       }
-
-       @Override
-       public boolean validate(final String value) {
-               try {
-                       bitrate.valueOf(value.toUpperCase());
-               } catch (final IllegalArgumentException exception) {
-                       return false;
-               }
-
-               return true;
-       }
+    public BitrateParameter(final String description) {
+        super(description, ArgumentCount.SINGLE);
+    }
+
+    @Override
+    public String describeFormat() {
+        return "Target bitrate [NONE / LOW / MEDIUM / HIGH / COPY ]";
+    }
+
+    @Override
+    public bitrate getValue() {
+        return bitrate.valueOf(arguments.get(0).toUpperCase());
+    }
+
+    @Override
+    public boolean validate(final String value) {
+        try {
+            bitrate.valueOf(value.toUpperCase());
+        } catch (final IllegalArgumentException exception) {
+            return false;
+        }
+
+        return true;
+    }
+
+    public enum bitrate {
+        NONE, LOW, MEDIUM, HIGH, COPY
+    }
 }