Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # dev - Coding standard for indentation


Copy link to this message
-
Coding standard for indentation
Warren Turkal 2011-09-12, 19:35
Hey zk devs,

I was looking through some source files and found some inconsistencies in
the indentation. See org.apache.zookeeper.ClientCnxn.EventThread for
example. It has a number of what appear to be under indented lines (7
instead of 8 spaces for the second level of indentation). Do patches that
fix that kind of problem need to go through Jira or should I just post them
to the list?

Also, what code conventions does the Zookeeper code follow as a general
rule? If it's documented somewhere, I'd like to create an eclipse formatting
config for it.

Thanks,
wt