Changeset 16839 for gli/trunk/src
- Timestamp:
- 2008-08-15T18:58:19+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/file/FileNode.java
r16838 r16839 29 29 30 30 // Files cannot have children 31 if (file != null && file.isFile()) {31 if (file != null && !file.isDirectory()) { //file.isFile()) { 32 32 // Cache this result to prevent unceasing missing disk messages being thrown if the 33 33 // removable media was, um, removed after directory mapped 34 34 this.allows_children = false; 35 }36 displayFileName = calcDisplayString();35 displayFileName = calcDisplayString(); 36 } 37 37 } 38 38 … … 45 45 * characters. Therefore, when converting to utf8, if the converted filename 46 46 * 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 by 47 * and we return the original string which may or may not be properly presented byBibliothèques face aux pressions2.html 48 48 * default. 49 49 * See http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/CharsetDecoder.html
Note:
See TracChangeset
for help on using the changeset viewer.