Use diamond operator
Change-Id: Ie9a473caeb4409b8c7243544eb4c8852e017540f
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -214,7 +214,7 @@ public class OpticalPathProvisioner { | ... | @@ -214,7 +214,7 @@ public class OpticalPathProvisioner { |
214 | */ | 214 | */ |
215 | private List<ConnectPoint> getCrossConnectPoints(Path path) { | 215 | private List<ConnectPoint> getCrossConnectPoints(Path path) { |
216 | boolean scanning = false; | 216 | boolean scanning = false; |
217 | - List<ConnectPoint> connectPoints = new LinkedList<ConnectPoint>(); | 217 | + List<ConnectPoint> connectPoints = new LinkedList<>(); |
218 | 218 | ||
219 | for (Link link : path.links()) { | 219 | for (Link link : path.links()) { |
220 | if (!isCrossConnectLink(link)) { | 220 | if (!isCrossConnectLink(link)) { | ... | ... |
-
Please register or login to post a comment