About Question enthuware.ocpjp.v8.2.1677 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
rion
Posts: 2
Joined: Thu Dec 06, 2012 1:36 pm
Contact:

About Question enthuware.ocpjp.v8.2.1677 :

Post by rion »

Hi

in the provided explanation example the method

Code: Select all

public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {        count = 0;  // reset the count before starting to visit a directory     }
does not return any value.

admin
Site Admin
Posts: 10389
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1677 :

Post by admin »

It should have return FileVisitResult.CONTINUE;
Fixed.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests