Skip to content

Commit 0eb38df

Browse files
authored
fix: correct typos in log messages and comments across multiple files (#752)
1 parent ace0762 commit 0eb38df

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

geaflow-console/app/web/src/main/java/org/apache/geaflow/console/web/mvc/GeaflowGlobalFilter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ public void doFilter(ServletRequest servletRequest, ServletResponse servletRespo
5050
filterChain.doFilter(request, response);
5151

5252
} catch (Exception e) {
53-
String mesage = Fmt.as("Request url {} failed", request.getRequestURI());
54-
log.info(mesage);
55-
log.error(mesage, e.getCause());
53+
String message = Fmt.as("Request url {} failed", request.getRequestURI());
54+
log.info(message);
55+
log.error(message, e.getCause());
5656
GeaflowApiResponse.error(e.getCause()).write(response);
5757

5858
} finally {

geaflow-kubernetes-operator/geaflow-kubernetes-operator-core/src/main/java/org/apache/geaflow/kubernetes/operator/core/model/customresource/ComponentResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class ComponentResource {
4141
private Integer memoryMb;
4242

4343
/**
44-
* Jvm args. Seperated with comma.
44+
* Jvm args. Separated with comma.
4545
* e.g. -Xmx1024m,-Xms1024m,-Xn512m
4646
*/
4747
private String jvmOptions;

geaflow/geaflow-common/src/main/java/org/apache/geaflow/common/config/keys/ExecutionConfigKeys.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ public class ExecutionConfigKeys implements Serializable {
585585

586586
public static final ConfigKey REPORTER_LIST = ConfigKeys.key("geaflow.metric.reporters")
587587
.defaultValue("")
588-
.description("metric reporter list. Multiple reporters are seperated by comma. for "
588+
.description("metric reporter list. Multiple reporters are separated by comma. for "
589589
+ "example: influxdb,tsdb,prometheus,slf4j");
590590

591591
public static final ConfigKey METRIC_META_REPORT_DELAY = ConfigKeys

geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/AbstractMemoryPool.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ void free(Chunk<T> chunk, long handle, long length) {
187187
}
188188

189189
void freeChunk(Chunk<T> chunk, long handle, long length) {
190-
final boolean needDestoryChunk;
190+
final boolean needDestroyChunk;
191191
synchronized (this) {
192-
needDestoryChunk = !chunk.parent.free(chunk, handle);
192+
needDestroyChunk = !chunk.parent.free(chunk, handle);
193193
}
194-
if (needDestoryChunk) {
194+
if (needDestroyChunk) {
195195
// destroyChunk not need to be called while holding the synchronized lock.
196196
destroyChunk(chunk);
197197
}

0 commit comments

Comments
 (0)