lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Che Dong" <>
Subject Suggestion: apply java code convention with astyle in lucene source?
Date Tue, 15 Jan 2002 04:01:43 GMT
Hi All:
I don't know if you have trouble with reading lucene source which mostly
have only one space indent.
Is it possible apply sun java code convention in lucene source code?

Sometime I use astyle reformat the lucene source before reading.
Its only a little bit confuse with javacc *.jj files. It will occur a error
with "could not rename *.jj to *.jj.orig" when reformat .jj directly. You
need to rename it *.jj to *, astyle it and rename it back to .jj.

I think it might be more efficiently communication with others if all lucene
source reformatted according to java code conventions.


Che Dong

unzip and just 'make' in astyle dir, This should create an executable file
called 'astyle'.
useage: astyle --style=java *.java

Do You Yahoo!?
Get your free address at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message