projects
/
fleet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add getConstant(String) methods to FleetTwoFleet implementations
[fleet.git]
/
src
/
edu
/
berkeley
/
fleet
/
two
/
ShipDescription.java
diff --git
a/src/edu/berkeley/fleet/two/ShipDescription.java
b/src/edu/berkeley/fleet/two/ShipDescription.java
index
182eed7
..
6752e70
100644
(file)
--- a/
src/edu/berkeley/fleet/two/ShipDescription.java
+++ b/
src/edu/berkeley/fleet/two/ShipDescription.java
@@
-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;
}