CR feedback: spacing, document return values

pull/101/head
Daniel Martin 10 years ago
parent e2416caf90
commit 153a226a2a
  1. 4
      src/google/protobuf/compiler/java/java_extension.h
  2. 2
      src/google/protobuf/compiler/java/java_file.cc

@ -67,7 +67,11 @@ class ExtensionGenerator {
virtual ~ExtensionGenerator() {}
virtual void Generate(io::Printer* printer) = 0;
// Returns an estimate of the number of bytes the printed code will compile to
virtual int GenerateNonNestedInitializationCode(io::Printer* printer) = 0;
// Returns an estimate of the number of bytes the printed code will compile to
virtual int GenerateRegistrationCode(io::Printer* printer) = 0;
protected:

@ -65,7 +65,7 @@ namespace {
struct FieldDescriptorCompare {
bool operator ()(const FieldDescriptor* f1, const FieldDescriptor* f2) {
if(f1== NULL) {
if(f1 == NULL) {
return false;
}
if(f2 == NULL) {

Loading…
Cancel
Save