Fix javanano package

pull/1365/head
Jisi Liu 9 years ago
parent fc7eeda69c
commit 5805c2dfb7
  1. 3
      src/google/protobuf/compiler/javanano/javanano_generator.cc

@ -68,6 +68,9 @@ void UpdateParamsRecursively(Params& params,
} }
if (file->options().has_java_package()) { if (file->options().has_java_package()) {
string result = file->options().java_package(); string result = file->options().java_package();
if (!result.empty()) {
result += ".";
}
result += "nano"; result += "nano";
params.set_java_package( params.set_java_package(
file->name(), result); file->name(), result);

Loading…
Cancel
Save