Removed some more warnings and cleaned more SWT listeners
[Mograsim.git] / plugins / net.mograsim.plugin.core / src / net / mograsim / plugin / asm / editor / AsmReconcilerStrategy.java
index a3253a4..388366f 100644 (file)
@@ -153,11 +153,13 @@ public class AsmReconcilerStrategy implements IReconcilingStrategy, IReconciling
                                                searchingFor = SearchingFor.START_OF_TAG;
                                        }
                                        break;
+                               default:
+                                       throw new IllegalStateException("Unknown enum type: " + searchingFor);
                                }
                                currentCharIndex++;
                        }
                }
-               catch (BadLocationException e)
+               catch (@SuppressWarnings("unused") BadLocationException e)
                {
                        // skip the remainder of file due to error
                }