jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject [1/4] jena git commit: Code review
Date Sat, 08 Oct 2016 14:08:00 GMT
Repository: jena
Updated Branches:
  refs/heads/master 7d8b4000a -> b6d0f6131


Code review


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

Branch: refs/heads/master
Commit: b6d0f6131dc2d0c7e4bce0b98676cda758bb8ecd
Parents: 424e7f3
Author: ajs6f <ajs6f@virginia.edu>
Authored: Tue Sep 27 09:16:12 2016 -0400
Committer: ajs6f <ajs6f@virginia.edu>
Committed: Sat Oct 8 10:03:22 2016 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/jena/atlas/test/Gen.java  | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/b6d0f613/jena-arq/src/main/java/org/apache/jena/atlas/test/Gen.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/atlas/test/Gen.java b/jena-arq/src/main/java/org/apache/jena/atlas/test/Gen.java
index 4639176..fc28188 100644
--- a/jena-arq/src/main/java/org/apache/jena/atlas/test/Gen.java
+++ b/jena-arq/src/main/java/org/apache/jena/atlas/test/Gen.java
@@ -39,7 +39,7 @@ public class Gen
     }
     
     /**
-     * Generate a random sequence between low (inclusive) and high (exclusive) - with duplicates
or no
+     * Generate a random sequence between low (inclusive) and high (exclusive) - with duplicates
or not
      */
     public static int[] rand(int numRand, int low, int high, boolean allDifferent) {
         Set<Integer> used = new HashSet<>();
@@ -74,17 +74,6 @@ public class Gen
             x2[a] = x2[b] ;
             x2[b] = t ;
         }
-        // Checking.
-        /*for ( int k : x ) {
-            boolean found = false ;
-            for ( int k2 : x2 )
-                if ( k == k2 ) {
-                    found = true ;
-                    break ;
-                }
-            if ( !found )
-                System.err.printf("Corrupted permute: [%s] [%s]\n", strings(x), strings(x2))
;
-        }*/
         return x2 ;
     }
 


Mime
View raw message