package org.uma.jmetal.problem.impl;

import org.uma.jmetal.problem.Problem;
import org.uma.jmetal.solution.Solution;

public abstract class AbstractGenericProblem<S extends Solution<?>> implements Problem<S> {
	private int numberOfVariables = 0 ;
  private int numberOfObjectives = 0 ;
  private int numberOfConstraints = 0 ;
  private String name = null ;

  /* Getters */
	@Override
	public int getNumberOfVariables() {
		return numberOfVariables ;
	}

	@Override
	public int getNumberOfObjectives() {
		return numberOfObjectives ;
	}

  @Override
  public int getNumberOfConstraints() {
    return numberOfConstraints ;
  }

	@Override
	public String getName() {
		return name ;
	}

  /* Setters */
  protected void setNumberOfVariables(int numberOfVariables) {
    this.numberOfVariables = numberOfVariables;
  }

  protected void setNumberOfObjectives(int numberOfObjectives) {
    this.numberOfObjectives = numberOfObjectives;
  }

  protected void setNumberOfConstraints(int numberOfConstraints) {
    this.numberOfConstraints = numberOfConstraints;
  }

  protected void setName(String name) {
    this.name = name;
  }
}

@@ -204,17 +204,18 @@
 em%3CS%3E %7B%0A
-%09
+  
 private 
@@ -369,17 +369,18 @@
 ters */%0A
-%09
+  
 @Overrid
@@ -373,33 +373,34 @@
  */%0A  @Override%0A
-%09
+  
 public int getNu
@@ -415,26 +415,28 @@
 riables() %7B%0A
-%09%09
+    
 return numbe
@@ -454,13 +454,15 @@
 s ;%0A
-%09%7D%0A%0A%09
+  %7D%0A%0A  
 @Ove
@@ -463,25 +463,26 @@
   @Override%0A
-%09
+  
 public int g
@@ -502,26 +502,28 @@
 ectives() %7B%0A
-%09%09
+    
 return numbe
@@ -538,17 +538,18 @@
 tives ;%0A
-%09
+  
 %7D%0A%0A  @Ov
@@ -633,17 +633,18 @@
  ;%0A  %7D%0A%0A
-%09
+  
 @Overrid
@@ -645,17 +645,18 @@
 verride%0A
-%09
+  
 public S
@@ -677,10 +677,12 @@
 ) %7B%0A
-%09%09
+    
 retu
@@ -695,9 +695,10 @@
 e ;%0A
-%09
+  
 %7D%0A%0A 

Fix indentation