Permalink
Browse files

Remove need to register a ConfigurationSource

  • Loading branch information...
1 parent 935de7e commit 45eb6f702a414b1d157adbc552a9cddefe9a852c @vmassol committed Feb 2, 2012
View
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-extension-repository-aether</artifactId>
- <version>3.4</version>
+ <version>3.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -1,44 +0,0 @@
-package net.massol.maven;
-
-import java.util.Collections;
-import java.util.List;
-
-import javax.inject.Named;
-
-import org.xwiki.component.annotation.Component;
-import org.xwiki.configuration.ConfigurationSource;
-
-@Component
-@Named("xwikiproperties")
-public class DefaultConfigurationSource implements ConfigurationSource
-{
- public boolean containsKey(String key)
- {
- return false;
- }
-
- public List<String> getKeys()
- {
- return Collections.emptyList();
- }
-
- public <T> T getProperty(String key)
- {
- return null;
- }
-
- public <T> T getProperty(String key, T defaultValue)
- {
- return null;
- }
-
- public <T> T getProperty(String key, Class<T> valueClass)
- {
- return null;
- }
-
- public boolean isEmpty()
- {
- return true;
- }
-}
@@ -1 +0,0 @@
-net.massol.maven.DefaultConfigurationSource

0 comments on commit 45eb6f7

Please sign in to comment.