Mercurial > dive4elements > gnv-client
diff gnv-artifacts/ChangeLog @ 778:9a828e5a2390
Removed trailing whitespace
gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 07:58:51 +0000 |
parents | 8009961db1cb |
children | b1f5f2a8840f |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Fri Mar 26 15:31:20 2010 +0000 +++ b/gnv-artifacts/ChangeLog Mon Mar 29 07:58:51 2010 +0000 @@ -1,3 +1,10 @@ +2010-03-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/test/java/de/intevation/gnv/**/*.java, + src/main/java/de/intevation/gnv/**/*.java: + Removed trailing whitespace. + find -name \*.java | xargs sed -i 's/[ \t]\+$//' + 2010-03-26 Tim Englich <tim.englich@intevation.de> * doc/conf/queries.properties: @@ -18,9 +25,9 @@ * src/main/java/de/intevation/gnv/utils/ExclusiveExec.java: New. This class can be used to synchronize threads with a given key. To use this synchronization, you just have to do something like the following: - UniqueKey token = ExclusiveExec.INSTANCE.acquire(key); - // your code to be synchronized - ExclusiveExec.INSTANCE.release(token); + UniqueKey token = ExclusiveExec.INSTANCE.acquire(key); + // your code to be synchronized + ExclusiveExec.INSTANCE.release(token); A thread needs to wait if there is already a thread with the given key which has acquired a token. Threads with a different key don't need to wait for this thread.