[cvs] expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller DBController.java

JCorporate Ltd jcorp at jcorp2.servlets.net
Tue Sep 21 22:16:24 PDT 2004


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

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


Index: DBController.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/DBController.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** DBController.java	8 Jul 2004 05:59:23 -0000	1.29
--- DBController.java	22 Sep 2004 05:16:22 -0000	1.30
***************
*** 115,122 ****
      public DBController() {
          if (!listenersSetup) {
!             CacheManager.getInstance().addListener(CACHE_NAME, UserGroup.class.getName());
!             CacheManager.getInstance().addListener(CACHE_NAME, ControllerSecurity.class.getName());
!             CacheManager.getInstance().addListener(CACHE_NAME, DefaultUserInfo.class.getName());
!             CacheManager.getInstance().addListener(CACHE_NAME, GroupMembers.class.getName());
  
              listenersSetup = true;
--- 115,122 ----
      public DBController() {
          if (!listenersSetup) {
!             CacheManager.addListener(CACHE_NAME, UserGroup.class.getName());
!             CacheManager.addListener(CACHE_NAME, ControllerSecurity.class.getName());
!             CacheManager.addListener(CACHE_NAME, DefaultUserInfo.class.getName());
!             CacheManager.addListener(CACHE_NAME, GroupMembers.class.getName());
  
              listenersSetup = true;
***************
*** 138,142 ****
                                                         String dataContext, String className, String states)
              throws CacheException {
!         CacheSystem cs = CacheManager.getInstance().getCacheSystem(dataContext);
          if (cs == null) {
              //We aren't caching for this context.
--- 138,142 ----
                                                         String dataContext, String className, String states)
              throws CacheException {
!         CacheSystem cs = CacheManager.getCacheSystem(dataContext);
          if (cs == null) {
              //We aren't caching for this context.
***************
*** 319,324 ****
          String keySuffix = "|" + controllerClassName;
  
!         CacheSystem cs = CacheManager.getInstance()
!                 .getCacheSystem(request.getDataContext());
  
          //Ok, here's the critical section
--- 319,323 ----
          String keySuffix = "|" + controllerClassName;
  
!         CacheSystem cs = CacheManager.getCacheSystem(request.getDataContext());
  
          //Ok, here's the critical section



More information about the cvs mailing list