From f859b95e2b8c4c0c4070e0bb3280fe936436dd2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 27 Sep 2021 11:36:15 +0200 Subject: [PATCH] Fix ambiguous import for Module And this is the reason why everybody should be using single-class imports and star imports should be avoided. The Module class (or interface?) was added in Java 9 because of the whole module business and now the star imports are suddenly ambiguous. Lesson learned! --- src/main/java/net/pterodactylus/sone/main/SonePlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java index 82ab065..d0b07e6 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -42,6 +42,7 @@ import com.google.common.annotations.*; import com.google.common.eventbus.*; import com.google.common.cache.*; import com.google.inject.*; +import com.google.inject.Module; import com.google.inject.name.*; import kotlin.jvm.functions.*; -- 2.7.4