import org.neo4j.util.shell.Session;
import org.neo4j.util.shell.ShellException;
public abstract class NeoApp extends AbstractApp
{
private static final String NODE_KEY = "CURRENT_NODE";
<BUG>protected Node getCurrentNode( Session session )
{</BUG>
Number id = ( Number ) safeGet( session, NODE_KEY );
Node node = null;
if ( id == null )

import org.neo4j.util.shell.Session;
import org.neo4j.util.shell.ShellException;
public abstract class NeoApp extends AbstractApp
{
private static final String NODE_KEY = "CURRENT_NODE";
protected static Node getCurrentNode( NeoShellServer server,
Session session )
{
Number id = ( Number ) safeGet( session, NODE_KEY );
Node node = null;
if ( id == null )
