code format

This commit is contained in:
shaojin.wensj
2019-03-27 20:29:06 +08:00
parent 9f763c0dbe
commit 4eb2d11d73
@@ -87,9 +87,9 @@ public class MySqlExceptionSorter implements ExceptionSorter {
final String errorText = message.toUpperCase();
if ((errorCode == 0 && (errorText.contains("COMMUNICATIONS LINK FAILURE")) //
|| errorText.contains("COULD NOT CREATE CONNECTION")) //
|| errorText.contains("NO DATASOURCE") //
|| errorText.contains("NO ALIVE DATASOURCE")) {
|| errorText.contains("COULD NOT CREATE CONNECTION")) //
|| errorText.contains("NO DATASOURCE") //
|| errorText.contains("NO ALIVE DATASOURCE")) {
return true;
}
}