diff --git a/src/java/com/threerings/crowd/data/PlaceObject.java b/src/java/com/threerings/crowd/data/PlaceObject.java index 98517abff..a2cbd2681 100644 --- a/src/java/com/threerings/crowd/data/PlaceObject.java +++ b/src/java/com/threerings/crowd/data/PlaceObject.java @@ -195,7 +195,9 @@ public class PlaceObject extends DObject public void setOccupantInfo (DSet value) { requestAttributeChange(OCCUPANT_INFO, value, this.occupantInfo); - this.occupantInfo = (value == null) ? null : value.typedClone(); + @SuppressWarnings("unchecked") DSet clone = + (value == null) ? null : value.typedClone(); + this.occupantInfo = clone; } /** diff --git a/src/java/com/threerings/presents/data/ClientObject.java b/src/java/com/threerings/presents/data/ClientObject.java index f334064d5..28566be1b 100644 --- a/src/java/com/threerings/presents/data/ClientObject.java +++ b/src/java/com/threerings/presents/data/ClientObject.java @@ -128,7 +128,9 @@ public class ClientObject extends DObject public void setReceivers (DSet value) { requestAttributeChange(RECEIVERS, value, this.receivers); - this.receivers = (value == null) ? null : value.typedClone(); + @SuppressWarnings("unchecked") DSet clone = + (value == null) ? null : value.typedClone(); + this.receivers = clone; } // AUTO-GENERATED: METHODS END } diff --git a/src/java/com/threerings/presents/peer/data/NodeObject.java b/src/java/com/threerings/presents/peer/data/NodeObject.java index f279b68c7..8dba252fd 100644 --- a/src/java/com/threerings/presents/peer/data/NodeObject.java +++ b/src/java/com/threerings/presents/peer/data/NodeObject.java @@ -81,7 +81,9 @@ public class NodeObject extends DObject public void setClients (DSet value) { requestAttributeChange(CLIENTS, value, this.clients); - this.clients = (value == null) ? null : value.typedClone(); + @SuppressWarnings("unchecked") DSet clone = + (value == null) ? null : value.typedClone(); + this.clients = clone; } // AUTO-GENERATED: METHODS END }