Re: Pursuing the “120 chars max” guideline

2018-10-26 Thread Mathieu Lirzin
Jacques Le Roux writes: > Le 26/10/2018 à 11:13, Mathieu Lirzin a écrit : >> I sympathise but I am not sure about this strategy, which depending on >> the capabilities of your VCS might obscure the commit history. I would >> recommend to simply use the “120 chars max” guideline for newly added >

Re: Pursuing the “120 chars max” guideline

2018-10-26 Thread Jacques Le Roux
Le 26/10/2018 à 11:13, Mathieu Lirzin a écrit : I sympathise but I am not sure about this strategy, which depending on the capabilities of your VCS might obscure the commit history. I would recommend to simply use the “120 chars max” guideline for newly added code and when refactoring existing o

Re: Pursuing the “120 chars max” guideline

2018-10-26 Thread Michael Brohl
+1 for not reformatting all at once but only if there are changes anyway. The patch should mention this because it will make reviews more complex. Regards, Michael Am 26.10.18 um 11:13 schrieb Mathieu Lirzin: Hello Jacques, Jacques Le Roux writes: Yes you are right, the whole file should

Re: Pursuing the “120 chars max” guideline (was: svn commit: r1844729 - in /ofbiz/ofbiz-framework/trunk/framework/webapp: dtd/site-conf.xsd src/main/java/org/apache/ofbiz/webapp/control/RequestHandler

2018-10-26 Thread Gil Portenseigne
Hello, +1 to follow the 120char guideline for any commit that the purpose it not to refactor line length :). Gil Le vendredi 26 oct. 2018 à 11:13:48 (+0200), Mathieu Lirzin a écrit : > Hello Jacques, > > Jacques Le Roux writes: > > > Yes you are right, the whole file should be reformatted. >

Pursuing the “120 chars max” guideline (was: svn commit: r1844729 - in /ofbiz/ofbiz-framework/trunk/framework/webapp: dtd/site-conf.xsd src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.jav

2018-10-26 Thread Mathieu Lirzin
Hello Jacques, Jacques Le Roux writes: > Yes you are right, the whole file should be reformatted. > > This "around 120 chars max" rule is "new" (few years) and most of the > code there is more than a decade. OK, sure. > If nobody disagree we could have a task Jira to reformat the code of > the