From 75a1a70fbf4e3e330436783aa8875d60208eebb1 Mon Sep 17 00:00:00 2001 From: RoiEX Date: Tue, 13 Sep 2016 23:16:26 +0200 Subject: [PATCH] Removed null --- src/games/strategy/triplea/ui/RouteOptimizer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/games/strategy/triplea/ui/RouteOptimizer.java b/src/games/strategy/triplea/ui/RouteOptimizer.java index 3cf5f4afb98..58cb82ac010 100644 --- a/src/games/strategy/triplea/ui/RouteOptimizer.java +++ b/src/games/strategy/triplea/ui/RouteOptimizer.java @@ -244,7 +244,6 @@ public List getAllNormalizedLines(double[] xcoords, double[] ycoords) { result.add(new Line2D.Double(points[0], points[1])); } } - result.forEach(e -> e = null); return result; } }