Skip to content

Commit

Permalink
Issue #5941: remove all unnecessary spaces on end of line
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach committed Jun 30, 2019
1 parent 5f4ebc5 commit 5f53ed3
Show file tree
Hide file tree
Showing 256 changed files with 1,065 additions and 1,065 deletions.
2 changes: 1 addition & 1 deletion .ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ ATTENTION:
Example of usage:
export GOAL="all-sevntu-checks" && ./.ci/travis/travis.sh

export TRAVIS_PULL_REQUEST="" && export GOAL="releasenotes-gen" && ./.ci/travis/travis.sh
export TRAVIS_PULL_REQUEST="" && export GOAL="releasenotes-gen" && ./.ci/travis/travis.sh
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pipeline {
agent {
label "${BUILD_SLAVES_LABEL}"
}

options {
ansiColor('xterm')
}
Expand All @@ -52,7 +52,7 @@ pipeline {

// Debug: print all the build envvars
// echo sh(returnStdout: true, script: 'env')

sh "mvn --version"
}
}
Expand All @@ -72,7 +72,7 @@ pipeline {
git 'git@github.com:checkstyle/checkstyle.git' /* clone the master branch */
}
}

stage('Build') {
parallel {
stage('Package') {
Expand Down
2 changes: 1 addition & 1 deletion RIGHTS.antlr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SOFTWARE RIGHTS
$Id: RIGHTS.antlr,v 1.1 2001-06-22 13:11:01 oburn Exp $

ANTLR 1989-2000 Developed by jGuru.com (MageLang Institute),
ANTLR 1989-2000 Developed by jGuru.com (MageLang Institute),
https://www.ANTLR.org and http://www.jGuru.com

We reserve no legal rights to the ANTLR--it is fully in the
Expand Down
2 changes: 1 addition & 1 deletion config/assembly-bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</includes>
</fileSet>
</fileSets>

<dependencySets>
<dependencySet>
<useProjectArtifact>true</useProjectArtifact>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/** warn */
/** valid */
class InputInvalidJavadocPosition {
/** warn */
/** warn */
}
/** valid */
/* ignore */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/** warn */
/** valid */
class InputInvalidJavadocPosition {
/** warn */
/** warn */
}
/** valid */
/* ignore */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/** warn */
/** valid */
class InputInvalidJavadocPosition {
/** warn */
/** warn */
}
/** valid */
/* ignore */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ void method() throws IOException {
try (s1; OutputStream s11 = new PipedOutputStream();
s2;) {
}
try (OutputStream
try (OutputStream
s12 = new PipedOutputStream();s1;OutputStream s3 = new PipedOutputStream() // VIOLATION
;s2;) {
}
try (OutputStream
try (OutputStream
s12 = new PipedOutputStream();s1;OutputStream s3 // VIOLATION
= new PipedOutputStream()) {}
try (s1; s2; OutputStream stream3 =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SAME_PACKAGE(2) should include #1-8
// SAME_PACKAGE(3) should include #4-6
// SAME_PACKAGE(4) should include only #6
// SAME_PACKAGE(5) should include no imports because actual package has only 4 domains
// SAME_PACKAGE(5) should include no imports because actual package has only 4 domains
import java.io.File;
import java.util.*; //#1
import java.util.List; //#2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@

public class InputCustomImportOrderThirdPartyPackage
{

}
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class InputIllegalImportDefault
* method comment with JavaDoc-only import {@link BitSet#aMethod()}
*/
public void Label() {}

/**
* Renders to a {@linkplain Graphics2D graphics context}.
* @throws HeadlessException if no graphis environment can be found.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ public void methodWithPreviouslyIllegalTokens()
break;
}
}

public native void nativeMethod();
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
*/
public class InputAstTreeStringPrinterJavaAndJavadoc {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
@MyAnnotation5
class InputAnnotationLocationCorrect
{

@MyAnnotation6
@MyAnnotation5
public int a;

@MyAnnotation5
public int b;

@MyAnnotation6
@MyAnnotation5
public int c;

@MyAnnotation5
public int d;

@MyAnnotation6
@MyAnnotation5
public InputAnnotationLocationCorrect()
Expand All @@ -31,11 +31,11 @@ public InputAnnotationLocationCorrect()
@MyAnnotation5
@MyAnnotation6
void foo1() {}

@MyAnnotation5
@MyAnnotation6
void foo2() {}

@MyAnnotation5
@MyAnnotation6
@MyAnnotation3
Expand All @@ -48,22 +48,22 @@ class InnerClass

@MyAnnotation5
public int b;

@MyAnnotation6
@MyAnnotation5
public int c;

@MyAnnotation5
public int d;

@MyAnnotation6
public InnerClass()
{
// comment
}
@MyAnnotation5
@MyAnnotation6 void foo1(int a) {}

@MyAnnotation5
@MyAnnotation6
void foo2() {}
Expand All @@ -78,22 +78,22 @@ void foo2() {}
public int a;

@MyAnnotation5 public int b;

@MyAnnotation6
@MyAnnotation5
public int c;

@MyAnnotation5
public int d;

@MyAnnotation5
@MyAnnotation6 void foo1() {}

@MyAnnotation5
@MyAnnotation6
void foo2() {}
};

}

@MyAnnotation5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ public class InputAnnotationLocationCustomAnnotationsDeclared {

@MyAnnotation13
void method() {

}

@MyAnnotation13
@MyAnnotation12
void method2() {

}

}

@interface MyAnnotation11 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package com.puppycrawl.tools.checkstyle.checks.annotation.annotationlocation;

public class InputAnnotationLocationEmpty {

}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
return (@Ann
@Ann2 Integer) x;
}

public <T> T getXAs() {
return (T) x;
}
Expand All @@ -55,5 +55,5 @@ public <T> T getXAs() {

@Ann
@Ann2 int x();

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
@SuppressWarnings({""})
public class InputAnnotationUseStyleDifferentStyles
{

}

@SomeArrays(pooches={DOGS.LEO}, um={}, duh={"bleh"})
@SuppressWarnings("") //compact_no_array
@Deprecated()
class Dep {

}

@Deprecated
@SomeArrays(pooches={DOGS.LEO})
@SuppressWarnings({""})
enum SON {

@Deprecated
@SomeArrays(pooches={DOGS.LEO}, um={""}, duh={"bleh"})
@APooch(dog=DOGS.HERBIE)
Expand All @@ -29,7 +29,7 @@ enum SON {

@InputAnnotationUseStyleCustomAnnotation()
enum DOGS {

@Deprecated()
LEO,
HERBIE
Expand All @@ -46,7 +46,7 @@ enum DOGS {

@Another(value={""}) //expanded
enum E {

}

@interface APooch {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,34 @@ public class InputAnnotationUseStyleNoTrailingComma
{
@SuppressWarnings({"common"})
public void foo() {

/** Suppress warnings */
@SuppressWarnings({"common","foo"})
Object o = new Object() {

@SuppressWarnings(value={"common"})
public String toString() {

@SuppressWarnings(value={"leo","herbie"})
final String pooches = "leo.herbie";

return pooches;
}
};
}

@Test2(value={"foo"}, more={"bar"})

@Pooches2(tokens={},other={})
enum P {

@Pooches2(tokens={Pooches2.class},other={1})
L, // annotation in enum

@Test2(value={}, more={"unchecked"})
Y;
}

}

@interface Test2 {
Expand All @@ -41,7 +41,7 @@ enum P {
}

@interface Pooches2 {

Class<?>[] tokens();
int[] other();
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ public class InputAnnotationUseStyleParams
{
@Target({})
public @interface myAnn {

}
}
Loading

0 comments on commit 5f53ed3

Please sign in to comment.