]> git.uio.no Git - ifi-stolz-refaktor.git/commitdiff
added test failing on refactor and build
authorAnna <anna.eilertsen@student.uib.no>
Sat, 19 Dec 2015 13:19:06 +0000 (14:19 +0100)
committerAnna <anna.eilertsen@student.uib.no>
Sat, 19 Dec 2015 13:19:06 +0000 (14:19 +0100)
software/no.uio.ifi.refaktor.examples/examples/src/searchBased/Main.java

index 9820e6cc132b017d2cca45314a2a0bf4e623096e..55af917c69aa14b7607a961a3860b585809ff165 100644 (file)
@@ -110,4 +110,10 @@ public abstract class Main {
                }
        }
        
+       private void iHaveAScopeWithoutBrackets() {
+               if (b != null)
+                       if (b.c.isFoo())
+                               b.c.d = new D();
+       }
+       
 }
\ No newline at end of file