1 Reply Latest reply on Nov 17, 2009 9:27 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");

       

      I am using Camel 1.6.1

       

      Any idea?

       

      Thanks