]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/FunctionHandler.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.issues.ui / src / org / simantics / issues / ui / handler / FunctionHandler.java
index 38b2c93e285ee4abaa5c4348e4e682851bdcf5a0..50251754f3d6d1e33c0b9b6d7626483ec3ea222f 100644 (file)
@@ -63,14 +63,14 @@ class FunctionHandler extends PreferenceHandler {
         }
         if (!hiders.isEmpty()) {
             SCLContext ctx = SCLContext.getCurrent();
-            Object oldGraph = ctx.put("graph", graph);
+            Object oldGraph = ctx.put("graph", graph); //$NON-NLS-1$
             try {
                 for (Function f : hiders)
                     f.apply(argument);
             } catch (Throwable t) {
                 throw new DatabaseException(t);
             } finally {
-                ctx.put("graph", oldGraph);
+                ctx.put("graph", oldGraph); //$NON-NLS-1$
             }
         }
     }