Indentation in the project

Hello,

is there any reason we are using a 2 space indentation? Four spaces is the general standard, per http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-136091.html .

I'm currently struggling with my IntelliJ, to get it to use 2 spaces instead of 4.

Is there any reason for this indentation?

Regards,

Paweł

Hey Pawel,

I believe because we are using Google’s Java checkstyle, it recommends using 2 spaces for indentation. http://google.github.io/styleguide/javaguide.html#s4.2-block-indentation

Shalom,

Chongsun

– ​

There are 10 kinds of people in this world; those who understand binary, and those who don’t.

Chongsun Ahn | chongsun.ahn@villagereach.org

Software Development Engineer

Village****Reach* ** Starting at the Last Mile*

2900 Eastlake Ave. E, Suite 230, Seattle, WA 98102, USA

DIRECT: 1.206.512.1536 **CELL: **1.206.910.0973 FAX: 1.206.860.6972

SKYPE: chongsun.ahn.vr

www.villagereach.org

Connect on Facebook****, Twitter** ** and our Blog

···

On Aug 5, 2016, at 3:06 AM, Paweł Gesek pgesek@soldevelo.com wrote:

Hello,

is there any reason we are using a 2 space indentation? Four spaces is the general standard, per
http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-136091.html
.

I’m currently struggling with my IntelliJ, to get it to use 2 spaces instead of 4.

Is there any reason for this indentation?

Regards,

Paweł

You received this message because you are subscribed to the Google Groups “OpenLMIS Dev” group.

To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.

To post to this group, send email to
openlmis-dev@googlegroups.com.

To view this discussion on the web visit
https://groups.google.com/d/msgid/openlmis-dev/ecc453b6-2c53-d7b9-d0b6-e87ef67f439d%40soldevelo.com
.

For more options, visit https://groups.google.com/d/optout.