projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactored BitVector and added test cases
[Mograsim.git]
/
net.mograsim.logic.core
/
src
/
net
/
mograsim
/
logic
/
core
/
components
/
Mux.java
diff --git
a/net.mograsim.logic.core/src/net/mograsim/logic/core/components/Mux.java
b/net.mograsim.logic.core/src/net/mograsim/logic/core/components/Mux.java
index
5e75f96
..
47fe164
100644
(file)
--- a/
net.mograsim.logic.core/src/net/mograsim/logic/core/components/Mux.java
+++ b/
net.mograsim.logic.core/src/net/mograsim/logic/core/components/Mux.java
@@
-82,7
+82,7
@@
public class Mux extends BasicComponent
@Override
public List<ReadEnd> getAllInputs()
{
@Override
public List<ReadEnd> getAllInputs()
{
- ArrayList<ReadEnd> wires = new ArrayList<
ReadEnd
>(Arrays.asList(inputs));
+ ArrayList<ReadEnd> wires = new ArrayList<>(Arrays.asList(inputs));
wires.add(select);
return Collections.unmodifiableList(wires);
}
wires.add(select);
return Collections.unmodifiableList(wires);
}