This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
The following commit(s) were added to refs/heads/master by this push:
new 99baf2bde docs: fix some typos in comments (#2943)
99baf2bde is described below
commit 99baf2bde2ddc6c0db6a4f811109f9f2c34abdc8
Author: slightsharp <[email protected]>
AuthorDate: Fri Jan 23 18:55:03 2026 +0800
docs: fix some typos in comments (#2943)
Signed-off-by: slightsharp <[email protected]>
---
hugegraph-commons/README.md | 2 +-
hugegraph-commons/hugegraph-common/README.md | 2 +-
.../src/main/java/org/apache/hugegraph/auth/RolePermission.java | 2 +-
.../org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hugegraph-commons/README.md b/hugegraph-commons/README.md
index 4ec2ebb5b..7162e9313 100644
--- a/hugegraph-commons/README.md
+++ b/hugegraph-commons/README.md
@@ -13,7 +13,7 @@ numeric or collection util classes to simplify the
development of HugeGraph and
## Components
-- Lock: atomic lock, key lock, lock group and lock manger
+- Lock: atomic lock, key lock, lock group and lock manager
- Config: register and load config option with security check
- Event: listening and notification, do something asynchronously
- Iterator: some iterators with extra functions, map, filter, extend, etc.
diff --git a/hugegraph-commons/hugegraph-common/README.md
b/hugegraph-commons/hugegraph-common/README.md
index 8614ba126..bfeef03cd 100644
--- a/hugegraph-commons/hugegraph-common/README.md
+++ b/hugegraph-commons/hugegraph-common/README.md
@@ -12,7 +12,7 @@ its components.
## Components
-- Lock: atomic lock, key lock, lock group and lock manger
+- Lock: atomic lock, key lock, lock group and lock manager
- Config: register and load config option with security check
- Event: listening and notification, do something asynchronously
- Iterator: some iterators with extra functions, map, filter, extend, etc.
diff --git
a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/RolePermission.java
b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/RolePermission.java
index 834cbb569..43ad50887 100644
---
a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/RolePermission.java
+++
b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/RolePermission.java
@@ -82,7 +82,7 @@ public class RolePermission {
perm.ordinal() >= HugePermission.READ.ordinal()) {
role.add(graphSpace, graph, perm, HugeResource.ALL_RES);
} else {
- // if perm is not read, write, delete or excute, set resources null
+ // if perm is not read, write, delete or execute, set resources
null
role.add(graphSpace, graph, perm, null);
}
return role;
diff --git
a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java
b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java
index d8ce73afd..496b8ca9e 100644
---
a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java
+++
b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java
@@ -55,7 +55,7 @@ public class MemoryArbitratorImpl implements MemoryArbitrator
{
if (memoryPool.equals(queryPool)) {
continue;
}
- LOG.info("Global reclaim triggerred by {} select {} to reclaim",
queryPool,
+ LOG.info("Global reclaim triggered by {} select {} to reclaim",
queryPool,
memoryPool);
long res = memoryPool.tryToReclaimLocalMemory(currentNeededBytes,
queryPool);
totalReclaimedBytes += res;