Fixing Version.java error: missing return statement