java@gcc.gnu.org
[Top] [All Lists]

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

Subject: Re: PATCH: Re: Fwd: Typo in online GCJ docs.
From: Thomas Zander
Date: Thu, 21 Apr 2005 09:26:41 +0200
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'.

> >> On the same page there is a Java example that will not compile, I
> >> found and
> >> fixed 3 bugs; Please replace with:
> >>      public class Int
> >>      {
> >>        public int i;
> >>        public Int(int i) { this.i = i; }
> >>        public static Int zero = new Int(0);
> >>      }
...
> @@ -1560,7 +1560,7 @@
>  @{
>    public int i;
>    public Integer (int i) @{ this.i = i; @}
> -  public static zero = new Integer(0);
> +  public static Int zero = new Int(0);
>  @}
>  @end example

-- 
Thomas Zander
<Prev in Thread] Current Thread [Next in Thread>