From 2f80cc189825a952203794cb4485e06b07923fc5 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Sun, 6 Nov 2016 21:05:33 +0100 Subject: [PATCH] Cross-JDK fixes --- SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java | 2 +- SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java b/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java index 161e76c..b6bb7ef 100644 --- a/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java +++ b/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java @@ -44,7 +44,7 @@ public class ListNote extends Note VBox box = new VBox(); box.setFillWidth(true); - TextField nameField = new TextField(); + final TextField nameField = new TextField(); HBox titleBox = new HBox(); { diff --git a/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java b/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java index f3fdb87..98dedca 100644 --- a/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java +++ b/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java @@ -37,7 +37,7 @@ public class TextNote extends Note VBox box = new VBox(); box.setFillWidth(true); - TextField nameField = new TextField(); + final TextField nameField = new TextField(); HBox titleBox = new HBox(); { @@ -100,7 +100,7 @@ public class TextNote extends Note } box.getChildren().add(nameField); - TextArea textArea = new TextArea(); + final TextArea textArea = new TextArea(); { textArea.setId("text"); textArea.setWrapText(true);