From: Sean Bridges <sbridges.geo@ya...> - 2009-04-25 23:08:42
I don't get an error with DefaultNamed. m_name should always be non null, it's checked in the constructor. Maybe you have some local changes?
Thanks for persisting those properties, committed with revision 2378.
Transmitting file data: /Users/sgb/Documents/workspace/triplea/src/games/strategy/common/player/AbstractBaseAI.java
Transmitting file data: /Users/sgb/Documents/workspace/triplea/src/games/strategy/engine/data/GameData.java
Transmitting file data: /Users/sgb/Documents/workspace/triplea/src/games/strategy/triplea/baseAI/AbstractAI.java
Transmitting file data: /Users/sgb/Documents/workspace/triplea/src/games/strategy/triplea/ui/TripleaMenu.java
Transmitting file data: /Users/sgb/Documents/workspace/triplea/src/games/strategy/triplea/ui/UIContext.java
Committed revision 2378
From: Stephen Wicklund <7bubblegum7@...>
Sent: Friday, April 24, 2009 7:47:47 PM
Subject: [Triplea-develop] Fix for earlier patch
I attached a patch file with the changes you suggested. For some reason the game keeps showing an error in the hashCode() method of the "DefaultNamed" class. Does anyone else have this problem? I'm not sure if the menu options I added caused this, but I found you can temporarily fix it by adding an IF statement that only runs lets the code run when the m_name value is not null, if not then it returns 0.