1 Reply Latest reply on Nov 17, 2009 12:25 AM by Claus Ibsen

    Predicate is a raw type. References to generic type Predicate<E> should be

    Mack Fata Newbie

      I am getting the followiong warning and don't know how to get rid of it:

       

      Predicate is a raw type. References to generic type Predicate should be parameterized

       

      for the following Java line:

       

      Predicate numberOf = header( "numberOf" ).isEqualTo("1");