Changeset 25990

Show
Ignore:
Timestamp:
19.07.2012 16:40:49 (7 years ago)
Author:
sjm84
Message:

Removing an unnecessary line of code

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/ServiceRack.java

    r25975 r25990  
    213213 
    214214        NodeList requests = message.getElementsByTagName(GSXML.REQUEST_ELEM); 
    215         Document mess_doc = message.getOwnerDocument(); 
    216215        Element mainResult = this.doc.createElement(GSXML.MESSAGE_ELEM); 
    217216        if (requests.getLength() == 0) 
     
    239238                Element response = processFormat(request); 
    240239                mainResult.appendChild(this.doc.importNode(response, true)); 
    241  
    242240            } 
    243241            else 
     
    399397                response.appendChild(response.getOwnerDocument().importNode(GSXML.duplicateWithNewName(response.getOwnerDocument(), _globalFormat, GSXML.GLOBAL_FORMAT_ELEM, false), true)); 
    400398            } 
    401             System.err.println("RESPONSE = " + GSXML.xmlNodeToString(response)); 
    402399            response.setAttribute(GSXML.FROM_ATT, to); 
    403400            return response; 
    404401        } 
     402 
    405403        // else no format info 
    406404        logger.error("ServiceRack describe request: no format info for " + to + ".");