Skip to content

Commit c36029f

Browse files
committed
minor code format
1 parent 2e862b3 commit c36029f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/org/mybatis/spring/MyBatisExceptionTranslator.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2012 The MyBatis Team
2+
* Copyright 2010-2013 The MyBatis Team
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.
@@ -71,9 +71,8 @@ public DataAccessException translateExceptionIfPossible(RuntimeException e) {
7171
return this.exceptionTranslator.translate(e.getMessage() + "\n", null, (SQLException) e.getCause());
7272
}
7373
return new MyBatisSystemException(e);
74-
} else {
75-
return null;
76-
}
74+
}
75+
return null;
7776
}
7877

7978
/**

0 commit comments

Comments
 (0)