projects
/
org.ibex.jinetd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates, resin support
[org.ibex.jinetd.git]
/
src
/
org
/
ibex
/
jinetd
/
Watcher.java
diff --git
a/src/org/ibex/jinetd/Watcher.java
b/src/org/ibex/jinetd/Watcher.java
index
980f864
..
265073c
100644
(file)
--- a/
src/org/ibex/jinetd/Watcher.java
+++ b/
src/org/ibex/jinetd/Watcher.java
@@
-16,7
+16,7
@@
public abstract class Watcher extends File {
private Vec watched = new Vec();
public void watch(File f) { watched.addElement(new Watched(f.getAbsolutePath())); }
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--)
public void scan() throws IOException {
for(int i=watched.size()-1; i>=0; i--)