Here are the filechooser patches as promised...

It appears to need to be compiled using JDK 1.4 to work
under 1.4 - I have no idea why. I've looked at the release
notes etc. and can't find any clues. It also appears that the
1.4 compiled version will not run under 1.3.
If anyone has any insight I'd appreciate their thoughts...



Index: SPFile.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-slide/src/contrib/webdavgui/src/java/org/apache/webdav/ui/filechooser/dir/SPFile.java,v
 

retrieving revision 1.3
diff -r1.3 SPFile.java
188,190c188,190
<     if (obj == null)  {
<         return false;
<     }
---
 >         if (obj == null)  {
 >             return false;
 >         }
192c192,195
<     SPFile objFile = (SPFile) obj;
---
 >         if (!(obj instanceof SPFile))
 >             return false;
 >
 >         SPFile objFile = (SPFile) obj;
194c197
<          && (super.equals(obj)) );
---
 >                      && (super.equals(obj)) );


RCS file: 
/home/cvspublic/jakarta-slide/src/contrib/webdavgui/src/java/org/apache/webdav/ui/filechooser/dir/SPWebFile.java,v
 

retrieving revision 1.4
diff -r1.4 SPWebFile.java
219c219
<     if (statusCode != HttpStatus.SC_OK) {
---
 >     if (statusCode<200 || statusCode>299) {



Index: src/java/org/apache/webdav/ui/filechooser/SPFileView.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-slide/src/contrib/webdavgui/src/java/org/apache/webdav/ui/filechooser/SPFileView.java,v
 

retrieving revision 1.2
diff -r1.2 SPFileView.java
185a186,188
 >     if (!(aFile instanceof SPFile))
 >         return icon;
 >


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to