We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43b5c81 + 8ec2743 commit ce8758bCopy full SHA for ce8758b
spring-tx/src/main/java/org/springframework/transaction/support/DefaultTransactionDefinition.java
@@ -227,7 +227,7 @@ public final int getIsolationLevel() {
227
*/
228
public final void setTimeout(int timeout) {
229
if (timeout < TIMEOUT_DEFAULT) {
230
- throw new IllegalArgumentException("Timeout must be a positive integer or TIMEOUT_DEFAULT");
+ throw new IllegalArgumentException("Timeout must be a non-negative integer or TIMEOUT_DEFAULT");
231
}
232
this.timeout = timeout;
233
0 commit comments