TSK-1009: last automated refactoring
This commit is contained in:
parent
09adb30171
commit
b47610b62e
|
@ -206,13 +206,6 @@ abstract class AbstractWorkbasketAccessItemQueryImpl<
|
|||
return columnName;
|
||||
}
|
||||
|
||||
@SuppressWarnings("checkstyle:MethodName")
|
||||
abstract Q _this();
|
||||
|
||||
abstract String getLinkToMapper();
|
||||
|
||||
abstract String getLinkToValueMapper();
|
||||
|
||||
protected Q addOrderCriteria(String colName, SortDirection sortDirection) {
|
||||
String orderByDirection =
|
||||
" " + (sortDirection == null ? SortDirection.ASCENDING : sortDirection);
|
||||
|
@ -221,6 +214,13 @@ abstract class AbstractWorkbasketAccessItemQueryImpl<
|
|||
return _this();
|
||||
}
|
||||
|
||||
@SuppressWarnings("checkstyle:MethodName")
|
||||
abstract Q _this();
|
||||
|
||||
abstract String getLinkToMapper();
|
||||
|
||||
abstract String getLinkToValueMapper();
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "AbstractWorkbasketAccessItemQueryImpl ["
|
||||
|
|
|
@ -115,6 +115,16 @@ public class ClassificationImpl extends ClassificationSummaryImpl implements Cla
|
|||
return summary;
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return (other instanceof ClassificationImpl);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(
|
||||
super.hashCode(), isValidInDomain, created, modified, description, applicationEntryPoint);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
|
@ -134,16 +144,6 @@ public class ClassificationImpl extends ClassificationSummaryImpl implements Cla
|
|||
&& Objects.equals(applicationEntryPoint, other.applicationEntryPoint);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(
|
||||
super.hashCode(), isValidInDomain, created, modified, description, applicationEntryPoint);
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return (other instanceof ClassificationImpl);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ClassificationImpl [id="
|
||||
|
|
|
@ -47,8 +47,10 @@ import pro.taskana.sampledata.SampleDataGenerator;
|
|||
public class ClassificationServiceImplIntExplicitTest {
|
||||
|
||||
private static final String ID_PREFIX_CLASSIFICATION = "CLI";
|
||||
|
||||
@SuppressWarnings("checkstyle:DeclarationOrder")
|
||||
static int counter = 0;
|
||||
|
||||
private DataSource dataSource;
|
||||
private ClassificationService classificationService;
|
||||
private TaskanaEngineConfiguration taskanaEngineConfiguration;
|
||||
|
|
|
@ -46,8 +46,10 @@ import pro.taskana.security.WithAccessId;
|
|||
class WorkbasketServiceImplIntExplicitTest {
|
||||
|
||||
private static final int SLEEP_TIME = 100;
|
||||
|
||||
@SuppressWarnings("checkstyle:DeclarationOrder")
|
||||
static int counter = 0;
|
||||
|
||||
private DataSource dataSource;
|
||||
private TaskanaEngineConfiguration taskanaEngineConfiguration;
|
||||
private TaskanaEngine taskanaEngine;
|
||||
|
|
|
@ -42,8 +42,10 @@ import pro.taskana.rest.resource.TaskResourceAssembler;
|
|||
class AsyncUpdateJobIntTest {
|
||||
|
||||
private static final String CLASSIFICATION_ID = "CLI:100000000000000000000000000000000003";
|
||||
|
||||
@SuppressWarnings("checkstyle:DeclarationOrder")
|
||||
static RestTemplate template;
|
||||
|
||||
@Autowired ClassificationResourceAssembler classificationResourceAssembler;
|
||||
@Autowired TaskResourceAssembler taskResourceAssembler;
|
||||
@Autowired JobScheduler jobScheduler;
|
||||
|
|
Loading…
Reference in New Issue