diff --git a/src/fr/inria/moex/classgui/ClassificationPanel.java b/src/fr/inria/moex/classgui/ClassificationPanel.java
index 62d337e99f0573d89ee90fb6ca29672a44b38bdb..2add712b56f26a76adfe1a6cdef4da6e6c2c1d04 100644
--- a/src/fr/inria/moex/classgui/ClassificationPanel.java
+++ b/src/fr/inria/moex/classgui/ClassificationPanel.java
@@ -58,19 +58,11 @@ public class ClassificationPanel extends JPanel {
 	// JE2023: should eventually go in Classification
 	public int[] setFeature( int[] features, Feature feature, int value ) {
 		int[] newFeat = Arrays.copyOf(features, features.length);
-		switch (feature) {
-		case COLOR:
-			newFeat[3] = value;
-			break;
-		case SHAPE:
-			newFeat[2] = value;
-			break;
-		case FILLING:
-			newFeat[1] = value;
-			break;
-		case NUMBER:
-			newFeat[0] = value;
-			break;
+		switch ( feature ) {
+		case COLOR: newFeat[3] = value; break;
+		case SHAPE: newFeat[2] = value; break;
+		case FILLING: newFeat[1] = value; break;
+		case NUMBER: newFeat[0] = value; break;
 		}
 		return newFeat;
 	}