Skip to content

Commit 99baf2b

Browse files
authored
docs: fix some typos in comments (#2943)
Signed-off-by: slightsharp <slightsharp@outlook.com>
1 parent e0f572b commit 99baf2b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

hugegraph-commons/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ numeric or collection util classes to simplify the development of HugeGraph and
1313

1414
## Components
1515

16-
- Lock: atomic lock, key lock, lock group and lock manger
16+
- Lock: atomic lock, key lock, lock group and lock manager
1717
- Config: register and load config option with security check
1818
- Event: listening and notification, do something asynchronously
1919
- Iterator: some iterators with extra functions, map, filter, extend, etc.

hugegraph-commons/hugegraph-common/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ its components.
1212

1313
## Components
1414

15-
- Lock: atomic lock, key lock, lock group and lock manger
15+
- Lock: atomic lock, key lock, lock group and lock manager
1616
- Config: register and load config option with security check
1717
- Event: listening and notification, do something asynchronously
1818
- Iterator: some iterators with extra functions, map, filter, extend, etc.

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/RolePermission.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static RolePermission role(String graphSpace, String graph,
8282
perm.ordinal() >= HugePermission.READ.ordinal()) {
8383
role.add(graphSpace, graph, perm, HugeResource.ALL_RES);
8484
} else {
85-
// if perm is not read, write, delete or excute, set resources null
85+
// if perm is not read, write, delete or execute, set resources null
8686
role.add(graphSpace, graph, perm, null);
8787
}
8888
return role;

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public long reclaimGlobally(MemoryPool queryPool, long neededBytes) {
5555
if (memoryPool.equals(queryPool)) {
5656
continue;
5757
}
58-
LOG.info("Global reclaim triggerred by {} select {} to reclaim", queryPool,
58+
LOG.info("Global reclaim triggered by {} select {} to reclaim", queryPool,
5959
memoryPool);
6060
long res = memoryPool.tryToReclaimLocalMemory(currentNeededBytes, queryPool);
6161
totalReclaimedBytes += res;

0 commit comments

Comments
 (0)