From aae3a0152aa8c95ba4b329eed7e97f82f68b1675 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 30 Jul 2008 14:00:23 +0000 Subject: [PATCH] Let the type system know that we know that we don't know what kind of comparable we're dealing with. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@691 c613c5cb-e716-0410-b11b-feb51c14d237 --- .../micasa/lobby/table/TableLobbyObject.java | 2 +- .../com/threerings/parlor/data/TableLobbyObject.java | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/java/com/threerings/micasa/lobby/table/TableLobbyObject.java b/src/java/com/threerings/micasa/lobby/table/TableLobbyObject.java index 9268318a..b74f6d61 100644 --- a/src/java/com/threerings/micasa/lobby/table/TableLobbyObject.java +++ b/src/java/com/threerings/micasa/lobby/table/TableLobbyObject.java @@ -63,7 +63,7 @@ public class TableLobbyObject extends LobbyObject } // from interface TableLobbyObject - public void removeFromTables (Comparable key) + public void removeFromTables (Comparable key) { removeFromTableSet(key); } diff --git a/src/java/com/threerings/parlor/data/TableLobbyObject.java b/src/java/com/threerings/parlor/data/TableLobbyObject.java index a46cd044..39b13aaa 100644 --- a/src/java/com/threerings/parlor/data/TableLobbyObject.java +++ b/src/java/com/threerings/parlor/data/TableLobbyObject.java @@ -33,35 +33,35 @@ public interface TableLobbyObject * Returns a reference to the distributed set instance that will be * holding the tables. */ - public DSet getTables (); + DSet getTables (); /** * Adds the supplied table instance to the tables set (using the * appropriate distributed object mechanisms). */ - public void addToTables (Table table); + void addToTables (Table table); /** * Updates the value of the specified table instance in the tables * distributed set (using the appropriate distributed object * mechanisms). */ - public void updateTables (Table table); + void updateTables (Table table); /** * Removes the table instance that matches the specified key from the * tables set (using the appropriate distributed object mechanisms). */ - public void removeFromTables (Comparable key); + void removeFromTables (Comparable key); /** * Returns a reference to the table service configured in this object. */ - public TableMarshaller getTableService (); + TableMarshaller getTableService (); /** * Configures the table service that clients should use to communicate table requests back to * the table manager handling these tables. */ - public void setTableService (TableMarshaller service); + void setTableService (TableMarshaller service); }