Author: andreas
Date: Mon Feb 4 01:03:29 2008
New Revision: 618210
URL: http://svn.apache.org/viewvc?rev=618210&view=rev
Log:
Replaced param '0' for MultiSourceValidity constructor with more meaningful constant name.
Modified:
lenya/trunk/src/java/org/apache/lenya/cms/cocoon/source/AggregatingSource.java
Modified: lenya/trunk/src/java/org/apache/lenya/cms/cocoon/source/AggregatingSource.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/java/org/apache/lenya/cms/cocoon/source/AggregatingSource.java?rev=618210&r1=618209&r2=618210&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/cocoon/source/AggregatingSource.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/cocoon/source/AggregatingSource.java Mon Feb 4 01:03:29 2008
@@ -32,7 +32,7 @@
*/
public AggregatingSource(String uri, String[] uris, ServiceManager manager) {
this.manager = manager;
- this.sourceUris = (String[])uris.clone();
+ this.sourceUris = (String[]) uris.clone();
this.uri = uri;
}
@@ -151,7 +151,8 @@
SourceResolver resolver = null;
try {
resolver = (SourceResolver) this.manager.lookup(SourceResolver.ROLE);
- MultiSourceValidity aggregatedValidity = new MultiSourceValidity(resolver, 0);
+ MultiSourceValidity aggregatedValidity = new MultiSourceValidity(resolver,
+ MultiSourceValidity.CHECK_ALWAYS);
for (int i = 0; i < this.sourceUris.length; i++) {
Source source = null;
try {
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.