1 Reply Latest reply on Nov 17, 2009 9:27 AM by davsclaus

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

    mfatafta

      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");

       

      I am using Camel 1.6.1

       

      Any idea?

       

      Thanks