Author: simoneg
Date: Mon Dec 14 17:08:48 2009
New Revision: 890404

URL: http://svn.apache.org/viewvc?rev=890404&view=rev
Log:
Avoid spurious compound divs

Modified:
    
labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/CompoundableProducerImpl.aj

Modified: 
labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/CompoundableProducerImpl.aj
URL: 
http://svn.apache.org/viewvc/labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/CompoundableProducerImpl.aj?rev=890404&r1=890403&r2=890404&view=diff
==============================================================================
--- 
labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/CompoundableProducerImpl.aj
 (original)
+++ 
labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/CompoundableProducerImpl.aj
 Mon Dec 14 17:08:48 2009
@@ -88,6 +88,7 @@
                if (compound == null) return Collections.EMPTY_LIST;
                List<Producer> ret = null;
                for (CompoundRelation rel : this.compound) {
+                       if (rel.prod == null) continue;
                        if (rel.type == type && !rel.done) {
                                if (ret == null) ret = new 
ArrayList<Producer>();
                                ret.add(rel.prod);
@@ -101,6 +102,7 @@
                if (compound == null) return Collections.EMPTY_LIST;
                List<Producer> ret = null;
                for (CompoundRelation rel : this.compound) {
+                       if (rel.prod == null) continue;
                        if (rel.type == type && !rel.done) {
                                if (ret == null) ret = new 
ArrayList<Producer>();
                                ret.add(rel.prod);



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to