Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Apr 6, 2011
1 parent 74f81d7 commit 73d2cca
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,4 @@ public InterpreterResult interpretCommand(ExecutionContext context, ExecutionIte
return result;
}

public static LogReformatter createLogReformatter(INodeEntry node, ExecutionListener listener) {
LogReformatter gen;
if (null != listener && listener.isTerse()) {
gen = null;
} else {
String logformat = ExecTool.DEFAULT_LOG_FORMAT;
if (null != listener && null != listener.getLogFormat()) {
logformat = listener.getLogFormat();
}
final HashMap<String, String> contextData = new HashMap<String, String>();
//discover node name and username
contextData.put("node", node.getNodename());
contextData.put("user", node.extractUserName());
// contextData.put("command", "test");
gen = new LogReformatter(logformat, contextData);
}
return gen;
}
}

0 comments on commit 73d2cca

Please sign in to comment.