fix(ci): format build and test command for better readability (#763)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 582cccd..bba2534 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -78,5 +78,8 @@
version: "21.7"
- name: Build and Test On JDK 8
- run: mvn -B -e clean test -Pjdk8 -pl !geaflow/geaflow-plugins/geaflow-store/geaflow-store-vector
- -Duser.timezone=Asia/Shanghai -Dlog4j.configuration="log4j .rootLogger=WARN, stdout"
+ run: |
+ mvn -B -e clean test -Pjdk8 \
+ -pl !geaflow/geaflow-plugins/geaflow-store/geaflow-store-vector \
+ -Duser.timezone=Asia/Shanghai \
+ -Dlog4j.configuration="log4j .rootLogger=WARN, stdout"
diff --git a/geaflow-ai/src/main/java/org/apache/geaflow/ai/GeaFlowMemoryServer.java b/geaflow-ai/src/main/java/org/apache/geaflow/ai/GeaFlowMemoryServer.java
index bfcf0dd..5121ae7 100644
--- a/geaflow-ai/src/main/java/org/apache/geaflow/ai/GeaFlowMemoryServer.java
+++ b/geaflow-ai/src/main/java/org/apache/geaflow/ai/GeaFlowMemoryServer.java
@@ -121,7 +121,7 @@
} else if (schema instanceof EdgeSchema) {
memoryMutableGraph.addEdgeSchema((EdgeSchema) schema);
} else {
- throw new RuntimeException("Cannt add schema: " + input);
+ throw new RuntimeException("Cannot add schema: " + input);
}
return "addSchema has been called, schemaName: " + schemaName;
}