Skip to content

Commit

Permalink
Renamed transaction control commands to better mirror names
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Jan 17, 2014
1 parent 3b49980 commit 7f865e0
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Shell createShell(File initialSelection, Settings settings)
{
Assert.notNull(settings, "Settings cannot be null");
FileResource<?> initialResource = resourceFactory.create(initialSelection).reify(FileResource.class);
return new ShellImpl(resourceFactory, initialResource, settings, commandManager, addonRegistry, commandFactory);
return new ShellImpl(initialResource, settings, commandManager, addonRegistry, commandFactory);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.jboss.forge.addon.resource.DirectoryResource;
import org.jboss.forge.addon.resource.FileResource;
import org.jboss.forge.addon.resource.Resource;
import org.jboss.forge.addon.resource.ResourceFactory;
import org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry;
import org.jboss.forge.addon.shell.aesh.ForgeManProvider;
import org.jboss.forge.addon.shell.ui.ShellContextImpl;
Expand Down Expand Up @@ -64,7 +63,7 @@ public class ShellImpl implements Shell, UIRuntime
private final UIOutput output;
private final List<CommandExecutionListener> executionListeners = new LinkedList<>();

public ShellImpl(ResourceFactory factory, FileResource<?> initialResource, Settings settings,
public ShellImpl(FileResource<?> initialResource, Settings settings,
CommandManager commandManager, AddonRegistry addonRegistry, CommandControllerFactory commandFactory)
{
this.currentResource = initialResource;
Expand Down

0 comments on commit 7f865e0

Please sign in to comment.