Skip to content

Commit 0def104

Browse files
committed
Fixed another error in string comparison
1 parent 5c097c0 commit 0def104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/EditorLineStatus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void set(int newStart, int newStop) {
9292

9393
public void paintComponent(Graphics graphics) {
9494
Graphics2D g = Theme.setupGraphics2D(graphics);
95-
if (name == "" && serialport == "") {
95+
if (name.isEmpty() && serialport.isEmpty()) {
9696
PreferencesMap boardPreferences = BaseNoGui.getBoardPreferences();
9797
if (boardPreferences != null)
9898
setBoardName(boardPreferences.get("name"));

0 commit comments

Comments
 (0)