Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage
In directory sc8-pr-cvs1:/tmp/cvs-serv31207/modules/core/src/com/babeldoc/core/pipeline/stage
Modified Files:
DomifyPipelineStage.java SmtpWriterPipelineStage.java
SocketWriterPipelineStage.java
Log Message:
updated the commons-lang component. going through all the TODOs and remediating the issues.
Index: DomifyPipelineStage.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage/DomifyPipelineStage.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** DomifyPipelineStage.java 30 Jul 2003 22:48:57 -0000 1.14
--- DomifyPipelineStage.java 16 Sep 2003 05:19:01 -0000 1.15
***************
*** 358,364 ****
/**
! * TODO: DOCUMENT ME!
! *
! * @return DOCUMENT ME!
*/
public String getErrorDescription() {
--- 358,362 ----
/**
! * @return error description
*/
public String getErrorDescription() {
***************
*** 367,373 ****
/**
! * TODO: DOCUMENT ME!
! *
! * @param exception DOCUMENT ME!
*/
public void error(SAXParseException exception) {
--- 365,369 ----
/**
! * @param exception
*/
public void error(SAXParseException exception) {
***************
*** 393,397 ****
/**
! * TODO: DOCUMENT ME!
*
* @param exception DOCUMENT ME!
--- 389,393 ----
/**
! * Handle warngings
*
* @param exception DOCUMENT ME!
Index: SmtpWriterPipelineStage.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage/SmtpWriterPipelineStage.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** SmtpWriterPipelineStage.java 22 Aug 2003 08:11:40 -0000 1.11
--- SmtpWriterPipelineStage.java 16 Sep 2003 05:19:01 -0000 1.12
***************
*** 298,304 ****
/**
! * TODO: DOCUMENT ME!
! *
! * @return DOCUMENT ME!
*
* @throws IOException DOCUMENT ME!
--- 298,302 ----
/**
! * @return input stream of the document
*
* @throws IOException DOCUMENT ME!
***************
*** 309,315 ****
/**
! * TODO: DOCUMENT ME!
! *
! * @return DOCUMENT ME!
*
* @throws IOException DOCUMENT ME!
--- 307,311 ----
/**
! * @return output stream of the document
*
* @throws IOException DOCUMENT ME!
***************
*** 320,326 ****
/**
! * TODO: DOCUMENT ME!
! *
! * @return DOCUMENT ME!
*/
public String getContentType() {
--- 316,320 ----
/**
! * @return the mimetype of the document
*/
public String getContentType() {
***************
*** 329,335 ****
/**
! * TODO: DOCUMENT ME!
! *
! * @return DOCUMENT ME!
*/
public String getName() {
--- 323,327 ----
/**
! * @return the name of the document
*/
public String getName() {
Index: SocketWriterPipelineStage.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage/SocketWriterPipelineStage.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** SocketWriterPipelineStage.java 27 Jun 2003 02:19:59 -0000 1.6
--- SocketWriterPipelineStage.java 16 Sep 2003 05:19:01 -0000 1.7
***************
*** 73,76 ****
--- 73,78 ----
import com.babeldoc.core.pipeline.PipelineStage;
import com.babeldoc.core.pipeline.PipelineStageInfo;
+ import com.babeldoc.core.pipeline.PipelineStageResult;
+ import com.babeldoc.core.pipeline.PipelineException;
import java.io.BufferedReader;
***************
*** 202,217 ****
/**
! * TODO: DOCUMENT ME!
*
! * @param strBuffer DOCUMENT ME!
*
* @return DOCUMENT ME!
*
! * @throws com.babeldoc.core.pipeline.PipelineException DOCUMENT ME!
* @throws JournalException DOCUMENT ME!
*/
! private com.babeldoc.core.pipeline.PipelineStageResult[] processResponse(
! StringBuffer strBuffer)
! throws com.babeldoc.core.pipeline.PipelineException, JournalException {
if ((strBuffer != null) && (strBuffer.length() > 0)) {
String[] results = { strBuffer.toString() };
--- 204,218 ----
/**
! * Process the results from the communication
*
! * @param strBuffer from the socket
*
* @return DOCUMENT ME!
*
! * @throws PipelineException DOCUMENT ME!
* @throws JournalException DOCUMENT ME!
*/
! private PipelineStageResult[] processResponse(StringBuffer strBuffer)
! throws PipelineException, JournalException {
if ((strBuffer != null) && (strBuffer.length() > 0)) {
String[] results = { strBuffer.toString() };
|