aboutsummaryrefslogtreecommitdiffhomepage
path: root/java
diff options
context:
space:
mode:
authorGravatar kenji yoshida <6b656e6a69@gmail.com>2018-01-22 00:09:36 +0900
committerGravatar GitHub <noreply@github.com>2018-01-22 00:09:36 +0900
commit1c3b20b1221cc90a669721102a521e2896933dbe (patch)
tree965baa9319cc4ebc863b9b7cc81b18a91ca79f46 /java
parent47b7d2c7cadf74ceec90fc5042232819cd0dd557 (diff)
fix typo in FieldMaskTree.java comment
Diffstat (limited to 'java')
-rw-r--r--java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java b/java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java
index e017b987..4a13fb1d 100644
--- a/java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java
+++ b/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();