]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.linking.ui/src/org/simantics/document/linking/report/templates/custom/EvaluatorCustomizableContent.java
Externalize org.simantics.document.linking.ui
[simantics/platform.git] / bundles / org.simantics.document.linking.ui / src / org / simantics / document / linking / report / templates / custom / EvaluatorCustomizableContent.java
index 7394154662ae18e7a0538b6acef0d39564e4d999..dbc02e72ce9cc9e82de9da85934fc8fa7673b4a1 100644 (file)
@@ -34,7 +34,7 @@ public class EvaluatorCustomizableContent implements CustomizableContent{
        public String getContent(ReadGraph graph, Resource resource, Map<Object, Object> context)
                        throws DatabaseException {
                if (!SourceLinkUtil.isValidReference(graph, resource))
-                       return "Deleted reference";
+                       return "Deleted reference"; //$NON-NLS-1$
                Variable variable = graph.adapt(resource, Variable.class);
                return item.getValue(graph, variable,context);
        }
@@ -43,7 +43,7 @@ public class EvaluatorCustomizableContent implements CustomizableContent{
        public List<DocumentLine> getLines(ReadGraph graph, Resource resource, Map<Object, Object> context)
                        throws DatabaseException {
                if (!SourceLinkUtil.isValidReference(graph, resource))
-                       return Collections.singletonList(new DocumentLine("Deleted reference"));
+                       return Collections.singletonList(new DocumentLine("Deleted reference")); //$NON-NLS-1$
                Variable variable = graph.adapt(resource, Variable.class);
                return item.getLines(graph, variable,context);
        }