add getConstant(String) methods to FleetTwoFleet implementations
[fleet.git] / src / edu / berkeley / fleet / two / ShipDescription.java
index 182eed7..6752e70 100644 (file)
@@ -51,8 +51,7 @@ public class ShipDescription implements Iterable<DockDescription> {
 
     public BitVector getConstant(String name) {
         BitVector c = constants.get(name);
-        if (c==null)
-            throw new RuntimeException("unknown constant " + name);
+        if (c==null) throw new RuntimeException("unknown constant " + name);
         return c;
     }