fix eclipse compilation errors

https://issues.jboss.org/browse/ISPN-4796