if (axisList.size() == 0){
if (axisList.size() == 0 || !this.hasFieldAxis() ){
   public FieldAxis getFieldAxis() {       List axisList = getAxes();       if (axisList.size() == 0){  //empty axisList         return null;       }          Object axisObj = axisList.get(0);          if (axisObj instanceof FieldAxis)         return (FieldAxis) axisObj;       else         return null;   }