projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use more concise syntax for array creation.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
impl
/
DefaultPostBuilderFactory.java
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
567708b
..
4df8897
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/impl/DefaultPostBuilderFactory.java
+++ b/
src/main/java/net/pterodactylus/sone/data/impl/DefaultPostBuilderFactory.java
@@
-21,6
+21,8
@@
import net.pterodactylus.sone.database.PostBuilder;
import net.pterodactylus.sone.database.PostBuilderFactory;
import net.pterodactylus.sone.database.SoneProvider;
import net.pterodactylus.sone.database.PostBuilderFactory;
import net.pterodactylus.sone.database.SoneProvider;
+import com.google.inject.Inject;
+
/**
* {@link PostBuilderFactory} implementation that creates
* {@link PostBuilderImpl}s.
/**
* {@link PostBuilderFactory} implementation that creates
* {@link PostBuilderImpl}s.
@@
-38,6
+40,7
@@
public class DefaultPostBuilderFactory implements PostBuilderFactory {
* @param soneProvider
* The Sone provider
*/
* @param soneProvider
* The Sone provider
*/
+ @Inject
public DefaultPostBuilderFactory(SoneProvider soneProvider) {
this.soneProvider = soneProvider;
}
public DefaultPostBuilderFactory(SoneProvider soneProvider) {
this.soneProvider = soneProvider;
}