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);
}
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);
}