package org.uma.jmetal.problem.multiobjective.dtlz;

/**
 * Class representing problem DTLZ7
 */
@SuppressWarnings("serial")
public class DTLZ7_2D extends DTLZ7 {
  /**
   * Creates a DTLZ7 instance with two objectives (22 variables and 2 objectives)
   */
  public DTLZ7_2D() {
    super(22, 3);
  }
}

package org.uma.jmetal.problem.multiobjective.dtlz;

/**
 * Class representing problem DTLZ7
 */
@SuppressWarnings("serial")
public class DTLZ7_2D extends DTLZ7 {
  /**
   * Creates a DTLZ7 instance with two objectives (22 variables and 2 objectives)
   */
  public DTLZ7_2D() {
    super(22, 2);
  }
}

Update DTLZ7_2D.java