projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added more doc to Timeline; added functionality to Bit
[Mograsim.git]
/
era.mi
/
src
/
era
/
mi
/
logic
/
tests
/
Connector.java
diff --git
a/era.mi/src/era/mi/logic/tests/Connector.java
b/era.mi/src/era/mi/logic/tests/Connector.java
index
23ec1bc
..
fcdf6e8
100644
(file)
--- a/
era.mi/src/era/mi/logic/tests/Connector.java
+++ b/
era.mi/src/era/mi/logic/tests/Connector.java
@@
-15,7
+15,7
@@
public class Connector implements WireArrayObserver
public Connector(WireArray a, WireArray b)
{
if (a.length != b.length)
public Connector(WireArray a, WireArray b)
{
if (a.length != b.length)
- throw new IllegalArgumentException(
"WireArray width does not match: " + a.length + ", " + b.length
);
+ throw new IllegalArgumentException(
String.format("WireArray width does not match: %o, %o", a.length, b.length)
);
this.a = a;
this.b = b;
a.addObserver(this);
this.a = a;
this.b = b;
a.addObserver(this);