8 Replies Latest reply: Sep 11, 2008 8:01 AM by 800468 RSS

    Problem with casting List

    807589
      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,

      --Gautam