Christoph Torens edited a comment on Bug JENKINS-14139

for me, it is acceptable to edit: plugins/violations/generate/OutputFileModel.java (line 162...)

private void outputContents() throws IOException {
        sourceReader = new BufferedReader(open());
+        // we want an empty line 0, because googles cpplint.py gives some warnings for line 0, e.g., missing copyright
+        w.println("  <line number='0'> </line>");
        int lineNumber = 1;
        while (true) {
            String line = sourceReader.readLine();
            if (line == null) {
                break;
            }

this adds always an empty line 0, however

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to