Author: dennisl
Date: Tue Jul 30 14:36:02 2013
New Revision: 1508467

URL: http://svn.apache.org/r1508467
Log:
Clean up after refactoring.

Modified:
    
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/MappingUtils.java

Modified: 
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/MappingUtils.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/MappingUtils.java?rev=1508467&r1=1508466&r2=1508467&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/MappingUtils.java
 (original)
+++ 
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/MappingUtils.java
 Tue Jul 30 14:36:02 2013
@@ -19,16 +19,10 @@ package org.apache.maven.plugin.war.util
  * 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 @@ public class MappingUtils
 
         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;
-        }
-
-    }
-
 }


Reply via email to