From 859dd9376ca65c7852c49e45a1b9de0117d0f54e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr>
Date: Wed, 22 Feb 2006 14:45:12 +0000
Subject: [PATCH] - suppressed useless trace - suppressed useless cleanup
 operations

---
 src/fr/inrialpes/exmo/align/impl/BasicAlignment.java | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/fr/inrialpes/exmo/align/impl/BasicAlignment.java b/src/fr/inrialpes/exmo/align/impl/BasicAlignment.java
index 46fbc2d7..7ceb6ac7 100644
--- a/src/fr/inrialpes/exmo/align/impl/BasicAlignment.java
+++ b/src/fr/inrialpes/exmo/align/impl/BasicAlignment.java
@@ -385,11 +385,6 @@ public class BasicAlignment implements Alignment {
 	List buffer = getArrayElements();
 	Collections.sort( buffer );
 	int size = buffer.size();
-	System.err.println( method+"("+threshold+")" );
-	for (int i=0; i < size ; i++ ) {
-	    BasicCell c = (BasicCell)buffer.get(i);
-	    System.err.println( "["+c.getStrength()+"]"+c.getObject1()+" "+c.getRelation()+" "+c.getObject2() );
-	}
 	boolean found = false;
 	int i = 0; // the number of cells to keep
 	// Depending on the method, find the limit
@@ -408,8 +403,6 @@ public class BasicAlignment implements Alignment {
 		else i++;
 	    }
 	}
-	// Flush the structure
-	for( size-- ; size >= i ; size-- ) buffer.remove(size);
 	// Introduce the result back in the structure
 	size = i;
 	hash1.clear();
-- 
GitLab