You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by si...@apache.org on 2009/12/14 18:08:49 UTC

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

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: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org