Skip to content

Commit

Permalink
Version update
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jun 27, 2018
1 parent adb0ff1 commit 222a890
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import javax.annotation.Nonnull;

import com.helger.commons.annotation.IsSPIImplementation;
import com.helger.commons.factory.FactoryNewInstance;
import com.helger.peppol.smpserver.backend.ISMPBackendRegistrarSPI;
import com.helger.peppol.smpserver.backend.ISMPBackendRegistry;
import com.helger.peppol.smpserver.data.sql.mgr.SQLManagerProvider;
Expand All @@ -28,6 +27,6 @@ public final class SQLSMPBackendRegistrarSPI implements ISMPBackendRegistrarSPI
{
public void registerSMPBackend (@Nonnull final ISMPBackendRegistry aRegistry)
{
aRegistry.registerSMPBackend ("sql", FactoryNewInstance.create (SQLManagerProvider.class));
aRegistry.registerSMPBackend ("sql", SQLManagerProvider::new);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import javax.annotation.Nonnull;

import com.helger.commons.annotation.IsSPIImplementation;
import com.helger.commons.factory.FactoryNewInstance;
import com.helger.peppol.smpserver.backend.ISMPBackendRegistrarSPI;
import com.helger.peppol.smpserver.backend.ISMPBackendRegistry;
import com.helger.peppol.smpserver.data.xml.mgr.XMLManagerProvider;
Expand All @@ -34,6 +33,6 @@ public final class XMLSMPBackendRegistrarSPI implements ISMPBackendRegistrarSPI
{
public void registerSMPBackend (@Nonnull final ISMPBackendRegistry aRegistry)
{
aRegistry.registerSMPBackend ("xml", FactoryNewInstance.create (XMLManagerProvider.class));
aRegistry.registerSMPBackend ("xml", () -> new XMLManagerProvider ());
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<jaxws.version>2.2.10</jaxws.version>
<log4j.version>2.11.0</log4j.version>
<jersey.version>2.27</jersey.version>
<eclipselink.version>2.7.1</eclipselink.version>
<eclipselink.version>2.7.2</eclipselink.version>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit 222a890

Please sign in to comment.