Made changes to getHiveName() and getVersionNumber() methods.

I have made the changes for the return variables in both methods (getHiveName & getVersionNumber).