commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1459554 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/primes/Primes.java
Date Thu, 21 Mar 2013 22:21:48 GMT
Author: tn
Date: Thu Mar 21 22:21:48 2013
New Revision: 1459554

URL: http://svn.apache.org/r1459554
Log:
Fix typo.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/primes/Primes.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/primes/Primes.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/primes/Primes.java?rev=1459554&r1=1459553&r2=1459554&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/primes/Primes.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/primes/Primes.java Thu
Mar 21 22:21:48 2013
@@ -78,7 +78,7 @@ public class Primes {
         if (n == 2) {
             return 2;
         }
-        n = n | 1;//make sur n is odd
+        n = n | 1;//make sure n is odd
         if (n == 1) {
             return 2;
         }



Mime
View raw message