Hi,

Is there a set coding standard for Apache Ranger? I am seeing a mix of
different styles in the code. For example, "DefaultFormatter" has both tab
and 4-space indentation in the same file. There are also a lot of
inconsistencies with spacing, for example:

if (trimmedLine.startsWith("--") ||trimmedLine.length()<1) {

if(connectString.toLowerCase().startsWith("jdbc:oracle") &&
inputFileName!=null){

I suggest starting by picking a indentation standard (tabs or preferably 4
space indentation) and using automated tooling to convert the existing
source. If there is a consensus on this I can pick it up.

Colm.


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to