Commit 09805d1975bd3bb6f06c9aae38fcee4d2b9dac33
Fix possible null pointer.
git-svn-id: http://jnode.svn.sourceforge.net/svnroot/jnode/trunk@5685 407389f7-7c16-0410-9eee-ad85acb55d7f
| |   |
| 279 | 279 | final String name = child.getName(); |
| 280 | 280 | |
| 281 | 281 | // never include the parent directory and the current directory in |
| // the result |
| // if they exist by any chance |
| if (name.equals(".") || name.equals("..")) |
| // the result if they exist by any chance. |
| if (".".equals(name) || "..".equals(name)){ |
| 285 | 284 | continue; |
| } |
| 286 | 286 | |
| 287 | 287 | entryPath.append(name); |
| 288 | 288 | entryCache.setEntry(entryPath.toString(), child); |