Regenerated with non-NPEing code.Regenerated with non-NPEing code.Regenerated with non-NPEing code.Regenerated with non-NPEing code.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3300 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2005-01-08 22:05:00 +00:00
parent 8446cf4f78
commit b295fb2630
6 changed files with 9 additions and 9 deletions
@@ -179,7 +179,7 @@ public class PlaceObject extends DObject
public void setOccupantInfo (DSet value) public void setOccupantInfo (DSet value)
{ {
requestAttributeChange(OCCUPANT_INFO, value, this.occupantInfo); requestAttributeChange(OCCUPANT_INFO, value, this.occupantInfo);
this.occupantInfo = (DSet)value.clone(); this.occupantInfo = (value == null) ? null : (DSet)value.clone();
} }
/** /**
@@ -105,7 +105,7 @@ public class TableLobbyObject
public void setTableSet (DSet value) public void setTableSet (DSet value)
{ {
requestAttributeChange(TABLE_SET, value, this.tableSet); requestAttributeChange(TABLE_SET, value, this.tableSet);
this.tableSet = (DSet)value.clone(); this.tableSet = (value == null) ? null : (DSet)value.clone();
} }
// AUTO-GENERATED: METHODS END // AUTO-GENERATED: METHODS END
} }
@@ -265,7 +265,7 @@ public class GameObject extends PlaceObject
Name[] ovalue = this.players; Name[] ovalue = this.players;
requestAttributeChange( requestAttributeChange(
PLAYERS, value, ovalue); PLAYERS, value, ovalue);
this.players = (Name[])value.clone(); this.players = (value == null) ? null : (Name[])value.clone();
} }
/** /**
@@ -298,7 +298,7 @@ public class GameObject extends PlaceObject
boolean[] ovalue = this.winners; boolean[] ovalue = this.winners;
requestAttributeChange( requestAttributeChange(
WINNERS, value, ovalue); WINNERS, value, ovalue);
this.winners = (boolean[])value.clone(); this.winners = (value == null) ? null : (boolean[])value.clone();
} }
/** /**
@@ -125,7 +125,7 @@ public class ClientObject extends DObject
public void setReceivers (DSet value) public void setReceivers (DSet value)
{ {
requestAttributeChange(RECEIVERS, value, this.receivers); requestAttributeChange(RECEIVERS, value, this.receivers);
this.receivers = (DSet)value.clone(); this.receivers = (value == null) ? null : (DSet)value.clone();
} }
// AUTO-GENERATED: METHODS END // AUTO-GENERATED: METHODS END
} }
@@ -145,7 +145,7 @@ public class PuzzleObject extends GameObject
int[] ovalue = this.playerStatus; int[] ovalue = this.playerStatus;
requestAttributeChange( requestAttributeChange(
PLAYER_STATUS, value, ovalue); PLAYER_STATUS, value, ovalue);
this.playerStatus = (int[])value.clone(); this.playerStatus = (value == null) ? null : (int[])value.clone();
} }
/** /**
@@ -178,7 +178,7 @@ public class PuzzleObject extends GameObject
BoardSummary[] ovalue = this.summaries; BoardSummary[] ovalue = this.summaries;
requestAttributeChange( requestAttributeChange(
SUMMARIES, value, ovalue); SUMMARIES, value, ovalue);
this.summaries = (BoardSummary[])value.clone(); this.summaries = (value == null) ? null : (BoardSummary[])value.clone();
} }
/** /**
@@ -88,7 +88,7 @@ public class SpotSceneObject extends SceneObject
public void setOccupantLocs (DSet value) public void setOccupantLocs (DSet value)
{ {
requestAttributeChange(OCCUPANT_LOCS, value, this.occupantLocs); requestAttributeChange(OCCUPANT_LOCS, value, this.occupantLocs);
this.occupantLocs = (DSet)value.clone(); this.occupantLocs = (value == null) ? null : (DSet)value.clone();
} }
/** /**
@@ -134,7 +134,7 @@ public class SpotSceneObject extends SceneObject
public void setClusters (DSet value) public void setClusters (DSet value)
{ {
requestAttributeChange(CLUSTERS, value, this.clusters); requestAttributeChange(CLUSTERS, value, this.clusters);
this.clusters = (DSet)value.clone(); this.clusters = (value == null) ? null : (DSet)value.clone();
} }
// AUTO-GENERATED: METHODS END // AUTO-GENERATED: METHODS END
} }