Merge changes I19e5238f,Iebf10771
* changes: ProtoGen: Don't include version in output ProtoGen: Don't output anything on success
This commit is contained in:
@@ -58,8 +58,7 @@ public class ProtoGen extends AbstractProgram {
|
||||
header = new String(buf.array(), ptr, len, UTF_8);
|
||||
}
|
||||
|
||||
String version = com.google.gerrit.common.Version.getVersion();
|
||||
out.write(header.replace("@@VERSION@@", version));
|
||||
out.write(header);
|
||||
jsm.generateProto(out);
|
||||
out.flush();
|
||||
}
|
||||
@@ -69,7 +68,6 @@ public class ProtoGen extends AbstractProgram {
|
||||
} finally {
|
||||
lock.unlock();
|
||||
}
|
||||
System.out.println("Created " + file.getPath());
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user