Update of 
/var/cvs/contributions/CMSContainer_Modules/subsite/src/java/com/finalist/cmsc/subsite/forms
In directory 
james.mmbase.org:/tmp/cvs-serv6553/subsite/src/java/com/finalist/cmsc/subsite/forms

Modified Files:
        PPContentAction.java 
Log Message:
CMSC-907 - Fixed bad code constructions and did some improvements


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/subsite/src/java/com/finalist/cmsc/subsite/forms
See also: http://www.mmbase.org/jira/browse/CMSC-907


Index: PPContentAction.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/subsite/src/java/com/finalist/cmsc/subsite/forms/PPContentAction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- PPContentAction.java        10 May 2008 16:31:48 -0000      1.5
+++ PPContentAction.java        4 Jul 2008 08:04:20 -0000       1.6
@@ -49,11 +49,11 @@
                direction = null;
             }
             
-            Cloud remoteCloud = null;
+            //Cloud remoteCloud = null;
             
             //Retrieve live-cloud (if exists) and continue to search Live for 
content Elements
             try {
-               remoteCloud = CloudManager.getCloud(cloud, "live.server");      
+               //Cloud remoteCloud = CloudManager.getCloud(cloud, 
"live.server");      
 
                //Retrieve Node & live-channel
                    //int liveNumber = Publish.getRemoteNumber(ppChannel);
@@ -61,9 +61,8 @@
                    
                    ppChannel = Publish.getRemoteNode(ppChannel);
 
-                   cloud = remoteCloud; //Use the remoteCloud from now on.
                 } catch (BridgeException e) {
-                       //When the remoteCloud could not be found, use the 
normal cloud and we're fine.
+                       //When no remote nodes are found, use the normal 
ppChannel and it is fine.
                 }
             
          NodeList elements = RepositoryUtil.getLinkedElements(ppChannel, null, 
orderby, direction, false, -1, -1, -1, -1, -1);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to