You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2015/04/10 12:22:59 UTC

[math] Fixed Java 7 only statement.

Repository: commons-math
Updated Branches:
  refs/heads/MATH_3_X 6a24cf473 -> aa43eca83


Fixed Java 7 only statement.

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/aa43eca8
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/aa43eca8
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/aa43eca8

Branch: refs/heads/MATH_3_X
Commit: aa43eca83f8490423a3f382bbbec83548dff4e76
Parents: 6a24cf4
Author: Luc Maisonobe <lu...@apache.org>
Authored: Fri Apr 10 12:22:42 2015 +0200
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Fri Apr 10 12:22:42 2015 +0200

----------------------------------------------------------------------
 .../math3/geometry/euclidean/threed/PolyhedronsSetTest.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/aa43eca8/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/PolyhedronsSetTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/PolyhedronsSetTest.java b/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/PolyhedronsSetTest.java
index 6927e42..00e14c2 100644
--- a/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/PolyhedronsSetTest.java
+++ b/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/PolyhedronsSetTest.java
@@ -349,7 +349,7 @@ public class PolyhedronsSetTest {
             faces[10]=new int[]{3,6,2}; // back (+y)
             faces[11]=new int[]{6,3,7}; // back (+y)
             //
-            Set<SubHyperplane<Euclidean3D>> pset=new HashSet<>();
+            Set<SubHyperplane<Euclidean3D>> pset=new HashSet<SubHyperplane<Euclidean3D>>();
             for (int f=0; f<faces.length; f++) {
                 int[] vidx=faces[f];
                 Plane p=new Plane(verts[vidx[0]],verts[vidx[1]],verts[vidx[2]],tol);