public static final IssueLabelRule INSTANCE = new IssueLabelRule();
- private static final String[] COLS = new String[] { ColumnKeys.SINGLE, "Resource", "Path" };
+ private static final String[] COLS = new String[] { ColumnKeys.SINGLE, Messages.IssueLabelRule_Resource, Messages.IssueLabelRule_Path };
public IssueLabelRule() {
}
public Map<String,String> getLabel(ReadGraph graph, Object content) throws DatabaseException {
Variable issue = (Variable)content;
- String description = StringUtils.safeString( (String) issue.getPossiblePropertyValue(graph, "HasDescription") );
- String resource = StringUtils.safeString( (String) issue.getPossiblePropertyValue(graph, "resource") );
- String path = StringUtils.safeString( (String) issue.getPossiblePropertyValue(graph, "path") );
+ String description = StringUtils.safeString( (String) issue.getPossiblePropertyValue(graph, "HasDescription") ); //$NON-NLS-1$
+ String resource = StringUtils.safeString( (String) issue.getPossiblePropertyValue(graph, "resource") ); //$NON-NLS-1$
+ String path = StringUtils.safeString( (String) issue.getPossiblePropertyValue(graph, "path") ); //$NON-NLS-1$
String[] result = new String[] { description, resource, path };
return new ArrayMap<String, String>(COLS, result);