Skip to content

Commit

Permalink
Add return type to new test command output
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Mar 12, 2014
1 parent 402218c commit ff68661
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public Result execute(UIExecutionContext context) throws Exception
body.append(";");
body.append("return archive;");
Method<JavaClass> getDeployment = javaClass.addMethod().setName("getDeployment").setPublic().setStatic(true)
.setBody(body.toString());
.setBody(body.toString()).setReturnType("ForgeArchive");
getDeployment.addAnnotation("Deployment");
String annotationBody = dependenciesAnnotationBody.toString();
if (annotationBody.length() > 0)
Expand Down

0 comments on commit ff68661

Please sign in to comment.