diff --git a/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/element/os/OSEStartingStatus.java b/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/element/os/OSEStartingStatus.java index 5db398b68a8e150d2b07010be1df6668c2811d17..05c93286a6ce162b9aab7544dbcb3a3368536304 100644 --- a/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/element/os/OSEStartingStatus.java +++ b/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/element/os/OSEStartingStatus.java @@ -1,12 +1,10 @@ package fr.pasteur.ida.zellige.surfaceConstruction.element.os; -import java.util.Set; import java.util.TreeMap; -import java.util.TreeSet; public class OSEStartingStatus extends TreeMap<Integer, Integer> { - private int dimension; + private final int dimension; private int minimumSize; public OSEStartingStatus( int dimension ) @@ -21,7 +19,7 @@ public class OSEStartingStatus extends TreeMap<Integer, Integer> if (this.size() != 0) { - if ( dimension == 0 ) + if ( this.dimension == 0 ) { for ( int i = 0; this.size() > 20 && i <= this.size()* 0.75 ;i++ ) {