Paul Fisher <[EMAIL PROTECTED]> writes:

> "John Keiser" <[EMAIL PROTECTED]> writes:
> 
> > Also, I have a question about Float and Number, specifically the
> > methods byteValue() and shortValue().  They are implemented in
> > Number, calling intValue() and casting down.  Is there a reason for
> > this?
> 
> Yes.  byteValue() and shortValue() were added in JDK 1.1.  To retain
> compatibility with Java 1.0 programs, default implementations of
> byteValue() and shortValue() were added.
> 
> Please change your commenting style to conform to GNU standards.  The
> double stars on each line are terribly ugly.

single '*' for everything but the first part of the comment if it is
to be included in javadoc (as in variable or class declaration).

/**
 * comment
 */

and 
/**
   hello world
 */

doesn't look right to me in Java.  I prefer Sun's method.  

Brian
-- 
|-------------------------------|Software Engineer
|Brian Jones                    |[EMAIL PROTECTED]
|[EMAIL PROTECTED]                    |http://www.nortel.net
|http://www.classpath.org/      |-------------------------------

Reply via email to