TSK-1611: updated checkstyle to 8.41.1
This commit is contained in:
parent
b42781c00e
commit
1fe5aa7e72
|
@ -1,6 +1,6 @@
|
|||
package pro.taskana.common.api.exceptions;
|
||||
|
||||
/** common base class for Taskana's checked exceptions. */
|
||||
/** common base class for TASKANA's checked exceptions. */
|
||||
public class TaskanaException extends Exception {
|
||||
|
||||
public TaskanaException() {
|
||||
|
|
|
@ -27,6 +27,7 @@ public class ObjectAttributeChangeDetector {
|
|||
* @param newObject the new object for the comparison
|
||||
* @param <T> The generic type parameter
|
||||
* @return the details of all changed fields as JSON string
|
||||
* @throws SystemException when any parameter is null
|
||||
*/
|
||||
public static <T> String determineChangesInAttributes(T oldObject, T newObject) {
|
||||
LOGGER.debug(
|
||||
|
@ -37,7 +38,6 @@ public class ObjectAttributeChangeDetector {
|
|||
List<Field> fields = new ArrayList<>();
|
||||
|
||||
if (Objects.isNull(oldObject) || Objects.isNull(newObject)) {
|
||||
|
||||
throw new SystemException(
|
||||
"Null was provided as a parameter. Please provide two objects of the same type");
|
||||
}
|
||||
|
|
|
@ -257,6 +257,7 @@ public class TaskanaEngineImpl implements TaskanaEngine {
|
|||
* sets the databaseId attribute.
|
||||
*
|
||||
* @return a {@link SqlSessionFactory}
|
||||
* @throws SystemException when a connection to the database could not be opened.
|
||||
*/
|
||||
protected SqlSessionManager createSqlSessionManager() {
|
||||
Environment environment =
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -31,7 +31,7 @@
|
|||
<version.json>20210307</version.json>
|
||||
|
||||
<!-- build dependencies -->
|
||||
<version.checkstyle>8.41</version.checkstyle>
|
||||
<version.checkstyle>8.41.1</version.checkstyle>
|
||||
<version.maven.checkstyle>3.1.2</version.maven.checkstyle>
|
||||
<version.maven.jar>3.2.0</version.maven.jar>
|
||||
<version.maven.compiler>3.8.1</version.maven.compiler>
|
||||
|
|
Loading…
Reference in New Issue