File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
ui/src/main/java/edu/wpi/grip/ui/pipeline Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 4
4
import edu .wpi .grip .core .Step ;
5
5
import edu .wpi .grip .core .sockets .InputSocket ;
6
6
import edu .wpi .grip .core .sockets .OutputSocket ;
7
- import edu .wpi .grip .core .sockets .Socket ;
8
7
import edu .wpi .grip .core .sockets .SocketHint ;
9
8
import edu .wpi .grip .ui .Controller ;
10
9
import edu .wpi .grip .ui .annotations .ParametrizedController ;
@@ -96,7 +95,7 @@ private void initialize() {
96
95
97
96
if (step .getInputSockets ().stream ()
98
97
.allMatch (inputSocket -> inputSocket .getSocketHint ().getView ()
99
- .equals (SocketHint .View .NONE ))){
98
+ .equals (SocketHint .View .NONE ))) {
100
99
expand .setManaged (false );
101
100
} else {
102
101
expandIcon .setImage (new Image ("/edu/wpi/grip/ui/icons/up.png" ));
@@ -106,7 +105,7 @@ private void initialize() {
106
105
for (InputSocket <?> inputSocket : step .getInputSockets ()) {
107
106
InputSocketController tempSocket = inputSocketControllerFactory .create (inputSocket );
108
107
inputSocketMapManager .add (tempSocket );
109
- if (!inputSocket .getSocketHint ().getView ().equals (SocketHint .View .NONE )) {
108
+ if (!inputSocket .getSocketHint ().getView ().equals (SocketHint .View .NONE )) {
110
109
inputSockets .add (tempSocket );
111
110
}
112
111
}
You can’t perform that action at this time.
0 commit comments