Remove unwanted new lines

temp
Mohamed Rashd 3 years ago
parent 9cdc438970
commit fb2ab0963d

@ -29,7 +29,6 @@ import io.entgra.application.mgt.core.exception.UnexpectedServerErrorException;
import io.entgra.application.mgt.core.util.DAOUtil; import io.entgra.application.mgt.core.util.DAOUtil;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
@ -65,7 +64,6 @@ public class GenericSPApplicationDAOImpl extends AbstractDAOImpl implements SPAp
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -99,7 +97,6 @@ public class GenericSPApplicationDAOImpl extends AbstractDAOImpl implements SPAp
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override

@ -28,7 +28,6 @@ import io.entgra.application.mgt.core.exception.UnexpectedServerErrorException;
import io.entgra.application.mgt.core.util.DAOUtil; import io.entgra.application.mgt.core.util.DAOUtil;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
@ -65,7 +64,6 @@ public class OracleSPApplicationDAOImpl extends AbstractDAOImpl implements SPAp
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -99,7 +97,6 @@ public class OracleSPApplicationDAOImpl extends AbstractDAOImpl implements SPAp
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -199,7 +196,6 @@ public class OracleSPApplicationDAOImpl extends AbstractDAOImpl implements SPAp
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -214,7 +210,6 @@ public class OracleSPApplicationDAOImpl extends AbstractDAOImpl implements SPAp
+ "AND AP_APP_ID = ? " + "AND AP_APP_ID = ? "
+ "AND IS_ID = ? " + "AND IS_ID = ? "
+ "AND TENANT_ID = ? "; + "AND TENANT_ID = ? ";
try { try {
Connection conn = this.getDBConnection(); Connection conn = this.getDBConnection();
try (PreparedStatement stmt = conn.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS)) { try (PreparedStatement stmt = conn.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS)) {

@ -28,7 +28,6 @@ import io.entgra.application.mgt.core.exception.UnexpectedServerErrorException;
import io.entgra.application.mgt.core.util.DAOUtil; import io.entgra.application.mgt.core.util.DAOUtil;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
@ -65,7 +64,6 @@ public class PostgreSQLSPApplicationDAOImpl extends AbstractDAOImpl implements S
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -99,7 +97,6 @@ public class PostgreSQLSPApplicationDAOImpl extends AbstractDAOImpl implements S
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -199,7 +196,6 @@ public class PostgreSQLSPApplicationDAOImpl extends AbstractDAOImpl implements S
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -214,7 +210,6 @@ public class PostgreSQLSPApplicationDAOImpl extends AbstractDAOImpl implements S
+ "AND AP_APP_ID = ? " + "AND AP_APP_ID = ? "
+ "AND IS_ID = ? " + "AND IS_ID = ? "
+ "AND TENANT_ID = ? "; + "AND TENANT_ID = ? ";
try { try {
Connection conn = this.getDBConnection(); Connection conn = this.getDBConnection();
try (PreparedStatement stmt = conn.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS)) { try (PreparedStatement stmt = conn.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS)) {

@ -28,7 +28,6 @@ import io.entgra.application.mgt.core.exception.UnexpectedServerErrorException;
import io.entgra.application.mgt.core.util.DAOUtil; import io.entgra.application.mgt.core.util.DAOUtil;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
@ -65,7 +64,6 @@ public class SQLServerSPApplicationDAOImpl extends AbstractDAOImpl implements S
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -99,7 +97,6 @@ public class SQLServerSPApplicationDAOImpl extends AbstractDAOImpl implements S
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -199,7 +196,6 @@ public class SQLServerSPApplicationDAOImpl extends AbstractDAOImpl implements S
log.error(msg, e); log.error(msg, e);
throw new ApplicationManagementDAOException(msg, e); throw new ApplicationManagementDAOException(msg, e);
} }
} }
@Override @Override
@ -214,7 +210,6 @@ public class SQLServerSPApplicationDAOImpl extends AbstractDAOImpl implements S
+ "AND AP_APP_ID = ? " + "AND AP_APP_ID = ? "
+ "AND IS_ID = ? " + "AND IS_ID = ? "
+ "AND TENANT_ID = ? "; + "AND TENANT_ID = ? ";
try { try {
Connection conn = this.getDBConnection(); Connection conn = this.getDBConnection();
try (PreparedStatement stmt = conn.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS)) { try (PreparedStatement stmt = conn.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS)) {

Loading…
Cancel
Save