On Tue, Apr 10, 2001 at 05:21:50PM -0700, Scott M Stark wrote:
> Actually I like the public qualifier as otherwise if you copy and paste
> from an interface declaration to some implementation you have to add
> the public back in or else you violating the interface. Maybe your just
> too sophisticated and copy/paste aren't in your repertoire so you don't
> see this problem.

Hmm, I hadn't considered that, but then I get my IDE to do that for me
(M-x jde-wiz-implement-interface).

I'm generally opposed to things that make non-IDE tasks more difficult,
so I think I can cope with other people's "public"s on that basis. I
still won't put them in my code, however :-).

Toby.

> ----- Original Message ----- 
> From: "Toby Allsopp" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 10, 2001 4:37 PM
> Subject: Re: [JBoss-dev] CVS update: manual/src/docs cmp.xml
> 
> 
> > On Tue, Apr 10, 2001 at 04:15:09PM -0700, [EMAIL PROTECTED] wrote:
> > >   -public abstract String getTitle() throws RemoteException;
> > >   +public String getTitle() throws RemoteException;
> > 
> > We should get rid of the public qualifier from the interfaces as well (it's
> > implicit and discouraged by the language spec). This goes for all the
> > interfaces in the source and the docs.
> > 
> > Toby.

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to