Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public final class CameraSource extends Source implements StartStoppable {
*/
public CameraSource(EventBus eventBus, int deviceNumber) throws IOException {
this();
this.properties.setProperty(DEVICE_NUMBER_PROPERTY, "" + deviceNumber);
this.properties.setProperty(DEVICE_NUMBER_PROPERTY, Integer.toString(deviceNumber));
this.createFromProperties(eventBus, this.properties);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void onSocketChanged(SocketChangedEvent event) {
}

private void updateTextFields() {
this.x.setText("" + this.getSocket().getValue().get().get(0));
this.y.setText("" + this.getSocket().getValue().get().get(1));
this.x.setText(Integer.toString(this.getSocket().getValue().get().get(0)));
this.y.setText(Integer.toString(this.getSocket().getValue().get().get(1)));
}
}