diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/raft/StoreSerializer.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/raft/StoreSerializer.java index 262b3fe69c..c64f9e2ff3 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/raft/StoreSerializer.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/raft/StoreSerializer.java @@ -80,7 +80,7 @@ public static byte[] writeMutation(BackendMutation mutation) { buffer.write(entry.type().code()); // write id buffer.writeBytes(entry.id().asBytes()); - // wirte subId + // write subId if (entry.subId() != null) { buffer.writeId(entry.subId()); } else { diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/io/HugeGraphSONModule.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/io/HugeGraphSONModule.java index 3539a075a2..b38caec912 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/io/HugeGraphSONModule.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/io/HugeGraphSONModule.java @@ -411,7 +411,7 @@ public void writePropertiesField(Collection> properties, "for vertex '%s'", key, val, property.element()); } }; - // End wirte properties + // End write properties generator.writeEndObject(); } }