package graph;

/**
 * Created by Paweł Kopeć on 17.03.17.
 *
 * Graph subclass that enables to take control over
 * whether graph is regular.
 */
public interface RegularGraph extends Graph {

    static RegularGraph getInstance(int verticesNumber, int degree) {
        System.out.println("O huj chodzi");
        return null;
    }

    int getDegree();

    boolean isRegular();
}

@@ -191,150 +191,8 @@
  %7B%0A%0A
-    static RegularGraph getInstance(int verticesNumber, int degree) %7B%0A        System.out.println(%22O huj chodzi%22);%0A        return null;%0A    %7D%0A%0A
     

remove unnecessary method