From 3a2fe8329c2caa3e00205935c3a6b5a0b34f5140 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Mon, 15 Jun 2009 22:17:56 +0000 Subject: [PATCH] @Singleton annotations are not inherited (unfortunately), so it does not make sense to annotate an abstract class as a @Singleton. Guice 2.0 disallows it. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5824 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../com/threerings/crowd/chat/server/ChatChannelManager.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/java/com/threerings/crowd/chat/server/ChatChannelManager.java b/src/java/com/threerings/crowd/chat/server/ChatChannelManager.java index 12ddf9b8d..637546cb7 100644 --- a/src/java/com/threerings/crowd/chat/server/ChatChannelManager.java +++ b/src/java/com/threerings/crowd/chat/server/ChatChannelManager.java @@ -29,7 +29,6 @@ import com.google.common.base.Function; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.inject.Inject; -import com.google.inject.Singleton; import com.samskivert.util.ArrayIntSet; import com.samskivert.util.IntSet; @@ -60,7 +59,6 @@ import static com.threerings.crowd.Log.log; /** * Handles chat channel services. */ -@Singleton public abstract class ChatChannelManager implements ChannelSpeakProvider, Lifecycle.ShutdownComponent {