5. Araxis Merge File Comparison Report

Produced by Araxis Merge on Mon Mar 6 17:40:22 2006 UTC. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

5.1 Files compared

# Location File Last Modified
1 C:\Merge Test Files\4.0.6\catalina\src\share\org\apache\catalina\connector\http SocketInputStream.java Tue Oct 8 15:15:34 2002 UTC
2 C:\Merge Test Files\4.1.18\catalina\src\share\org\apache\catalina\connector\http SocketInputStream.java Thu Dec 19 13:49:38 2002 UTC
3 C:\Merge Test Files\4.1.24\catalina\src\share\org\apache\catalina\connector\http SocketInputStream.java Wed Mar 19 09:18:34 2003 UTC
Note: Merge considers the second file to be the common ancestor of the others.

5.2 Comparison summary

Description Between
Files 1 and 2
Between
Files 2 and 3
Relative to
Common Ancestor
Text Blocks Lines Text Blocks Lines Text Blocks Lines
Unchanged 3 597 1 601
Changed 1 6 0 0 1 6
Inserted 1 1 0 0 0 0
Removed 0 0 0 0 1 1
Note: An automatic merge would leave 0 conflict(s).

5.3 Comparison options

Whitespace All differences in whitespace within lines are ignored
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

5.4 Active regular expressions

No regular expressions were active.

5.5 Comparison detail

1   /*   1   /*   1   /*
2     *   $Header:   /home/cvs/ jakarta-to mcat-4.0/c atalina/sr c/share/or g/apache/c atalina/co nnector/ht tp/SocketI nputStream .java,v   1. 9   200 1 /0 8 / 0 8   2 0 :02 :1 7   remm   Exp   $   2     *   $Header:   /home/cvs/ jakarta-to mcat-4.0/c atalina/sr c/share/or g/apache/c atalina/co nnector/ht tp/SocketI nputStream .java,v   1. 10   200 2 /0 3 / 1 8
  0 7 :1 5:40   remm   Exp   $
  2    * $Header : /home/cv s/jakarta- tomcat-4.0 /catalina/ src/share/ org/apache /catalina/ connector/ http/Socke tInputStre am.java,v  1.10 2002/ 03/18 07:1 5:40 remm  Exp $
3     *   $Revision:   1. 9   $   3     *   $Revision:   1. 10   $   3    * $Revisi on: 1.10 $
4     *   $Date:   200 1 /0 8 / 0 8   20: 0 2 :1 7   $   4     *   $Date:   200 2 /0 3 / 1 8
  0 7 :1 5:40   $
  4    * $Date:  2002/03/18  07:15:40  $
5    *   5    *   5    *
6    * ======= ========== ========== ========== ========== ========== ========== =   6    * ======= ========== ========== ========== ========== ========== ========== =   6    * ======= ========== ========== ========== ========== ========== ========== =
7    *   7    *   7    *
8    * The Apa che Softwa re License , Version  1.1   8    * The Apa che Softwa re License , Version  1.1   8    * The Apa che Softwa re License , Version  1.1
9    *   9    *   9    *
10    * Copyrig ht (c) 199 9 The Apac he Softwar e Foundati on.  All r ights   10    * Copyrig ht (c) 199 9 The Apac he Softwar e Foundati on.  All r ights   10    * Copyrig ht (c) 199 9 The Apac he Softwar e Foundati on.  All r ights
11    * reserve d.   11    * reserve d.   11    * reserve d.
12    *   12    *   12    *
13    * Redistr ibution an d use in s ource and  binary for ms, with o r without   13    * Redistr ibution an d use in s ource and  binary for ms, with o r without   13    * Redistr ibution an d use in s ource and  binary for ms, with o r without
14    * modific ation, are  permitted  provided  that the f ollowing c onditions   14    * modific ation, are  permitted  provided  that the f ollowing c onditions   14    * modific ation, are  permitted  provided  that the f ollowing c onditions
15    * are met :   15    * are met :   15    * are met :
16    *   16    *   16    *
17    * 1. Redi stribution s of sourc e code mus t retain t he above c opyright   17    * 1. Redi stribution s of sourc e code mus t retain t he above c opyright   17    * 1. Redi stribution s of sourc e code mus t retain t he above c opyright
18    *    noti ce, this l ist of con ditions an d the foll owing disc laimer.   18    *    noti ce, this l ist of con ditions an d the foll owing disc laimer.   18    *    noti ce, this l ist of con ditions an d the foll owing disc laimer.
19    *   19    *   19    *
20    * 2. Redi stribution s in binar y form mus t reproduc e the abov e copyrigh t   20    * 2. Redi stribution s in binar y form mus t reproduc e the abov e copyrigh t   20    * 2. Redi stribution s in binar y form mus t reproduc e the abov e copyrigh t
21    *    noti ce, this l ist of con ditions an d the foll owing disc laimer in   21    *    noti ce, this l ist of con ditions an d the foll owing disc laimer in   21    *    noti ce, this l ist of con ditions an d the foll owing disc laimer in
22    *    the  documentat ion and/or  other mat erials pro vided with  the   22    *    the  documentat ion and/or  other mat erials pro vided with  the   22    *    the  documentat ion and/or  other mat erials pro vided with  the
23    *    dist ribution.   23    *    dist ribution.   23    *    dist ribution.
24    *   24    *   24    *
25    * 3. The  end-user d ocumentati on include d with the  redistrib ution, if   25    * 3. The  end-user d ocumentati on include d with the  redistrib ution, if   25    * 3. The  end-user d ocumentati on include d with the  redistrib ution, if
26    *    any,  must incl ude the fo llowing ac knowlegeme nt:   26    *    any,  must incl ude the fo llowing ac knowlegeme nt:   26    *    any,  must incl ude the fo llowing ac knowlegeme nt:
27    *       " This produ ct include s software  developed  by the   27    *       " This produ ct include s software  developed  by the   27    *       " This produ ct include s software  developed  by the
28    *         Apache Sof tware Foun dation (ht tp://www.a pache.org/ )."   28    *         Apache Sof tware Foun dation (ht tp://www.a pache.org/ )."   28    *         Apache Sof tware Foun dation (ht tp://www.a pache.org/ )."
29    *    Alte rnately, t his acknow legement m ay appear  in the sof tware itse lf,   29    *    Alte rnately, t his acknow legement m ay appear  in the sof tware itse lf,   29    *    Alte rnately, t his acknow legement m ay appear  in the sof tware itse lf,
30    *    if a nd whereve r such thi rd-party a cknowlegem ents norma lly appear .   30    *    if a nd whereve r such thi rd-party a cknowlegem ents norma lly appear .   30    *    if a nd whereve r such thi rd-party a cknowlegem ents norma lly appear .
31    *   31    *   31    *
32    * 4. The  names "The  Jakarta P roject", " Tomcat", a nd "Apache  Software   32    * 4. The  names "The  Jakarta P roject", " Tomcat", a nd "Apache  Software   32    * 4. The  names "The  Jakarta P roject", " Tomcat", a nd "Apache  Software
33    *    Foun dation" mu st not be  used to en dorse or p romote pro ducts deri ved   33    *    Foun dation" mu st not be  used to en dorse or p romote pro ducts deri ved   33    *    Foun dation" mu st not be  used to en dorse or p romote pro ducts deri ved
34    *    from  this soft ware witho ut prior w ritten per mission. F or written   34    *    from  this soft ware witho ut prior w ritten per mission. F or written   34    *    from  this soft ware witho ut prior w ritten per mission. F or written
35    *    perm ission, pl ease conta ct apache@ apache.org .   35    *    perm ission, pl ease conta ct apache@ apache.org .   35    *    perm ission, pl ease conta ct apache@ apache.org .
36    *   36    *   36    *
37    * 5. Prod ucts deriv ed from th is softwar e may not  be called  "Apache"   37    * 5. Prod ucts deriv ed from th is softwar e may not  be called  "Apache"   37    * 5. Prod ucts deriv ed from th is softwar e may not  be called  "Apache"
38    *    nor  may "Apach e" appear  in their n ames witho ut prior w ritten   38    *    nor  may "Apach e" appear  in their n ames witho ut prior w ritten   38    *    nor  may "Apach e" appear  in their n ames witho ut prior w ritten
39    *    perm ission of  the Apache  Group.   39    *    perm ission of  the Apache  Group.   39    *    perm ission of  the Apache  Group.
40    *   40    *   40    *
41    * THIS SO FTWARE IS  PROVIDED ` `AS IS'' A ND ANY EXP RESSED OR  IMPLIED   41    * THIS SO FTWARE IS  PROVIDED ` `AS IS'' A ND ANY EXP RESSED OR  IMPLIED   41    * THIS SO FTWARE IS  PROVIDED ` `AS IS'' A ND ANY EXP RESSED OR  IMPLIED
42    * WARRANT IES, INCLU DING, BUT  NOT LIMITE D TO, THE  IMPLIED WA RRANTIES   42    * WARRANT IES, INCLU DING, BUT  NOT LIMITE D TO, THE  IMPLIED WA RRANTIES   42    * WARRANT IES, INCLU DING, BUT  NOT LIMITE D TO, THE  IMPLIED WA RRANTIES
43    * OF MERC HANTABILIT Y AND FITN ESS FOR A  PARTICULAR  PURPOSE A RE   43    * OF MERC HANTABILIT Y AND FITN ESS FOR A  PARTICULAR  PURPOSE A RE   43    * OF MERC HANTABILIT Y AND FITN ESS FOR A  PARTICULAR  PURPOSE A RE
44    * DISCLAI MED.  IN N O EVENT SH ALL THE AP ACHE SOFTW ARE FOUNDA TION OR   44    * DISCLAI MED.  IN N O EVENT SH ALL THE AP ACHE SOFTW ARE FOUNDA TION OR   44    * DISCLAI MED.  IN N O EVENT SH ALL THE AP ACHE SOFTW ARE FOUNDA TION OR
45    * ITS CON TRIBUTORS  BE LIABLE  FOR ANY DI RECT, INDI RECT, INCI DENTAL,   45    * ITS CON TRIBUTORS  BE LIABLE  FOR ANY DI RECT, INDI RECT, INCI DENTAL,   45    * ITS CON TRIBUTORS  BE LIABLE  FOR ANY DI RECT, INDI RECT, INCI DENTAL,
46    * SPECIAL , EXEMPLAR Y, OR CONS EQUENTIAL  DAMAGES (I NCLUDING,  BUT NOT   46    * SPECIAL , EXEMPLAR Y, OR CONS EQUENTIAL  DAMAGES (I NCLUDING,  BUT NOT   46    * SPECIAL , EXEMPLAR Y, OR CONS EQUENTIAL  DAMAGES (I NCLUDING,  BUT NOT
47    * LIMITED  TO, PROCU REMENT OF  SUBSTITUTE  GOODS OR  SERVICES;  LOSS OF   47    * LIMITED  TO, PROCU REMENT OF  SUBSTITUTE  GOODS OR  SERVICES;  LOSS OF   47    * LIMITED  TO, PROCU REMENT OF  SUBSTITUTE  GOODS OR  SERVICES;  LOSS OF
48    * USE, DA TA, OR PRO FITS; OR B USINESS IN TERRUPTION ) HOWEVER  CAUSED AND   48    * USE, DA TA, OR PRO FITS; OR B USINESS IN TERRUPTION ) HOWEVER  CAUSED AND   48    * USE, DA TA, OR PRO FITS; OR B USINESS IN TERRUPTION ) HOWEVER  CAUSED AND
49    * ON ANY  THEORY OF  LIABILITY,  WHETHER I N CONTRACT , STRICT L IABILITY,   49    * ON ANY  THEORY OF  LIABILITY,  WHETHER I N CONTRACT , STRICT L IABILITY,   49    * ON ANY  THEORY OF  LIABILITY,  WHETHER I N CONTRACT , STRICT L IABILITY,
50    * OR TORT  (INCLUDIN G NEGLIGEN CE OR OTHE RWISE) ARI SING IN AN Y WAY OUT   50    * OR TORT  (INCLUDIN G NEGLIGEN CE OR OTHE RWISE) ARI SING IN AN Y WAY OUT   50    * OR TORT  (INCLUDIN G NEGLIGEN CE OR OTHE RWISE) ARI SING IN AN Y WAY OUT
51    * OF THE  USE OF THI S SOFTWARE , EVEN IF  ADVISED OF  THE POSSI BILITY OF   51    * OF THE  USE OF THI S SOFTWARE , EVEN IF  ADVISED OF  THE POSSI BILITY OF   51    * OF THE  USE OF THI S SOFTWARE , EVEN IF  ADVISED OF  THE POSSI BILITY OF
52    * SUCH DA MAGE.   52    * SUCH DA MAGE.   52    * SUCH DA MAGE.
53    * ======= ========== ========== ========== ========== ========== ========== =   53    * ======= ========== ========== ========== ========== ========== ========== =   53    * ======= ========== ========== ========== ========== ========== ========== =
54    *   54    *   54    *
55    * This so ftware con sists of v oluntary c ontributio ns made by  many   55    * This so ftware con sists of v oluntary c ontributio ns made by  many   55    * This so ftware con sists of v oluntary c ontributio ns made by  many
56    * individ uals on be half of th e Apache S oftware Fo undation.   For more   56    * individ uals on be half of th e Apache S oftware Fo undation.   For more   56    * individ uals on be half of th e Apache S oftware Fo undation.   For more
57    * informa tion on th e Apache S oftware Fo undation,  please see   57    * informa tion on th e Apache S oftware Fo undation,  please see   57    * informa tion on th e Apache S oftware Fo undation,  please see
58    * <http:/ /www.apach e.org/>.   58    * <http:/ /www.apach e.org/>.   58    * <http:/ /www.apach e.org/>.
59    *   59    *   59    *
60    * [Additi onal notic es, if req uired by p rior licen sing condi tions]   60    * [Additi onal notic es, if req uired by p rior licen sing condi tions]   60    * [Additi onal notic es, if req uired by p rior licen sing condi tions]
61    *   61    *   61    *
62    */   62    */   62    */
63     63     63  
64     64     64  
65   package or g.apache.c atalina.co nnector.ht tp;   65   package or g.apache.c atalina.co nnector.ht tp;   65   package or g.apache.c atalina.co nnector.ht tp;
66     66     66  
67   import jav a.io.IOExc eption;   67   import jav a.io.IOExc eption;   67   import jav a.io.IOExc eption;
68   import jav a.io.Input Stream;   68   import jav a.io.Input Stream;   68   import jav a.io.Input Stream;
69   import jav a.io.EOFEx ception;   69   import jav a.io.EOFEx ception;   69   import jav a.io.EOFEx ception;
70   import org .apache.ca talina.uti l.StringMa nager;   70   import org .apache.ca talina.uti l.StringMa nager;   70   import org .apache.ca talina.uti l.StringMa nager;
71     71     71  
72   /**   72   /**   72   /**
73    * Extends  InputStre am to be m ore effici ent readin g lines du ring HTTP   73    * Extends  InputStre am to be m ore effici ent readin g lines du ring HTTP   73    * Extends  InputStre am to be m ore effici ent readin g lines du ring HTTP
74    * header  processing .   74    * header  processing .   74    * header  processing .
75    *   75    *   75    *
76    * @author  <a href=" mailto:rem m@apache.o rg">Remy M aucherat</ a>   76    * @author  <a href=" mailto:rem m@apache.o rg">Remy M aucherat</ a>   76    * @author  <a href=" mailto:rem m@apache.o rg">Remy M aucherat</ a>
    77    * @deprec ated   77    * @deprec ated
77    */   78    */   78    */
78   public cla ss SocketI nputStream  extends I nputStream  {   79   public cla ss SocketI nputStream  extends I nputStream  {   79   public cla ss SocketI nputStream  extends I nputStream  {
79     80     80  
80     81     81  
81       // --- ---------- ---------- ---------- ---------- ---------- ---------  Constants   82       // --- ---------- ---------- ---------- ---------- ---------- ---------  Constants   82       // --- ---------- ---------- ---------- ---------- ---------- ---------  Constants
82     83     83  
83     84     84  
84       /**   85       /**   85       /**
85        * CR.   86        * CR.   86        * CR.
86        */   87        */   87        */
87       privat e static f inal byte  CR = (byte ) '\r';   88       privat e static f inal byte  CR = (byte ) '\r';   88       privat e static f inal byte  CR = (byte ) '\r';
88     89     89  
89     90     90  
90       /**   91       /**   91       /**
91        * LF.   92        * LF.   92        * LF.
92        */   93        */   93        */
93       privat e static f inal byte  LF = (byte ) '\n';   94       privat e static f inal byte  LF = (byte ) '\n';   94       privat e static f inal byte  LF = (byte ) '\n';
94     95     95  
95     96     96  
96       /**   97       /**   97       /**
97        * SP.   98        * SP.   98        * SP.
98        */   99        */   99        */
99       privat e static f inal byte  SP = (byte ) ' ';   100       privat e static f inal byte  SP = (byte ) ' ';   100       privat e static f inal byte  SP = (byte ) ' ';
100     101     101  
101     102     102  
102       /**   103       /**   103       /**
103        * HT.   104        * HT.   104        * HT.
104        */   105        */   105        */
105       privat e static f inal byte  HT = (byte ) '\t';   106       privat e static f inal byte  HT = (byte ) '\t';   106       privat e static f inal byte  HT = (byte ) '\t';
106     107     107  
107     108     108  
108       /**   109       /**   109       /**
109        * COL ON.   110        * COL ON.   110        * COL ON.
110        */   111        */   111        */
111       privat e static f inal byte  COLON = (b yte) ':';   112       privat e static f inal byte  COLON = (b yte) ':';   112       privat e static f inal byte  COLON = (b yte) ':';
112     113     113  
113     114     114  
114       /**   115       /**   115       /**
115        * Low er case of fset.   116        * Low er case of fset.   116        * Low er case of fset.
116        */   117        */   117        */
117       privat e static f inal int L C_OFFSET =  'A' - 'a' ;   118       privat e static f inal int L C_OFFSET =  'A' - 'a' ;   118       privat e static f inal int L C_OFFSET =  'A' - 'a' ;
118     119     119  
119     120     120  
120       /**   121       /**   121       /**
121        * Int ernal buff er.   122        * Int ernal buff er.   122        * Int ernal buff er.
122        */   123        */   123        */
123       protec ted byte b uf[];   124       protec ted byte b uf[];   124       protec ted byte b uf[];
124     125     125  
(476 unchanged lines omitted)