[cleanup] erefactor/EclipseJdt - Use diamond operator

EclipseJdt cleanup 'UseDiamondOperator' applied by erefactor.

For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
This commit is contained in:
cal101 2021-02-13 16:02:32 +00:00
parent 4405d7b8f9
commit fff07de3d2
3 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ public class HashCodeBuilder implements Builder<Integer> {
* *
* @since 2.3 * @since 2.3
*/ */
private static final ThreadLocal<Set<IDKey>> REGISTRY = new ThreadLocal<Set<IDKey>>(); private static final ThreadLocal<Set<IDKey>> REGISTRY = new ThreadLocal<>();
/* /*
* NOTE: we cannot store the actual objects in a HashSet, as that would use the very hashCode() * NOTE: we cannot store the actual objects in a HashSet, as that would use the very hashCode()

View File

@ -14,7 +14,7 @@ public class CaseReport {
/** /**
* 包含的测试步骤报告 * 包含的测试步骤报告
*/ */
private List<StepReport> stepReports = new ArrayList<StepReport>(); private List<StepReport> stepReports = new ArrayList<>();
public List<StepReport> getStepReports() { public List<StepReport> getStepReports() {
return stepReports; return stepReports;

View File

@ -14,7 +14,7 @@ public class SuiteReport {
/** /**
* 包含的用例测试报告 * 包含的用例测试报告
*/ */
private List<CaseReport> caseReports = new ArrayList<CaseReport>(); private List<CaseReport> caseReports = new ArrayList<>();
public List<CaseReport> getCaseReports() { public List<CaseReport> getCaseReports() {
return caseReports; return caseReports;