[cvs] expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/cache CacheStressTest.java

JCorporate Ltd jcorp at jcorp2.servlets.net
Tue Sep 21 22:19:47 PDT 2004


Update of /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/cache
In directory jcorp2.servlets.net:/tmp/cvs-serv15020/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/cache

Modified Files:
	CacheStressTest.java 
Log Message:
fixed compiler warnings


Index: CacheStressTest.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/cache/CacheStressTest.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** CacheStressTest.java	6 May 2004 09:15:22 -0000	1.11
--- CacheStressTest.java	22 Sep 2004 05:19:45 -0000	1.12
***************
*** 126,133 ****
              throws Exception {
          try {
!             CacheManager.getInstance().createCache(TestSystemInitializer.getTestContext(), cacheName, false);
  
              /* Create an ordered cache as well */
!             CacheManager.getInstance().createCache(TestSystemInitializer.getTestContext(), cacheName + "O", true);
          } catch (java.util.ConcurrentModificationException cme) {
              log.error("Error Setting Up", cme);
--- 126,133 ----
              throws Exception {
          try {
!             CacheManager.createCache(TestSystemInitializer.getTestContext(), cacheName, false);
  
              /* Create an ordered cache as well */
!             CacheManager.createCache(TestSystemInitializer.getTestContext(), cacheName + "O", true);
          } catch (java.util.ConcurrentModificationException cme) {
              log.error("Error Setting Up", cme);
***************
*** 147,152 ****
          try {
              CacheManager cmInstance = CacheManager.getInstance();
!             cmInstance.clear(TestSystemInitializer.getTestContext(), cacheName);
!             cmInstance.clear(TestSystemInitializer.getTestContext(), cacheName + "O");
          } catch (java.util.ConcurrentModificationException cme) {
              log.error("Error Tearing Down", cme);
--- 147,152 ----
          try {
              CacheManager cmInstance = CacheManager.getInstance();
!             CacheManager.clear(TestSystemInitializer.getTestContext(), cacheName);
!             CacheManager.clear(TestSystemInitializer.getTestContext(), cacheName + "O");
          } catch (java.util.ConcurrentModificationException cme) {
              log.error("Error Tearing Down", cme);



More information about the cvs mailing list