Aufgaben zu Refaktoring (II)

Refactoring-Unterst├╝tzung in Eclipse:

package simple;

public class Cube {
    static void main (String [] argv) {
        System.out.println (3.0 + " " + 6 * 3.0 * 3.0);
        System.out.println (5.5 + " " + 6 * 5.5 * 5.5);
    }
}
extract local variable, extract method, add parameter, ...



Johannes Waldmann 2014-07-10