Last active
September 15, 2025 21:28
-
-
Save vanpeerdevelopment/8198598 to your computer and use it in GitHub Desktop.
Revisions
-
vanpeerdevelopment revised this gist
Dec 31, 2013 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,9 +11,9 @@ public void nonFormattedMethod() { // @formatter:on /** * Without the @formatter annotations the * same piece of code is formatted as below. */ public void formattedMethod() { int sum = 1 + 2 + 3 + 4 + 5; -
vanpeerdevelopment revised this gist
Dec 31, 2013 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,12 +10,12 @@ public void nonFormattedMethod() { } // @formatter:on /** * Without the @formatter annotations the * same piece of code is formatted as below. */ public void formattedMethod() { int sum = 1 + 2 + 3 + 4 + 5; } } -
vanpeerdevelopment revised this gist
Dec 31, 2013 . 1 changed file with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ public class Formatter { /** * The next piece of code is not formatted * because of the @formatter annotations. */ // @formatter:off public void nonFormattedMethod() { int sum = 1 + 2 + 3 + 4 + 5; } // @formatter:on /** * Without the @formatter annotations the -
vanpeerdevelopment revised this gist
Dec 31, 2013 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,5 +18,4 @@ public void formattedMethod() { int sum = 1 + 2 + 3 + 4 + 5; } } -
vanpeerdevelopment revised this gist
Dec 31, 2013 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,4 +18,5 @@ public void formattedMethod() { int sum = 1 + 2 + 3 + 4 + 5; } } -
vanpeerdevelopment created this gist
Dec 31, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ public class Formatter { /** * The next piece of code is not formatted * because of the @formatter annotations. */ // @formatter:off public void nonFormattedMethod() { int sum = 1 + 2 + 3 + 4 + 5; } // @formatter:on /** * Without the @formatter annotations the * same piece of code is formatted as below. */ public void formattedMethod() { int sum = 1 + 2 + 3 + 4 + 5; } }