Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[Minor] teh -> the (#913)

Justin Mclean96dd5aa0eb7c
diff --git a/api/src/main/java/com/datastrato/gravitino/rel/SchemaChange.java b/api/src/main/java/com/datastrato/gravitino/rel/SchemaChange.java
index 2223d80032..2f3fe7cbdd 100644
--- a/api/src/main/java/com/datastrato/gravitino/rel/SchemaChange.java
+++ b/api/src/main/java/com/datastrato/gravitino/rel/SchemaChange.java
@@ -29,7 +29,7 @@ public interface SchemaChange {
* SchemaChange class to set the property and value pairs for the schema.
*
* @param property The property name to set.
- * @param value The value to set teh property to.
+ * @param value The value to set the property to.
* @return The SchemaChange object.
*/
static SchemaChange setProperty(String property, String value) {
diff --git a/clients/client-java/src/main/java/com/datastrato/gravitino/client/HTTPClient.java b/clients/client-java/src/main/java/com/datastrato/gravitino/client/HTTPClient.java
index 57cc624173..bf481b982e 100644
--- a/clients/client-java/src/main/java/com/datastrato/gravitino/client/HTTPClient.java
+++ b/clients/client-java/src/main/java/com/datastrato/gravitino/client/HTTPClient.java
@@ -124,7 +124,7 @@ public class HTTPClient implements RESTClient {
*
* <p>According to the spec, the only currently defined/used "success" responses are 200 and 202.
*
- * @param response The reponse to check for success.
+ * @param response The response to check for success.
* @return True if the response is successful, false otherwise.
*/
private boolean isSuccessful(CloseableHttpResponse response) {
@@ -135,11 +135,11 @@ public class HTTPClient implements RESTClient {
}
/**
- * Builds an error reponse based on the provided HTTP response.
+ * Builds an error response based on the provided HTTP response.
*
* <p>This method extracts the reason phrase from the response and uses it as the message for the
* ErrorResponse. If the reason phrase doesn't exist, it retrieves the standard reason phrase from
- * teh English phrase catalog.
+ * the English phrase catalog.
*
* @param response The response from which the ErrorResponse is built.
* @return An ErrorResponse object representing the REST error response.
diff --git a/clients/client-java/src/main/java/com/datastrato/gravitino/client/RESTClient.java b/clients/client-java/src/main/java/com/datastrato/gravitino/client/RESTClient.java
index 1cee6b8a2a..da0799eb97 100644
--- a/clients/client-java/src/main/java/com/datastrato/gravitino/client/RESTClient.java
+++ b/clients/client-java/src/main/java/com/datastrato/gravitino/client/RESTClient.java
@@ -351,7 +351,7 @@ public interface RESTClient extends Closeable {
Consumer<ErrorResponse> errorHandler);
/**
- * Perform a POST request with form data on the specified path with teh given information.
+ * Perform a POST request with form data on the specified path with the given information.
*
* @param path The path to be requested.
* @param formData The form data to be included in the POST request body.
diff --git a/common/src/main/java/com/datastrato/gravitino/dto/responses/CatalogResponse.java b/common/src/main/java/com/datastrato/gravitino/dto/responses/CatalogResponse.java
index 12d1daaad6..ad2b49fc6d 100644
--- a/common/src/main/java/com/datastrato/gravitino/dto/responses/CatalogResponse.java
+++ b/common/src/main/java/com/datastrato/gravitino/dto/responses/CatalogResponse.java
@@ -40,7 +40,7 @@ public class CatalogResponse extends BaseResponse {
/**
* Validates the response data.
*
- * @throws IllegalArgumentException if teh catalog name, type or audit is not set.
+ * @throws IllegalArgumentException if the catalog name, type or audit is not set.
*/
@Override
public void validate() throws IllegalArgumentException {
diff --git a/common/src/test/java/com/datastrato/gravitino/dto/responses/TestResponses.java b/common/src/test/java/com/datastrato/gravitino/dto/responses/TestResponses.java
index d27f82640b..8ddb38710b 100644
--- a/common/src/test/java/com/datastrato/gravitino/dto/responses/TestResponses.java
+++ b/common/src/test/java/com/datastrato/gravitino/dto/responses/TestResponses.java
@@ -82,8 +82,8 @@ public class TestResponses {
@Test
void testMetalakeResponseException() throws IllegalArgumentException {
- MetalakeResponse reponse = new MetalakeResponse();
- assertThrows(IllegalArgumentException.class, () -> reponse.validate());
+ MetalakeResponse response = new MetalakeResponse();
+ assertThrows(IllegalArgumentException.class, () -> response.validate());
}
@Test
@@ -97,8 +97,8 @@ public class TestResponses {
@Test
void testMetalakeListResponseException() throws IllegalArgumentException {
- MetalakeListResponse reponse = new MetalakeListResponse();
- assertThrows(IllegalArgumentException.class, () -> reponse.validate());
+ MetalakeListResponse response = new MetalakeListResponse();
+ assertThrows(IllegalArgumentException.class, () -> response.validate());
}
@Test
diff --git a/docs/quick_start.md b/docs/quick_start.md
index 88fcafba4e..dcb3570d72 100644
--- a/docs/quick_start.md
+++ b/docs/quick_start.md
@@ -15,7 +15,7 @@ You can build from [Github](https://github.com/datastrato/gravitino), see [how t
## Where is the Documentation?
-Gravitino has a local documentation website that you can view by following teh instructions in ``README.md``.
+Gravitino has a local documentation website that you can view by following the instructions in ``README.md``.
## How to contribute to Gravitino?