You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2003/12/22 14:54:27 UTC
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components ExtendedComponentSelector.java
joerg 2003/12/22 05:54:27
Modified: src/java/org/apache/cocoon/components
ExtendedComponentSelector.java
Log:
avoid another unused ... warning
Revision Changes Path
1.8 +2 -2 cocoon-2.1/src/java/org/apache/cocoon/components/ExtendedComponentSelector.java
Index: ExtendedComponentSelector.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/ExtendedComponentSelector.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ExtendedComponentSelector.java 6 Nov 2003 19:18:32 -0000 1.7
+++ ExtendedComponentSelector.java 22 Dec 2003 13:54:27 -0000 1.8
@@ -214,7 +214,7 @@
// Pass a copy of the top-level object to superclass so that
// our name is properly initialized
// FIXME : could be avoided if parent m_role was protected or had protected accessors
- DefaultConfiguration temp = new DefaultConfiguration(config.getName(), config.getLocation());
+ DefaultConfiguration temp = new DefaultConfiguration(config.getName(), this.location);
if (config.getAttribute("role", null) != null) {
temp.setAttribute("role", this.roleName);
}