Skip to content

Commit

Permalink
Removed unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Mar 25, 2013
1 parent f066f65 commit 8156d91
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public boolean install()
@Override
public MavenPomResource getPomResource()
{
return (MavenPomResource) getOrigin().getProjectRoot().getChild("pom.xml").reify(MavenPomResource.class);
return getOrigin().getProjectRoot().getChild("pom.xml").reify(MavenPomResource.class);
}

@Override
Expand Down Expand Up @@ -359,6 +359,7 @@ public boolean executeMaven(final List<String> parameters)
return executeMaven(parameters.toArray(new String[] {}));
}

@SuppressWarnings("resource")
public boolean executeMaven(final String[] selected)
{
return executeMaven(new NullOutputStream(), selected);
Expand Down

0 comments on commit 8156d91

Please sign in to comment.