if (valueObj == null) { Log.error("in Axis, getIndexFromAxisValue, Value passed in is null, returning -1"); return -1; }  List values = getValueList();
List values = getValueList();
    public int getIndexFromAxisValue(Value valueObj) {      if (valueObj == null) {        Log.error("in Axis, getIndexFromAxisValue, Value passed in is null, returning -1");        return -1;      }      List values = getValueList();      int size = values.size();      for (int i = 0; i< size; i++){        if (((Value) values.get(i)).getValue().equals(valueObj.getValue())) //if found          return i;      }      //not found      return -1;    }