From 58b03da8dc5b087b72058278339c6f85d1e54726 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 25 Jan 2013 19:18:43 +0100 Subject: [PATCH] Make constructor injectable. --- .../net/pterodactylus/sone/data/impl/DefaultPostBuilderFactory.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/data/impl/DefaultPostBuilderFactory.java b/src/main/java/net/pterodactylus/sone/data/impl/DefaultPostBuilderFactory.java index 25f6a86..cf32640 100644 --- a/src/main/java/net/pterodactylus/sone/data/impl/DefaultPostBuilderFactory.java +++ b/src/main/java/net/pterodactylus/sone/data/impl/DefaultPostBuilderFactory.java @@ -17,6 +17,8 @@ package net.pterodactylus.sone.data.impl; +import com.google.inject.Inject; + import net.pterodactylus.sone.core.SoneProvider; import net.pterodactylus.sone.data.PostBuilder; import net.pterodactylus.sone.data.PostBuilderFactory; @@ -38,6 +40,7 @@ public class DefaultPostBuilderFactory implements PostBuilderFactory { * @param soneProvider * The Sone provider */ + @Inject public DefaultPostBuilderFactory(SoneProvider soneProvider) { this.soneProvider = soneProvider; } -- 2.7.4