PATCH: Re: Fwd: Typo in online GCJ docs.

Bryce McKinlay mckinlay@redhat.com
Thu Apr 21 15:49:00 GMT 2005


Thomas Zander wrote:

>Hi Bryce,
>
>thanks for picking this up so quickly!
>Just one thing; you missed one fix in the example I made; the constructor is 
>still called 'Integer' while it should be 'Int'.
>  
>

Thanks. Fixing as follows.

Bryce

2005-04-21  Bryce McKinlay  <mckinlay@redhat.com>

        * gcj.texi (Object fields): Change "Integer" to "Int" in example
        contructor.

--- gcj.texi    21 Apr 2005 00:22:54 -0000      1.81
+++ gcj.texi    21 Apr 2005 15:48:22 -0000
@@ -1559,7 +1559,7 @@
 public class Int
 @{
   public int i;
-  public Integer (int i) @{ this.i = i; @}
+  public Int (int i) @{ this.i = i; @}
   public static Int zero = new Int(0);
 @}
 @end example





More information about the Java-patches mailing list