branch feature/8148-deleteParanamer created (now 4b71a31)
This is an automated email from the git hooks/post-receive script. New change to branch feature/8148-deleteParanamer in repository tutti. See https://gitlab.nuiton.org/codelutin/tutti.git at 4b71a31 supprimer les dependances vers paranamer (see #8148). This branch includes the following new commits: new 4b71a31 supprimer les dependances vers paranamer (see #8148). The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 4b71a3110f0afe7ba38a925103d14da9449a26bc Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Wed Mar 23 10:42:28 2016 +0100 supprimer les dependances vers paranamer (see #8148). -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/8148-deleteParanamer in repository tutti. See https://gitlab.nuiton.org/codelutin/tutti.git commit 4b71a3110f0afe7ba38a925103d14da9449a26bc Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Wed Mar 23 10:42:28 2016 +0100 supprimer les dependances vers paranamer (see #8148). --- observe-application-web/pom.xml | 7 ------- observe-services-rest/pom.xml | 6 ------ .../fr/ird/observe/services/ObserveServiceFactoryRest.java | 11 ++--------- pom.xml | 14 -------------- 4 files changed, 2 insertions(+), 36 deletions(-) diff --git a/observe-application-web/pom.xml b/observe-application-web/pom.xml index 18fd36d..b0c1a83 100644 --- a/observe-application-web/pom.xml +++ b/observe-application-web/pom.xml @@ -149,13 +149,6 @@ <artifactId>yamlbeans</artifactId> </dependency> - <!-- paranamer --> - <dependency> - <groupId>com.thoughtworks.paranamer</groupId> - <artifactId>paranamer</artifactId> - <scope>runtime</scope> - </dependency> - <!-- Logging --> <dependency> <groupId>org.slf4j</groupId> diff --git a/observe-services-rest/pom.xml b/observe-services-rest/pom.xml index d350869..7d7c23d 100644 --- a/observe-services-rest/pom.xml +++ b/observe-services-rest/pom.xml @@ -68,12 +68,6 @@ <artifactId>gson</artifactId> </dependency> - <!-- paranamer --> - <dependency> - <groupId>com.thoughtworks.paranamer</groupId> - <artifactId>paranamer</artifactId> - </dependency> - <!-- httpcomponents --> <dependency> <groupId>org.apache.httpcomponents</groupId> diff --git a/observe-services-rest/src/main/java/fr/ird/observe/services/ObserveServiceFactoryRest.java b/observe-services-rest/src/main/java/fr/ird/observe/services/ObserveServiceFactoryRest.java index 57af2f9..31ab049 100644 --- a/observe-services-rest/src/main/java/fr/ird/observe/services/ObserveServiceFactoryRest.java +++ b/observe-services-rest/src/main/java/fr/ird/observe/services/ObserveServiceFactoryRest.java @@ -29,8 +29,6 @@ import com.google.common.collect.ImmutableSet; import com.google.common.reflect.Reflection; import com.google.gson.Gson; import com.google.gson.GsonBuilder; -import com.thoughtworks.paranamer.CachingParanamer; -import com.thoughtworks.paranamer.Paranamer; import fr.ird.observe.services.configuration.ObserveDataSourceConfiguration; import fr.ird.observe.services.configuration.ObserveDataSourceConfigurationRest; import fr.ird.observe.services.configuration.ObserveDataSourceConfigurationRestConstants; @@ -68,8 +66,6 @@ public class ObserveServiceFactoryRest extends ObserveServiceFactorySupport impl /** Logger. */ private static final Log log = LogFactory.getLog(ObserveServiceFactoryRest.class); - protected final CachingParanamer paranamer = new CachingParanamer(); - protected final Supplier<Gson> gsonSupplier = new ObserveDtoGsonSupplier() { @Override @@ -141,7 +137,7 @@ public class ObserveServiceFactoryRest extends ObserveServiceFactorySupport impl protected <S extends ObserveService> S newRemoteProxyServiceInstance(Class<S> serviceType, ObserveServiceInitializer observeServiceInitializer) { - RemoteInvocationHandler handler = new RemoteInvocationHandler<>(paranamer, serviceType, observeServiceInitializer, gsonSupplier, responseBuilder); + RemoteInvocationHandler handler = new RemoteInvocationHandler<>(serviceType, observeServiceInitializer, gsonSupplier, responseBuilder); S result = Reflection.newProxy(serviceType, handler); return result; @@ -153,8 +149,6 @@ public class ObserveServiceFactoryRest extends ObserveServiceFactorySupport impl protected final Supplier<Gson> gsonSupplier; - protected final Paranamer paranamer; - protected final Class<E> serviceClass; protected final String applicationLocale; @@ -167,8 +161,7 @@ public class ObserveServiceFactoryRest extends ObserveServiceFactorySupport impl protected final ObserveResponseBuilder responseBuilder; - public RemoteInvocationHandler(Paranamer paranamer, Class<E> serviceClass, ObserveServiceInitializer observeServiceInitializer, Supplier<Gson> gsonSupplier, ObserveResponseBuilder responseBuilder) { - this.paranamer = paranamer; + public RemoteInvocationHandler(Class<E> serviceClass, ObserveServiceInitializer observeServiceInitializer, Supplier<Gson> gsonSupplier, ObserveResponseBuilder responseBuilder) { this.serviceClass = serviceClass; this.locateService = serviceClass.getCanonicalName().replace(ROOT_SERVICES_PACKAGE.getName(), "").replace(".", "/"); diff --git a/pom.xml b/pom.xml index be0aba9..dc1ad82 100644 --- a/pom.xml +++ b/pom.xml @@ -130,7 +130,6 @@ <geoToolsVersion>14.2</geoToolsVersion> <webmotionVersion>2.5</webmotionVersion> - <paranamerVersion>2.8</paranamerVersion> <httpComponentsVersion>4.5.2</httpComponentsVersion> <!-- license header configuration --> @@ -595,13 +594,6 @@ <scope>test</scope> </dependency> - <!-- Paranamer --> - <dependency> - <groupId>com.thoughtworks.paranamer</groupId> - <artifactId>paranamer</artifactId> - <version>${paranamerVersion}</version> - </dependency> - <!-- Yaml --> <dependency> <groupId>com.esotericsoftware.yamlbeans</groupId> @@ -755,12 +747,6 @@ </plugin> <plugin> - <groupId>com.thoughtworks.paranamer</groupId> - <artifactId>paranamer-maven-plugin</artifactId> - <version>${paranamerVersion}</version> - </plugin> - - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm