8 Replies Latest reply on Sep 11, 2008 1:01 PM by 800468

    Problem with casting List

      I have the following code :
      Map<String, List<Foo>> someMap = someMethod();
      logger.debug("Got response from cms with items : " + someOtherMethod((Map<String, List>)someMap ));
      It is fine in eclipse but some warning comes at the second line.
      But when I run ant build, it is throwing error on the same line.

      Thanks in advance,