private Vec watched = new Vec();
public void watch(File f) { watched.addElement(new Watched(f.getAbsolutePath())); }
- public void watch(String s) { watch(getAbsolutePath() + File.separatorChar + s); }
+ public void watch(String s) { watch(new File(getAbsolutePath() + File.separatorChar + s)); }
public void scan() throws IOException {
for(int i=watched.size()-1; i>=0; i--)