Merge pull request #1420 from cal101/jdt-UseDiamondOperatorCleanUp

[cleanup] erefactor/EclipseJdt - Use diamond operator
This commit is contained in:
Golden Looly 2021-02-20 10:03:51 +08:00 committed by GitHub
commit a6a420c848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ public class HashCodeBuilder implements Builder<Integer> {
*
* @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()

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() {
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() {
return caseReports;