Code clenup in JdkInstall class
Code clenup in JdkInstall class

Fix removes '()' from Promise().resolve() call and updates
parameter passed to installer.succeed to true instead of string
found in file which might be falsy

dgolovin/developer-platform-install,redhat-developer-tooling/developer-platform-install,redhat-developer-tooling/developer-platform-install,dgolovin/developer-platform-install