classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adjustable.java patch


From: Tom Tromey
Subject: Adjustable.java patch
Date: 01 Jan 2003 16:18:56 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

This patch went in recently:

        * java/awt/Adjustable.java
        (HORIZONTAL): Made static final.
        (VERTICAL): Made static final.
        (NO_ORITENTATION): Made static final.

I thought we decided some time ago that, since interface fields are
all implicitly "public static final", we wouldn't redundantly use
these modifiers in interfaces.

ISTR Eric Blake going through and making this change in a lot of
places; the history of Adjustable.java bears this out.

I'm going to revert this patch.  But I thought I'd also post a
heads-up so that everybody is aware of this style point.

I didn't see anything in doc/hacking.texinfo relating to this (I'd
never looked through this before, shame on me).  So for now it will
continue to be undocumented.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]