JBIDE-16943 - Removing unnecessary code

https://issues.jboss.org/browse/JBIDE-16943
Removing unnecessary code