json.beginObject() .prop("line", line.getLine()) .prop("code", htmlSourceDecorator.getDecoratedSourceAsHtml(line.getSource(), line.getHighlighting(), line.getSymbols())) .prop("scmRevision", line.getScmRevision()); if (!filterScmAuthors) {
json.beginObject() .prop("line", line.getLine()) .prop("code", htmlSourceDecorator.getDecoratedSourceAsHtml(line.getSource(), line.getHighlighting(), line.getSymbols())) .prop("scmAuthor", line.getScmAuthor()) .prop("scmRevision", line.getScmRevision());
private Function<DbFileSources.Line, String> lineToHtml() { return line -> htmlDecorator.getDecoratedSourceAsHtml(line.getSource(), line.getHighlighting(), line.getSymbols()); }
/** * <code>optional string symbols = 16;</code> */ public Builder clearSymbols() { bitField0_ = (bitField0_ & ~0x00008000); symbols_ = getDefaultInstance().getSymbols(); onChanged(); return this; } /**
private Function<DbFileSources.Line, String> lineToHtml() { return line -> htmlDecorator.getDecoratedSourceAsHtml(line.getSource(), line.getHighlighting(), line.getSymbols()); }