You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geaflow.apache.org by lt...@apache.org on 2026/03/03 02:08:42 UTC

(geaflow) branch master updated: fix: correct typos in log messages and comments across multiple files (#752)

This is an automated email from the ASF dual-hosted git repository.

ltlin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geaflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 0eb38df90 fix: correct typos in log messages and comments across multiple files (#752)
0eb38df90 is described below

commit 0eb38df90b4e8008586dae61c78497c1eb1a260b
Author: Jason Yao <li...@yeah.net>
AuthorDate: Tue Mar 3 10:08:38 2026 +0800

    fix: correct typos in log messages and comments across multiple files (#752)
---
 .../org/apache/geaflow/console/web/mvc/GeaflowGlobalFilter.java     | 6 +++---
 .../operator/core/model/customresource/ComponentResource.java       | 2 +-
 .../org/apache/geaflow/common/config/keys/ExecutionConfigKeys.java  | 2 +-
 .../src/main/java/org/apache/geaflow/memory/AbstractMemoryPool.java | 6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/geaflow-console/app/web/src/main/java/org/apache/geaflow/console/web/mvc/GeaflowGlobalFilter.java b/geaflow-console/app/web/src/main/java/org/apache/geaflow/console/web/mvc/GeaflowGlobalFilter.java
index 879f76a80..af650c264 100644
--- a/geaflow-console/app/web/src/main/java/org/apache/geaflow/console/web/mvc/GeaflowGlobalFilter.java
+++ b/geaflow-console/app/web/src/main/java/org/apache/geaflow/console/web/mvc/GeaflowGlobalFilter.java
@@ -50,9 +50,9 @@ public class GeaflowGlobalFilter implements Filter, Ordered {
             filterChain.doFilter(request, response);
 
         } catch (Exception e) {
-            String mesage = Fmt.as("Request url {} failed", request.getRequestURI());
-            log.info(mesage);
-            log.error(mesage, e.getCause());
+            String message = Fmt.as("Request url {} failed", request.getRequestURI());
+            log.info(message);
+            log.error(message, e.getCause());
             GeaflowApiResponse.error(e.getCause()).write(response);
 
         } finally {
diff --git a/geaflow-kubernetes-operator/geaflow-kubernetes-operator-core/src/main/java/org/apache/geaflow/kubernetes/operator/core/model/customresource/ComponentResource.java b/geaflow-kubernetes-operator/geaflow-kubernetes-operator-core/src/main/java/org/apache/geaflow/kubernetes/operator/core/model/customresource/ComponentResource.java
index 877397bfe..17f7d52a0 100644
--- a/geaflow-kubernetes-operator/geaflow-kubernetes-operator-core/src/main/java/org/apache/geaflow/kubernetes/operator/core/model/customresource/ComponentResource.java
+++ b/geaflow-kubernetes-operator/geaflow-kubernetes-operator-core/src/main/java/org/apache/geaflow/kubernetes/operator/core/model/customresource/ComponentResource.java
@@ -41,7 +41,7 @@ public class ComponentResource {
     private Integer memoryMb;
 
     /**
-     * Jvm args. Seperated with comma.
+     * Jvm args. Separated with comma.
      * e.g. -Xmx1024m,-Xms1024m,-Xn512m
      */
     private String jvmOptions;
diff --git a/geaflow/geaflow-common/src/main/java/org/apache/geaflow/common/config/keys/ExecutionConfigKeys.java b/geaflow/geaflow-common/src/main/java/org/apache/geaflow/common/config/keys/ExecutionConfigKeys.java
index d1d3f3035..c6df0b869 100644
--- a/geaflow/geaflow-common/src/main/java/org/apache/geaflow/common/config/keys/ExecutionConfigKeys.java
+++ b/geaflow/geaflow-common/src/main/java/org/apache/geaflow/common/config/keys/ExecutionConfigKeys.java
@@ -585,7 +585,7 @@ public class ExecutionConfigKeys implements Serializable {
 
     public static final ConfigKey REPORTER_LIST = ConfigKeys.key("geaflow.metric.reporters")
         .defaultValue("")
-        .description("metric reporter list. Multiple reporters are seperated by comma. for "
+        .description("metric reporter list. Multiple reporters are separated by comma. for "
             + "example: influxdb,tsdb,prometheus,slf4j");
 
     public static final ConfigKey METRIC_META_REPORT_DELAY = ConfigKeys
diff --git a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/AbstractMemoryPool.java b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/AbstractMemoryPool.java
index 950b3ce9d..11298e70c 100644
--- a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/AbstractMemoryPool.java
+++ b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/AbstractMemoryPool.java
@@ -187,11 +187,11 @@ public abstract class AbstractMemoryPool<T> implements PoolMetric {
     }
 
     void freeChunk(Chunk<T> chunk, long handle, long length) {
-        final boolean needDestoryChunk;
+        final boolean needDestroyChunk;
         synchronized (this) {
-            needDestoryChunk = !chunk.parent.free(chunk, handle);
+            needDestroyChunk = !chunk.parent.free(chunk, handle);
         }
-        if (needDestoryChunk) {
+        if (needDestroyChunk) {
             // destroyChunk not need to be called while holding the synchronized lock.
             destroyChunk(chunk);
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@geaflow.apache.org
For additional commands, e-mail: commits-help@geaflow.apache.org