ProtoGen: Don't include version in output

Google is the only user of this, and we no longer need this file to
change every time we import Gerrit.

Change-Id: I19e5238f236ec47c9893b74780cfe9768a1b5d78
This commit is contained in:
Dave Borowitz
2018-02-14 13:26:38 -05:00
parent 30ee47cd6b
commit b90f608922
2 changed files with 1 additions and 4 deletions

View File

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

View File

@@ -11,8 +11,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Gerrit Code Review (version @@VERSION@@)
syntax = "proto2";