Committed by
Gerrit Code Review
Remove type parameter and use diamond operator
Change-Id: I0b4e67028a323e303883b8025970e67c41de6fa6
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -312,7 +312,7 @@ public class OpticalPathProvisioner { | ... | @@ -312,7 +312,7 @@ public class OpticalPathProvisioner { |
| 312 | private List<Intent> getIntents(List<ConnectPoint> crossConnectPoints) { | 312 | private List<Intent> getIntents(List<ConnectPoint> crossConnectPoints) { |
| 313 | checkArgument(crossConnectPoints.size() % 2 == 0); | 313 | checkArgument(crossConnectPoints.size() % 2 == 0); |
| 314 | 314 | ||
| 315 | - List<Intent> intents = new LinkedList<Intent>(); | 315 | + List<Intent> intents = new LinkedList<>(); |
| 316 | Iterator<ConnectPoint> itr = crossConnectPoints.iterator(); | 316 | Iterator<ConnectPoint> itr = crossConnectPoints.iterator(); |
| 317 | 317 | ||
| 318 | while (itr.hasNext()) { | 318 | while (itr.hasNext()) { | ... | ... |
-
Please register or login to post a comment