Skip to content

Commit 13e6f80

Browse files
committed
fixup Chinese punctuation
1 parent d92dd3b commit 13e6f80

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/BackendMutation.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void put(BackendEntry entry, Action action) {
7171
}
7272

7373
/**
74-
* The optimized scenes include but are not limited to
74+
* The optimized scenes include but are not limited to:
7575
* 1.If you want to delete an entry, the other mutations previously
7676
* can be ignored.
7777
* 2.As similar to the No.1 item, If you want to insert an entry,

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/config/CoreOptions.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,8 @@ public static synchronized CoreOptions instance() {
521521

522522
/**
523523
* The schema name rule:
524-
* 1Not allowed end with spaces
525-
* 2Not allowed start with '~'
524+
* 1. Not allowed end with spaces
525+
* 2. Not allowed start with '~'
526526
*/
527527
public static final ConfigOption<String> SCHEMA_ILLEGAL_NAME_REGEX =
528528
new ConfigOption<>(

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/io/HugeGraphSONModule.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public static void registerSchemaSerializers(SimpleModule module) {
198198
public static void registerGraphSerializers(SimpleModule module) {
199199
/*
200200
* Use customized serializer need to be compatible with V1 and V2
201-
* Graphson, and seems need to implement edge deserializerit is
201+
* Graphson, and seems need to implement edge deserializer, it is
202202
* a little complicated.
203203
*/
204204
module.addSerializer(HugeVertex.class, new HugeVertexSerializer());

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/task/HugeTask.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ public void syncWait() {
760760
}
761761
assert task != null;
762762
/*
763-
* This can be enabled for debug to expose schema-clear errors early
763+
* This can be enabled for debug to expose schema-clear errors early,
764764
* but also lead to some negative tests failed,
765765
*/
766766
boolean debugTest = false;

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/traversal/optimize/HugeVertexStepByBatch.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void reset() {
8080
@Override
8181
public Iterator<?> lastTimeResults() {
8282
/*
83-
* NOTE: fetch page from this iterator can only get page info of
83+
* NOTE: fetch page from this iterator, can only get page info of
8484
* the lowest level, may lost info of upper levels.
8585
*/
8686
return this.iterator;

hugegraph-server/hugegraph-test/src/main/java/org/apache/hugegraph/core/EdgeCoreTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5221,7 +5221,7 @@ public void testScanEdgeInPaging() {
52215221
query.scan(String.valueOf(Long.MIN_VALUE),
52225222
String.valueOf(Long.MAX_VALUE));
52235223
} else {
5224-
// QUESTIONThe query method may not be well adapted
5224+
// QUESTION: The query method may not be well adapted
52255225
query.scan(BackendTable.ShardSplitter.START,
52265226
BackendTable.ShardSplitter.END);
52275227
}

0 commit comments

Comments
 (0)