From: <chr...@us...> - 2006-06-25 12:18:40
|
Revision: 181 Author: christianhujer Date: 2006-06-25 05:18:31 -0700 (Sun, 25 Jun 2006) ViewCVS: http://svn.sourceforge.net/gridarta/?rev=181&view=rev Log Message: ----------- Minor improvements: replaced redundant method invocation by variable usage. Modified Paths: -------------- trunk/crossfire/src/cfeditor/CFTreasureListTree.java trunk/daimonin/src/daieditor/CFTreasureListTree.java Modified: trunk/crossfire/src/cfeditor/CFTreasureListTree.java =================================================================== --- trunk/crossfire/src/cfeditor/CFTreasureListTree.java 2006-06-25 12:17:28 UTC (rev 180) +++ trunk/crossfire/src/cfeditor/CFTreasureListTree.java 2006-06-25 12:18:31 UTC (rev 181) @@ -630,7 +630,7 @@ // print the currently selected treasurelist into the attribute dialog final String result = getSelectedTreasureList(); if (result != null) { - input.setText(" " + getSelectedTreasureList()); + input.setText(" " + result); } frame.setVisible(false); } catch (final GridderException ex) { Modified: trunk/daimonin/src/daieditor/CFTreasureListTree.java =================================================================== --- trunk/daimonin/src/daieditor/CFTreasureListTree.java 2006-06-25 12:17:28 UTC (rev 180) +++ trunk/daimonin/src/daieditor/CFTreasureListTree.java 2006-06-25 12:18:31 UTC (rev 181) @@ -620,7 +620,7 @@ // print the currently selected treasurelist into the attribute dialog final String result = getSelectedTreasureList(); if (result != null) { - input.setText(' ' + getSelectedTreasureList()); + input.setText(' ' + result); } frame.setVisible(false); } catch (final GridderException ex) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |