CVS: TapestryBook/hangman1/src/hangman1 Guess.java,1.5,1.6

Howard Lewis Ship <[email protected]> Sun, 25 May 2003 14:25:56 -0700
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/TapestryBook/hangman1/src/hangman1
In directory sc8-pr-cvs1:/tmp/cvs-serv24881/hangman1/src/hangman1

Modified Files:
	Guess.java 
Log Message:
Update docs based on lengthy revisions.

Index: Guess.java
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/hangman1/src/hangman1/Guess.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Guess.java	7 Mar 2003 15:13:18 -0000	1.5
--- Guess.java	25 May 2003 21:25:54 -0000	1.6
***************
*** 51,55 ****
      public String getLetterLabel()
      {
!     	return ("" + _letter).toUpperCase();
      }
  
--- 51,55 ----
      public String getLetterLabel()
      {
!         return ("" + _letter).toUpperCase();
      }
  
***************
*** 156,161 ****
      {
          // Java wraps the char as an instance of Character
! 
!         Character guess = (Character) cycle.getServiceParameters()[0];
  
          char ch = guess.charValue();
--- 156,161 ----
      {
          // Java wraps the char as an instance of Character
!         Object[] parameters = cycle.getServiceParameters();
!         Character guess = (Character) parameters[0];
  
          char ch = guess.charValue();



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge