From 3a4419967da961322043c6d4bc08d5e6a1f951fc Mon Sep 17 00:00:00 2001 From: nlevitt Date: Mon, 25 Jul 2011 23:10:02 +0000 Subject: [PATCH] Remove PathFixupListener, which was only used for SurtPrefixedDecideRule initialization, now done differently as of r7218. * ConfigPathConfigurer.java remove calls to PathFixupListener * PathFixupListener.java removed --- .../archive/spring/ConfigPathConfigurer.java | 3 -- .../org/archive/spring/PathFixupListener.java | 28 ------------------- 2 files changed, 31 deletions(-) delete mode 100644 commons/src/main/java/org/archive/spring/PathFixupListener.java diff --git a/commons/src/main/java/org/archive/spring/ConfigPathConfigurer.java b/commons/src/main/java/org/archive/spring/ConfigPathConfigurer.java index 92c57ebe..a572d4fa 100644 --- a/commons/src/main/java/org/archive/spring/ConfigPathConfigurer.java +++ b/commons/src/main/java/org/archive/spring/ConfigPathConfigurer.java @@ -133,9 +133,6 @@ implements } } } - if(bean instanceof PathFixupListener) { - ((PathFixupListener)bean).pathsFixedUp(); - } return bean; } diff --git a/commons/src/main/java/org/archive/spring/PathFixupListener.java b/commons/src/main/java/org/archive/spring/PathFixupListener.java deleted file mode 100644 index 861e5dbf..00000000 --- a/commons/src/main/java/org/archive/spring/PathFixupListener.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Licensed to the Internet Archive (IA) by one or more individual - * contributors. - * - * The IA licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.archive.spring; - -/** - * Interface for notifying a bean that its ConfigPath relative paths - * have been fixed-up. - */ -public interface PathFixupListener { - public void pathsFixedUp(); -}