int priorityValue(int state){
  int value=0;
switch (state) {
case AbstractValue.UNKNOWN:
    value++;
case AbstractValue.DIFF:
  value++;
case AbstractValue.EDITED:
value++;
case AbstractValue.FROMFILE:
value++;
default :
return value;
}
}

int priorityValue ( int state ) { int value = 0 ; switch ( state ) { case AbstractValue . UNKNOWN : value ++ ; case AbstractValue . DIFF : value ++ ; case AbstractValue . EDITED : value ++ ; case AbstractValue . FROMFILE : value ++ ; default : return value ; } }
assigns a priority value to a given state .
