From 22066fb8396fa662eccb3d4590264ce93a2c52c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr>
Date: Mon, 20 Feb 2012 22:12:39 +0000
Subject: [PATCH] - cosmetic changes

---
 src/fr/inrialpes/exmo/align/gen/alt/BasicAlterator.java   | 3 ++-
 src/fr/inrialpes/exmo/align/gen/alt/RemoveProperties.java | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/fr/inrialpes/exmo/align/gen/alt/BasicAlterator.java b/src/fr/inrialpes/exmo/align/gen/alt/BasicAlterator.java
index 4f137da8..c7a1f3b8 100644
--- a/src/fr/inrialpes/exmo/align/gen/alt/BasicAlterator.java
+++ b/src/fr/inrialpes/exmo/align/gen/alt/BasicAlterator.java
@@ -211,8 +211,9 @@ public abstract class BasicAlterator implements Alterator {
 
     //count - the number of elements from the vector
     //the random numElems that must be selected
+    // numElems <= count
     //uses the Fisher and Yates method to shuffle integers from an array
-    public int [] randNumbers (int count, int numElems) {
+    public int [] randNumbers ( int count, int numElems ) {
         int [] vect = new int[count];
         int [] n    = new int[numElems];
         int aux, rand;
diff --git a/src/fr/inrialpes/exmo/align/gen/alt/RemoveProperties.java b/src/fr/inrialpes/exmo/align/gen/alt/RemoveProperties.java
index aa48abb3..2cda9180 100755
--- a/src/fr/inrialpes/exmo/align/gen/alt/RemoveProperties.java
+++ b/src/fr/inrialpes/exmo/align/gen/alt/RemoveProperties.java
@@ -60,6 +60,7 @@ public class RemoveProperties extends BasicAlterator {
 
         int nbProperties = properties.size();				//the number of properties
 
+	//System.err.println( percentage );
         int toBeRemoved = Math.round( percentage*nbProperties );			//the number of properties to be removed
 
         //build the list of classes to be removed
-- 
GitLab