File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
core/src/main/java/edu/wpi/grip/core/sources
ui/src/main/java/edu/wpi/grip/ui/preview Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public final class CameraSource extends Source implements StartStoppable {
5050 */
5151 public CameraSource (EventBus eventBus , int deviceNumber ) throws IOException {
5252 this ();
53- this .properties .setProperty (DEVICE_NUMBER_PROPERTY , "" + deviceNumber );
53+ this .properties .setProperty (DEVICE_NUMBER_PROPERTY , Integer . toString ( deviceNumber ) );
5454 this .createFromProperties (eventBus , this .properties );
5555 }
5656
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public void onSocketChanged(SocketChangedEvent event) {
5555 }
5656
5757 private void updateTextFields () {
58- this .x .setText ("" + this .getSocket ().getValue ().get ().get (0 ));
59- this .y .setText ("" + this .getSocket ().getValue ().get ().get (1 ));
58+ this .x .setText (Integer . toString ( this .getSocket ().getValue ().get ().get (0 ) ));
59+ this .y .setText (Integer . toString ( this .getSocket ().getValue ().get ().get (1 ) ));
6060 }
6161}
You can’t perform that action at this time.
0 commit comments