Search Results

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: nam5a ; Forum: Java and child forums
Forum: Java Jul 2nd, 2009
Replies: 11
Views: 402
Posted By nam5a
Actually that was only a quick fix. The real problem was that I forgot to account for the base case in the searchForFile() method (when the array "files" is null). Thanks again though.
Forum: Java Jul 1st, 2009
Replies: 11
Views: 402
Posted By nam5a
Forum: Java Jul 1st, 2009
Replies: 11
Views: 402
Posted By nam5a
I think I may be a little confused, I thought I was doing that.
Forum: Java Jul 1st, 2009
Replies: 11
Views: 402
Posted By nam5a
When the method searchForFile() is ran, it prints out that the file is found (if you created it), once this happens the method should terminate but it does not. I don't understand why the method...
Forum: Java Jul 1st, 2009
Replies: 11
Views: 402
Posted By nam5a
I replaced the old line numbers with the actual line of code

Exception in thread "main" java.lang.NullPointerException
at Check.containsFile --> for (int i = 0; i < files.length; i++) {
at...
Forum: Java Jul 1st, 2009
Replies: 11
Views: 402
Posted By nam5a
Exception in thread "main" java.lang.NullPointerException
at Check.containsFile(Check.java:70)
at Check.searchForFile(Check.java:55)
at Check.searchForFile(Check.java:61)
at...
Forum: Java Jul 1st, 2009
Replies: 11
Views: 402
Posted By nam5a
I've created my own recursive file search. When the file is found it is printed that it is found, but the method searchForFile() does not terminate once the file is found, it continues to iterate and...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC