package org.xander.katas;

import java.util.Arrays;

public class OneHundredDoors {
    private boolean[] listOfDoors = new boolean[100];

    public boolean[] checkAllDoors() {
        return Arrays.copyOf(listOfDoors, listOfDoors.length);
    }

    public void go(int j) {
        for (int i = 0 ; i < listOfDoors.length ; i = i + j ) {
            listOfDoors[i] = !listOfDoors[i];
        }
    }
}

@@ -291,17 +291,16 @@
 nt i = 0
- 
 ; i %3C li
@@ -315,17 +315,16 @@
 s.length
- 
 ; i = i 
@@ -326,17 +326,16 @@
  = i + j
- 
 ) %7B%0A    

Update OneHundredDoors.java