Skip to content

Commit

Permalink
Minor cleanup on AbstractJRubyMojo
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@4534 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information
nicksieger committed Oct 9, 2007
1 parent 065c50b commit ba79d7e
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -18,7 +18,6 @@
import org.apache.tools.ant.types.Commandline.Argument;
import org.apache.tools.ant.types.Environment.Variable;
import org.apache.tools.ant.types.Path;
import org.apache.tools.ant.types.Reference;
import org.codehaus.plexus.util.StringUtils;

/**
Expand Down Expand Up @@ -73,7 +72,7 @@ public abstract class AbstractJRubyMojo extends AbstractMojo {

protected Java jruby(String[] args) throws MojoExecutionException {
launchDirectory.mkdirs();
Project project = null;;
Project project = null;
try {
project = getProject();
} catch (DependencyResolutionRequiredException e) {
Expand Down Expand Up @@ -126,7 +125,7 @@ protected Java jruby(String[] args) throws MojoExecutionException {

protected void ensureGems(String[] gemNames) throws MojoExecutionException {
List args = new ArrayList();
args.add("--command");
args.add("-S");
args.add("maybe_install_gems");
for (int i = 0; i < gemNames.length; i++) {
args.add(gemNames[i]);
Expand Down

0 comments on commit ba79d7e

Please sign in to comment.