removed unneeded import
[jalview.git] / forester / java / src / org / forester / phylogeny / data / Confidence.java
index 8b12491..32f1f85 100644 (file)
@@ -38,7 +38,7 @@ import org.forester.util.ForesterUtil;
 
 public class Confidence implements PhylogenyData, Comparable<Confidence> {
 
-    public final static int          CONFIDENCE_DEFAULT_VALUE = -9999;
+    public final static int          CONFIDENCE_DEFAULT_VALUE = -Integer.MAX_VALUE;
     private double                   _value;
     private double                   _sd;
     private String                   _type;
@@ -160,7 +160,7 @@ public class Confidence implements PhylogenyData, Comparable<Confidence> {
 
     @Override
     public void toPhyloXML( final Writer writer, final int level, final String indentation ) throws IOException {
-        if ( getValue() == CONFIDENCE_DEFAULT_VALUE ) {
+        if ( getValue() == CONFIDENCE_DEFAULT_VALUE || getValue() < -1 ) {
             return;
         }
         writer.write( ForesterUtil.LINE_SEPARATOR );