Adding back the strangely necessary (but unnecessary) casts that are apparently needed for a JDK 1.7 build...


git-svn-id: https://svn.apache.org/repos/asf/karaf/branches/karaf-2.x@1545569 13f79535-47bb-0310-9956-ffa450edef68