Merge pull request #4205 from xuwei-k/patch-2

fix typo in FieldMaskTree.java comment
pull/2470/head
Feng Xiao 7 years ago committed by GitHub
commit 80e016e838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java

@ -245,7 +245,7 @@ final class FieldMaskTree {
}
if (!source.hasField(field) && !destination.hasField(field)) {
// If the message field is not present in both source and destination, skip recursing
// so we don't create unneccessary empty messages.
// so we don't create unnecessary empty messages.
continue;
}
String childPath = path.isEmpty() ? entry.getKey() : path + "." + entry.getKey();

Loading…
Cancel
Save