beautify bindNoLog format (#1399)

This commit is contained in:
ooknight
2018-05-31 20:23:52 +12:00
committed by Rob Bygrave
parent 11e3649b85
commit 10ad9ef096
@@ -187,7 +187,10 @@ public abstract class DmlHandler implements PersistHandler, BindableRequest {
@Override
public void bindNoLog(Object value, int sqlType, String logPlaceHolder) throws SQLException {
if (logLevelSql) {
bindLog.append(logPlaceHolder).append(" ");
if (bindLog.length() > 0) {
bindLog.append(",");
}
bindLog.append(logPlaceHolder);
}
dataBind.setObject(value, sqlType);
}