From 6a1755fdba4cdb909e1078224d714ea0e6b08bfe Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 27 Mar 2022 20:33:37 -0400 Subject: [PATCH] spelling: write Signed-off-by: Josh Soref --- .../com/baidu/hugegraph/backend/store/raft/StoreSerializer.java | 2 +- .../main/java/com/baidu/hugegraph/io/HugeGraphSONModule.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); } }