Commit 09805d1975bd3bb6f06c9aae38fcee4d2b9dac33

  • avatar
  • galatnm <galatnm @407389f7-7c16-0410…ad85acb55d7f.>
  • Fri Oct 23 09:44:44 CEST 2009
Fix possible null pointer.

git-svn-id: http://jnode.svn.sourceforge.net/svnroot/jnode/trunk@5685 407389f7-7c16-0410-9eee-ad85acb55d7f
  
279279 final String name = child.getName();
280280
281281 // never include the parent directory and the current directory in
282 // the result
283 // if they exist by any chance
284 if (name.equals(".") || name.equals(".."))
282 // the result if they exist by any chance.
283 if (".".equals(name) || "..".equals(name)){
285284 continue;
285 }
286286
287287 entryPath.append(name);
288288 entryCache.setEntry(entryPath.toString(), child);