@@ -144,8 +144,8 @@ private void deleteStep() {
144
144
145
145
@ FXML
146
146
private void moveStepLeft () {
147
- for (InputSocketController input : inputSockets ){
148
- if (!inputSocketMapManager .containsKey (input )){
147
+ for (InputSocketController input : inputSockets ) {
148
+ if (!inputSocketMapManager .containsKey (input )) {
149
149
inputSocketMapManager .add (input );
150
150
}
151
151
}
@@ -154,27 +154,27 @@ private void moveStepLeft() {
154
154
155
155
@ FXML
156
156
private void moveStepRight () {
157
- for (InputSocketController input : inputSockets ){
158
- if (input .getSocket ().getConnections ().isEmpty ()){
157
+ for (InputSocketController input : inputSockets ) {
158
+ if (input .getSocket ().getConnections ().isEmpty ()) {
159
159
inputSocketMapManager .remove (input );
160
160
}
161
161
}
162
162
//pipeline.moveStep(step, +1);
163
163
}
164
164
165
165
@ FXML
166
- private void expand (){
167
- if (expanded ){
168
- for (InputSocketController input : inputSockets ){
169
- if (input .getSocket ().getConnections ().isEmpty ()) {
166
+ private void expand () {
167
+ if (expanded ) {
168
+ for (InputSocketController input : inputSockets ) {
169
+ if (input .getSocket ().getConnections ().isEmpty ()) {
170
170
inputSocketMapManager .remove (input );
171
171
}
172
172
}
173
173
expandIcon .setImage (new Image ("/edu/wpi/grip/ui/icons/down.png" ));
174
174
expanded = false ;
175
175
} else {
176
- for (InputSocketController input : inputSockets ){
177
- if (!inputSocketMapManager .containsKey (input )){
176
+ for (InputSocketController input : inputSockets ) {
177
+ if (!inputSocketMapManager .containsKey (input )) {
178
178
inputSocketMapManager .add (input );
179
179
}
180
180
}
0 commit comments