Made ManualSwitch non-final to make GUIManualSwitch possible
[Mograsim.git] / era.mi / src / era / mi / logic / Util.java
index 6aec884..0cd4b82 100644 (file)
@@ -85,16 +85,9 @@ public final class Util
        return out;
     }
     
-    public static Bit[] arrayOfZ(int length)
-    {
-    Bit[] out = new Bit[length];
-    Arrays.fill(out, Bit.Z);
-    return out;
-    }
-    
     /**
      * uses the {@link Bit#combineWith(Bit)} method, does not create a new array,
-     * the result is stored in the fist array.
+     * the result is stored in the first array.
      * 
      * @author Christian Femers
      */
@@ -110,6 +103,6 @@ public final class Util
 
     interface BitOp
     {
-       Bit execute(Bit a, Bit b);
+       Bit execute(Bit a, Bit b);
     }
 }