Clean up after refactoring.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1508467 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/maven/plugin/war/util/MappingUtils.java b/src/main/java/org/apache/maven/plugin/war/util/MappingUtils.java
index bdf8a75..b72302e 100644
--- a/src/main/java/org/apache/maven/plugin/war/util/MappingUtils.java
+++ b/src/main/java/org/apache/maven/plugin/war/util/MappingUtils.java
@@ -19,16 +19,10 @@
* under the License.
*/
-import java.util.Collections;
-import java.util.List;
-import java.util.Properties;
-
import org.apache.maven.artifact.Artifact;
import org.codehaus.plexus.interpolation.InterpolationException;
import org.codehaus.plexus.interpolation.ObjectBasedValueSource;
-import org.codehaus.plexus.interpolation.PropertiesBasedValueSource;
import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
-import org.codehaus.plexus.interpolation.ValueSource;
/**
* Utilities used to evaluate expression.
@@ -79,38 +73,4 @@
return value;
}
-
- /**
- * Internal implementation of {@link ValueSource}
- */
- static class PropertiesInterpolationValueSource
- implements ValueSource
- {
-
- private final Properties properties;
-
- public PropertiesInterpolationValueSource( Properties properties )
- {
- this.properties = properties;
- }
-
- public Object getValue( String key )
- {
- return properties.getProperty( key );
- }
-
- public void clearFeedback()
- {
- // nothing here
-
- }
-
- public List getFeedback()
- {
- // nothing here just NPE free
- return Collections.EMPTY_LIST;
- }
-
- }
-
}