Skip to content

Commit bf5db14

Browse files
committed
Updated license header and reformatted
1 parent 165c9e2 commit bf5db14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/ibatis/executor/statement/StatementUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2016 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.
@@ -42,7 +42,7 @@ private StatementUtil() {
4242
*/
4343
public static void applyTransactionTimeout(Statement statement, Integer queryTimeout, Integer transactionTimeout) throws SQLException {
4444
if (transactionTimeout == null) {
45-
return;
45+
return;
4646
}
4747
if (queryTimeout == null || queryTimeout == 0 || transactionTimeout < queryTimeout) {
4848
statement.setQueryTimeout(transactionTimeout);

0 commit comments

Comments
 (0)