vgritsenko 2003/01/24 18:48:35
Modified: src/java/org/apache/cocoon/components/crawler
SimpleCocoonCrawlerImpl.java
Log:
conf is not null
Revision Changes Path
1.19 +4 -4
xml-cocoon2/src/java/org/apache/cocoon/components/crawler/SimpleCocoonCrawlerImpl.java
Index: SimpleCocoonCrawlerImpl.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/crawler/SimpleCocoonCrawlerImpl.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- SimpleCocoonCrawlerImpl.java 9 Jan 2003 18:46:11 -0000 1.18
+++ SimpleCocoonCrawlerImpl.java 25 Jan 2003 02:48:35 -0000 1.19
@@ -231,7 +231,7 @@
Configuration[] children;
children = configuration.getChildren(INCLUDE_CONFIG);
- if (children != null && children.length > 0) {
+ if (children.length > 0) {
includeCrawlingURL = new HashSet();
for (int i = 0; i < children.length; i++) {
String pattern = children[i].getValue();
@@ -253,7 +253,7 @@
}
children = configuration.getChildren(EXCLUDE_CONFIG);
- if (children != null && children.length > 0) {
+ if (children.length > 0) {
excludeCrawlingURL = new HashSet();
for (int i = 0; i < children.length; i++) {
String pattern = children[i].getValue();
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]