use of com.google.gerrit.extensions.common.ContextLineInfo in project gerrit by GerritCodeReview.
the class CommentContextIT method createContextLines.
private List<ContextLineInfo> createContextLines(String... args) {
List<ContextLineInfo> result = new ArrayList<>();
for (int i = 0; i < args.length; i += 2) {
int lineNbr = Integer.parseInt(args[i]);
String contextLine = args[i + 1];
ContextLineInfo info = new ContextLineInfo(lineNbr, contextLine);
result.add(info);
}
return result;
}
Aggregations