struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Re: StrutsStatics...
Date Wed, 20 Feb 2008 18:48:36 GMT
On Feb 20, 2008 10:42 AM, Dave Newton <newton.dave@yahoo.com> wrote:

> ...why *do* we have StrutsStatics as an interface implemented all over?
>
>
I don't know for sure, but that's pretty common practice before Java 5's
import static.  It allowed any class that "implements the interface" to
access the constants without having to prefix them.
  (*Chris*)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message