cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject [LAZY-VOTE] - Java conventions in methods and class names
Date Sun, 02 Jan 2005 22:06:01 GMT
Hi:

AFAIK, the methods names should start with a lowercase char. I found some
classes wich methods are Capitalized:

src/java/org/apache/cocoon/components/xpointer/parser/TokenMgrError.java
src/java/org/apache/cocoon/components/xpointer/parser/SimpleCharStream.java

I know this is a cosmetic change.

I already changed the protected methods to avoid breaking compatibility.

The idea to keep compatibility is deprecate the current public methods and
create new methods starting with a lowercase char. The methods starting
with uppercase will call the lowercased methods. They will be removed in a
future release (perhaps 2.1.8 or 2.2).

Also there is a class wich name start with a lower case:

src/blocks/itext/java/org/apache/cocoon/serialization/iTextSerializer.java

can we switch it to:

src/blocks/itext/java/org/apache/cocoon/serialization/ITextSerializer.java

WDYT?

Best Regards,

Antonio Gallardo

Mime
View raw message