Skip to content

Commit 86feaf7

Browse files
committed
Merge pull request #7 from tatsuyaoiw/logging
Corrected log message
2 parents 576c065 + c3956eb commit 86feaf7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/org.restlet.tutorial.webapi/src/main/java/org/restlet/tutorial/persistence/CompanyPersistence.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private CompanyPersistence() {
5656
public Company add(Company toAdd) throws SQLException {
5757

5858
Context.getCurrentLogger().finer(
59-
"Method delete() of CompanyPersistence called.");
59+
"Method add() of CompanyPersistence called.");
6060

6161
Connection connection = null;
6262
try {
@@ -91,7 +91,7 @@ public Company add(Company toAdd) throws SQLException {
9191
} finally {
9292
releaseConnection(connection);
9393
Context.getCurrentLogger().finer(
94-
"Method delete() of CompanyPersistence finished.");
94+
"Method add() of CompanyPersistence finished.");
9595
}
9696
}
9797

0 commit comments

Comments
 (0)