Commit 7a069951 authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Removed binding of parameters in setOutputStream() ( parameters have already been bound )

parent 79242c4c
/*
* $Id: TSerializer.java,v 1.5 2003-02-11 15:41:01 triolet Exp $
* $Id: TSerializer.java,v 1.6 2003-02-14 07:37:40 triolet Exp $
*
* Transmorpher
*
......@@ -111,7 +111,7 @@ public abstract class TSerializer extends TProcessBasic {
*/
public void setOutputStream() throws TMRuntimeException, TMException, SAXException {
try {
super.bindParameters(getParameters());
//super.bindParameters(getParameters());
fileName = (String)getParameters().getParameter("file");
getParameters().setParameters(param);
if ((fileName != null) && (fileName.lastIndexOf('$') == -1) && (!printOut) && (!printNull)) {// all parameters have been binded
......@@ -199,6 +199,7 @@ public abstract class TSerializer extends TProcessBasic {
public void initParameters() {
try{
super.bindParameters(getParameters());
setOutputStream();
}
catch(Exception e){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment