Changeset 16840

Show
Ignore:
Timestamp:
15.08.2008 19:01:18 (11 years ago)
Author:
ak19
Message:

Accidental paste of invalid chars in previous commit (1. Fix of bug introduced in changes made in previous commit; 2. Constructor does not check for isFile but isDir instead. The meaning is subtly different, see Java API docs.)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/file/FileNode.java

    r16839 r16840  
    4545     * characters. Therefore, when converting to utf8, if the converted filename  
    4646     * contains the special character '\ufffd', then we know the conversion did not work 
    47      * and we return the original string which may or may not be properly presented byBibliothèques face aux pressions2.html 
     47     * and we return the original string which may or may not be properly presented by 
    4848     * default. 
    4949     * See http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/CharsetDecoder.html