This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
The following commit(s) were added to refs/heads/master by this push:
new ecaa7616 Fix spelling
ecaa7616 is described below
commit ecaa761638dc76ea993dff872d15a0ba750e8489
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Oct 7 10:39:07 2022 -0400
Fix spelling
---
.../java/org/apache/commons/configuration2/DatabaseConfiguration.java | 4 ++--
.../java/org/apache/commons/configuration2/io/DefaultFileSystem.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
b/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
index 81f5ff13..fe62f6fd 100644
--- a/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
+++ b/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
@@ -511,7 +511,7 @@ public class DatabaseConfiguration extends
AbstractConfiguration {
stmt.close();
}
} catch (final SQLException e) {
- getLogger().error("An error occured on closing the statement", e);
+ getLogger().error("An error occurred on closing the statement", e);
}
try {
@@ -519,7 +519,7 @@ public class DatabaseConfiguration extends
AbstractConfiguration {
conn.close();
}
} catch (final SQLException e) {
- getLogger().error("An error occured on closing the connection", e);
+ getLogger().error("An error occurred on closing the connection",
e);
}
}
diff --git
a/src/main/java/org/apache/commons/configuration2/io/DefaultFileSystem.java
b/src/main/java/org/apache/commons/configuration2/io/DefaultFileSystem.java
index e02d5128..9f034efa 100644
--- a/src/main/java/org/apache/commons/configuration2/io/DefaultFileSystem.java
+++ b/src/main/java/org/apache/commons/configuration2/io/DefaultFileSystem.java
@@ -78,7 +78,7 @@ public class DefaultFileSystem extends FileSystem {
out = connection.getOutputStream();
- // check the response code for http URLs and throw an exception if
an error occured
+ // check the response code for http URLs and throw an exception if
an error occurred
if (connection instanceof HttpURLConnection) {
out = new HttpOutputStream(out, (HttpURLConnection)
connection);
}