]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/chart/property/TimePropertyFactory.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / chart / property / TimePropertyFactory.java
index 270f82d383c0500e9c858cc38cf3d970807588b6..597d7c6d3b776d6f2a0d39b01b205f4d0c8d01df 100644 (file)
@@ -39,7 +39,7 @@ public class TimePropertyFactory extends ReadFactoryImpl<Resource, String> {
     @Override
     public String perform(ReadGraph graph, Resource r) throws DatabaseException {
         Double value = graph.getPossibleRelatedAdapter(r, graph.getResource(propertyURI), Double.class);
-        if (value == null) return "";
+        if (value == null) return ""; //$NON-NLS-1$
        Format timeFormat = new TimeFormat(100, 3);
         return timeFormat.format(value);
     }