Skip to content

Commit

Permalink
#659: reformatted code according to recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuchyn committed Feb 24, 2016
1 parent 7a08eb7 commit 4243a5b
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 31 deletions.
36 changes: 18 additions & 18 deletions qulice-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -286,26 +286,26 @@
With this construct you can exclude certain IT projects.
-->
<pomIncludes>
<!--<pomInclude>checkstyle-exceptions/pom.xml</pomInclude>-->
<!--<pomInclude>checkstyle-violations/pom.xml</pomInclude>-->
<!--<pomInclude>checkstyle-newlines/pom.xml</pomInclude>-->
<!--<pomInclude>checkstyle-locale/pom.xml</pomInclude>-->
<pomInclude>checkstyle-exceptions/pom.xml</pomInclude>
<pomInclude>checkstyle-violations/pom.xml</pomInclude>
<pomInclude>checkstyle-newlines/pom.xml</pomInclude>
<pomInclude>checkstyle-locale/pom.xml</pomInclude>
<pomInclude>pmd-violations/pom.xml</pomInclude>
<!--<pomInclude>codenarc-violations/pom.xml</pomInclude>-->
<!--<pomInclude>findbugs-exclude/pom.xml</pomInclude>-->
<!--<pomInclude>findbugs-violations/pom.xml</pomInclude>-->
<!--<pomInclude>dependency-violations/pom.xml</pomInclude>-->
<!--<pomInclude>dependency-violations-exclude/pom.xml</pomInclude>-->
<!--<pomInclude>multi-module/pom.xml</pomInclude>-->
<!--<pomInclude>multi-run/pom.xml</pomInclude>-->
<!--<pomInclude>relocation/pom.xml</pomInclude>-->
<!--<pomInclude>pom-xpath-validator-violations</pomInclude>-->
<!--<pomInclude>duplicate-finder-violations</pomInclude>-->
<pomInclude>codenarc-violations/pom.xml</pomInclude>
<pomInclude>findbugs-exclude/pom.xml</pomInclude>
<pomInclude>findbugs-violations/pom.xml</pomInclude>
<pomInclude>dependency-violations/pom.xml</pomInclude>
<pomInclude>dependency-violations-exclude/pom.xml</pomInclude>
<pomInclude>multi-module/pom.xml</pomInclude>
<pomInclude>multi-run/pom.xml</pomInclude>
<pomInclude>relocation/pom.xml</pomInclude>
<pomInclude>pom-xpath-validator-violations</pomInclude>
<pomInclude>duplicate-finder-violations</pomInclude>
<!--<pomInclude>duplicate-finder-ignore-deps</pomInclude>-->
<!--<pomInclude>js-violations/pom.xml</pomInclude>-->
<!--<pomInclude>xml-violations/pom.xml</pomInclude>-->
<!--<pomInclude>log-check/pom.xml</pomInclude>-->
<!--<pomInclude>hibernate-validator-check/pom.xml</pomInclude>-->
<pomInclude>js-violations/pom.xml</pomInclude>
<pomInclude>xml-violations/pom.xml</pomInclude>
<pomInclude>log-check/pom.xml</pomInclude>
<pomInclude>hibernate-validator-check/pom.xml</pomInclude>
</pomIncludes>
<extraArtifacts>
<extraArtifact>${project.groupId}:qulice-checkstyle:${project.version}:jar</extraArtifact>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

public class SomeTest {

public static final InnerClass INNER = new InnerClass(10, 10);

@BeforeClass
public static void beforeClass(){
// setup before class
Expand All @@ -31,15 +29,4 @@ public static Collection parameters() {
return Collections.EMPTY_LIST;
}

public static class InnerClass {
private final int number;

public InnerClass(final int num) {
this.number = num;
}

public int calculate() {
return number;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,25 @@

public class StaticPublicVoidMainMethod {

public static final InnerClass INNER = new InnerClass(10);

public static void main(final String... args) {
// allow main method
}

public void doNothing() {
//do nothing here
}

public static class InnerClass {
private final int number;

public InnerClass(final int num) {
this.number = num;
}

public int calculate() {
return number;
}
}
}

0 comments on commit 4243a5b

Please sign in to comment.