mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
Merge pull request #1420 from cal101/jdt-UseDiamondOperatorCleanUp
[cleanup] erefactor/EclipseJdt - Use diamond operator
This commit is contained in:
commit
a6a420c848
@ -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()
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user