Просмотр исходного кода

Remove unused methods from Options

Philipp Bauch 6 лет назад
Родитель
Сommit
9765a5d4f1
1 измененных файлов с 0 добавлено и 19 удалено
  1. 0 19
      jplag/src/main/java/jplag/options/Options.java

+ 0 - 19
jplag/src/main/java/jplag/options/Options.java

@@ -20,8 +20,6 @@ import java.util.List;
  *  
  */
 public abstract class Options {
-	protected String langs = "jplag.options.util.messages_en";
-
 	protected boolean suffixes_set = false;
 
 	protected boolean min_token_match_set = false;
@@ -85,8 +83,6 @@ public abstract class Options {
 
 	public String result_dir = "result";
 
-	public String helper[] = new String[1];
-
 	public static final int COMPMODE_NORMAL = 0;
 	public static final int COMPMODE_REVISION = 1;
 
@@ -178,10 +174,6 @@ public abstract class Options {
 					SUBMISSION_ABORTED);
 	}
 
-	public void setState(int state) {
-		this.state = state;
-	}
-
 	public abstract void initializeSecondStep(Program program)
 			throws jplag.ExitException;
 
@@ -238,17 +230,6 @@ public abstract class Options {
 		throw new jplag.ExitException("printAllLanguages exited");
 	}
 
-	public String getClusterTyp() {
-		if (this.clusterType == MIN_CLUSTER)
-			return "min";
-		else if (this.clusterType == MAX_CLUSTER)
-			return "max";
-		else if (this.clusterType == AVR_CLUSTER)
-			return "avr";
-		else
-			return "";
-	}
-
 	public String getCountryTag() {
 		return this.countryTag;
 	}