Author: rfrovarp
Date: Tue Aug 14 07:56:23 2007
New Revision: 565787
URL: http://svn.apache.org/viewvc?view=rev&rev=565787
Log:
Should be start() instead of run(). Unless the code is supposed to run in the current thread, but at that point creating the thread is pointless.
Modified:
lenya/trunk/src/modules-core/observation/java/src/org/apache/lenya/cms/observation/ObservationManager.java
Modified: lenya/trunk/src/modules-core/observation/java/src/org/apache/lenya/cms/observation/ObservationManager.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/observation/java/src/org/apache/lenya/cms/observation/ObservationManager.java?view=diff&rev=565787&r1=565786&r2=565787
==============================================================================
--- lenya/trunk/src/modules-core/observation/java/src/org/apache/lenya/cms/observation/ObservationManager.java (original)
+++ lenya/trunk/src/modules-core/observation/java/src/org/apache/lenya/cms/observation/ObservationManager.java Tue Aug 14 07:56:23 2007
@@ -134,7 +134,7 @@
listener.eventFired(event);
}
};
- new Thread(notifier).run();
+ new Thread(notifier).start();
}
private ServiceManager manager;
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.