DictionaryAnnotator/src/main/java/org/apache/uima/annotator/dict_annot/impl/FeaturePathInfo_impl.java [689:724]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      switch (op) {
      case NULL: {
         return (s == null);
      }
      case NOT_NULL: {
         return (s != null);
      }
      }
      // If we get here and s is null, we fail.
      if (s == null) {
         return false;
      }
      // Now neither the value nor s are null, so we can compare them.
      final int comp = s.compareTo(value);
      switch (op) {
      case EQUALS: {
         return (comp == 0);
      }
      case NOT_EQUALS: {
         return (comp != 0);
      }
      case GREATER: {
         return (comp > 0);
      }
      case GREATER_EQ: {
         return (comp >= 0);
      }
      case LESS: {
         return (comp < 0);
      }
      case LESS_EQ: {
         return (comp <= 0);
      }
      default: {
         // Can't get here, but the compiler doesn't know that.
         return false;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



SimpleServer/src/main/java/org/apache/uima/simpleserver/config/impl/SimpleFilterImpl.java [344:379]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    switch (op) {
    case NULL: {
      return (s == null);
    }
    case NOT_NULL: {
      return (s != null);
    }
    }
    // If we get here and s is null, we fail.
    if (s == null) {
      return false;
    }
    // Now neither the value nor s are null, so we can compare them.
    final int comp = s.compareTo(value);
    switch (op) {
    case EQUALS: {
      return (comp == 0);
    }
    case NOT_EQUALS: {
      return (comp != 0);
    }
    case GREATER: {
      return (comp > 0);
    }
    case GREATER_EQ: {
      return (comp >= 0);
    }
    case LESS: {
      return (comp < 0);
    }
    case LESS_EQ: {
      return (comp <= 0);
    }
    default: {
      // Can't get here, but the compiler doesn't know that.
      return false;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



