This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mauve ./ChangeLog ./Makefile.in ./aclocal.m4 . ...


cbj@sources.redhat.com wrote:

>         * gnu/testlet/java/text/MessageFormat/format.java (format): renamed
>         myformat because a class cannot have a method that has a return
>         type, i.e. is not a constructor, of the same name as the class.

Actually, that is legal (although admittedly rare and unusual) Java. 
What compiler can't handle having a method named the same as its class?

-- 
This signature intentionally left boring.

Eric Blake             ebb9@email.byu.edu
  BYU student, free software programmer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]