/**
* Constructs the configuration parser.
- * @param aOs The stream for logging requests.
- * TODO plain java logging should be used instead of this awkward mechanism.
+ * @param aOs The stream for logging requests
*/
public ConfigurationParser(PrintStream aOs) {
_os = aOs;
PageRequest request;
if (METHOD_POST.equals(method)) {
request = new PostPageRequest(MAX_TRIES, MAX_DELAY, paramsArray,
- xslt, _os);
+ xslt);
} else if (METHOD_GET.equals(method) || method == null) {
request = new GetPageRequest(MAX_TRIES, MAX_DELAY, paramsArray,
- xslt, _os);
+ xslt);
} else {
throw new RuntimeException("Unknown request method '" + method
+ "'. Only " + METHOD_GET + " and " + METHOD_POST