Skip to content

Commit a092062

Browse files
committed
Modify Comments
1 parent 901a721 commit a092062

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/main/java/org/apache/ibatis/scripting/defaults/DefaultParameterHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2020 the original author or authors.
2+
* Copyright 2009-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/test/java/org/apache/ibatis/jdbc/PooledDataSourceTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2020 the original author or authors.
2+
* Copyright 2009-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,7 +15,8 @@
1515
*/
1616
package org.apache.ibatis.jdbc;
1717

18-
import static org.junit.jupiter.api.Assertions.*;
18+
import static org.junit.jupiter.api.Assertions.assertEquals;
19+
import static org.junit.jupiter.api.Assertions.assertNotNull;
1920

2021
import java.sql.Connection;
2122
import java.sql.PreparedStatement;
@@ -138,7 +139,7 @@ void shouldReconnectWhenServerKilledLeakedConnection() throws Exception {
138139

139140
private void executeQuery(Connection con) throws SQLException {
140141
try (PreparedStatement st = con.prepareStatement("select 1");
141-
ResultSet rs = st.executeQuery()) {
142+
ResultSet rs = st.executeQuery()) {
142143
while (rs.next()) {
143144
assertEquals(1, rs.getInt(1));
144145
}

0 commit comments

Comments
 (0)