OSDN Git Service

Cleanup compiler warning messages and alter backup & restore to handle new database...
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / dialog / SpellCheck.java
index 17bac03..cbc4c87 100644 (file)
@@ -158,18 +158,21 @@ public class SpellCheck extends QDialog {
                        return;\r
                }\r
                \r
+               @SuppressWarnings("unchecked")\r
                List<Word> values = checker.getSuggestions(replacementWord.text(), 10);\r
                for (int i=0; i<values.size(); i++) {\r
                        suggestions.addItem(values.get(i).toString());\r
                }\r
        }\r
        \r
+       @SuppressWarnings("unused")\r
        private void replacementChosen() {\r
                String sel = suggestions.currentItem().text();\r
                replacementWord.setText(sel);\r
        }\r
        \r
        //Add an item to the dictionary\r
+       @SuppressWarnings("unused")\r
        private void addToDictionaryButtonPressed() {\r
                checker.addToDictionary(misspelledWord);\r
                this.close();\r