Skip to content

Commit

Permalink
[JENKINS-29218] remove unecessary boxing of exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
lacostej committed Jul 7, 2015
1 parent ca20631 commit 70c73f2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -77,7 +77,7 @@ private static String checkUnity3dExecutablePath(String home) {
String path = unityExe.getAbsolutePath();

if (!value.isDirectory() || !unityExe.exists()) {
throw new RuntimeException(FormValidation.error(Messages.Unity3d_InvalidUnityHomeConfiguration(value, path)).getMessage());
throw new RuntimeException(Messages.Unity3d_InvalidUnityHomeConfiguration(value, path));
}

return path;
Expand Down

0 comments on commit 70c73f2

Please sign in to comment.