commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1197475 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/geometry/euclidean/threed/ test/java/org/apache/commons/math/ode/events/ test/java/org/apache/commons/math/optimization/
Date Fri, 04 Nov 2011 10:03:40 GMT
Author: sebb
Date: Fri Nov  4 10:03:39 2011
New Revision: 1197475

URL: http://svn.apache.org/viewvc?rev=1197475&view=rev
Log:
Let's not waste semi-colons ...

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Rotation.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/events/EventStateTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/BatteryNISTTest.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Rotation.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Rotation.java?rev=1197475&r1=1197474&r2=1197475&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Rotation.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Rotation.java
Fri Nov  4 10:03:39 2011
@@ -354,8 +354,8 @@ public class Rotation implements Seriali
     if (c <= inPlaneThreshold * k.getNorm() * u2Prime.getNorm()) {
       // the (q1, q2, q3) vector is also close to the (u1, u3) plane,
       // it is almost aligned with u1: we try (u2, u3) and (v2, v3)
-      k = v2Su2.crossProduct(v3Su3);;
-      c = k.dotProduct(u2.crossProduct(u3));;
+      k = v2Su2.crossProduct(v3Su3);
+      c = k.dotProduct(u2.crossProduct(u3));
 
       if (c <= 0) {
         // the (q1, q2, q3) vector is aligned with everything

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/events/EventStateTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/events/EventStateTest.java?rev=1197475&r1=1197474&r2=1197475&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/events/EventStateTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/events/EventStateTest.java
Fri Nov  4 10:03:39 2011
@@ -132,7 +132,7 @@ public class EventStateTest {
             y[0] += 1.0;
         }
 
-    };
+    }
 
 
 }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/BatteryNISTTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/BatteryNISTTest.java?rev=1197475&r1=1197474&r2=1197475&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/BatteryNISTTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/BatteryNISTTest.java
Fri Nov  4 10:03:39 2011
@@ -912,5 +912,5 @@ public class BatteryNISTTest {
             }
             return this.gradient;
         }
-    };
+    }
 }



Mime
View raw message