git://source.jalview.org
/
vamsas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vorbaId generator constructs valid ID strings (NCNames)
[vamsas.git]
/
src
/
uk
/
ac
/
vamsas
/
client
/
simpleclient
/
ClientSessionFileWatcherElement.java
diff --git
a/src/uk/ac/vamsas/client/simpleclient/ClientSessionFileWatcherElement.java
b/src/uk/ac/vamsas/client/simpleclient/ClientSessionFileWatcherElement.java
index
9d2b2d9
..
f8e4f12
100644
(file)
--- a/
src/uk/ac/vamsas/client/simpleclient/ClientSessionFileWatcherElement.java
+++ b/
src/uk/ac/vamsas/client/simpleclient/ClientSessionFileWatcherElement.java
@@
-53,6
+53,7
@@
public class ClientSessionFileWatcherElement extends SessionFileWatcherElement {
catch (Exception e) {
log.error("Whilst watching "+watcher.getSubject(), e);
}
catch (Exception e) {
log.error("Whilst watching "+watcher.getSubject(), e);
}
+ // log.debug("got lock watcher");
if (doclock==null)
{//no change detected
this.cycleCountSinceModif ++;
if (doclock==null)
{//no change detected
this.cycleCountSinceModif ++;
@@
-67,7
+68,7
@@
public class ClientSessionFileWatcherElement extends SessionFileWatcherElement {
//log.debug("no modification");
return false;
}
//log.debug("no modification");
return false;
}
- this.cycleCountSinceModif =0; //change detected
+ if (this.isTimeOutEnable) this.cycleCountSinceModif =0; //change detected
if(this.handler != null )
synchronized (this.handler)
{
if(this.handler != null )
synchronized (this.handler)
{