Skip to content

Commit 7147922

Browse files
marchofGodin
authored andcommitted
Remove trailing whitespaces in Java source files (bazel-contrib#959)
1 parent a90c498 commit 7147922

File tree

410 files changed

+1073
-1073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+1073
-1073
lines changed

jacoco-maven-plugin/src/org/jacoco/maven/AbstractJacocoMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public final void execute()
4848

4949
/**
5050
* Executes Mojo.
51-
*
51+
*
5252
* @throws MojoExecutionException
5353
* if an unexpected problem occurs. Throwing this exception
5454
* causes a "BUILD ERROR" message to be displayed.

jacoco-maven-plugin/src/org/jacoco/maven/AbstractReportMojo.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ protected Renderer getSiteRenderer() {
113113

114114
/**
115115
* Returns the list of class files to include in the report.
116-
*
116+
*
117117
* @return class files to include, may contain wildcard characters
118118
*/
119119
List<String> getIncludes() {
@@ -122,7 +122,7 @@ List<String> getIncludes() {
122122

123123
/**
124124
* Returns the list of class files to exclude from the report.
125-
*
125+
*
126126
* @return class files to exclude, may contain wildcard characters
127127
*/
128128
List<String> getExcludes() {

jacoco-maven-plugin/src/org/jacoco/maven/AgentITMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* <li>bound to <code>pre-integration-test</code> phase</li>
2828
* <li>different <code>destFile</code></li>
2929
* </ul>
30-
*
30+
*
3131
* @since 0.6.4
3232
*/
3333
@Mojo(name = "prepare-agent-integration", defaultPhase = LifecyclePhase.PRE_INTEGRATION_TEST, requiresDependencyResolution = ResolutionScope.RUNTIME, threadSafe = true)

jacoco-maven-plugin/src/org/jacoco/maven/AgentMojo.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
* as a VM argument to the application under test. Depending on the project
2626
* packaging type by default a property with the following name is set:
2727
* </p>
28-
*
28+
*
2929
* <ul>
3030
* <li>tycho.testArgLine for packaging type eclipse-test-plugin and</li>
3131
* <li>argLine otherwise.</li>
3232
* </ul>
33-
*
33+
*
3434
* <p>
3535
* If your project already defines VM arguments for test execution, be sure that
3636
* they will include property defined by JaCoCo.
@@ -42,7 +42,7 @@
4242
* "http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation">late
4343
* property evaluation</a>:
4444
* </p>
45-
*
45+
*
4646
* <pre>
4747
* &lt;plugin&gt;
4848
* &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
@@ -52,18 +52,18 @@
5252
* &lt;/configuration&gt;
5353
* &lt;/plugin&gt;
5454
* </pre>
55-
*
55+
*
5656
* <p>
5757
* You can define empty property to avoid JVM startup error
5858
* <code>Could not find or load main class @{argLine}</code> when using late
5959
* property evaluation and jacoco-maven-plugin not executed.
6060
* </p>
61-
*
61+
*
6262
* <p>
6363
* Another way is to define "argLine" as a Maven property rather than as part of
6464
* the configuration of maven-surefire-plugin:
6565
* </p>
66-
*
66+
*
6767
* <pre>
6868
* &lt;properties&gt;
6969
* &lt;argLine&gt;-your -extra -arguments&lt;/argLine&gt;
@@ -77,12 +77,12 @@
7777
* &lt;/configuration&gt;
7878
* &lt;/plugin&gt;
7979
* </pre>
80-
*
80+
*
8181
* <p>
8282
* Resulting coverage information is collected during execution and by default
8383
* written to a file when the process terminates.
8484
* </p>
85-
*
85+
*
8686
* @since 0.5.3
8787
*/
8888
@Mojo(name = "prepare-agent", defaultPhase = LifecyclePhase.INITIALIZE, requiresDependencyResolution = ResolutionScope.RUNTIME, threadSafe = true)

jacoco-maven-plugin/src/org/jacoco/maven/CheckMojo.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Evgeny Mandrikov - initial API and implementation
1111
* Kyle Lieber - implementation of CheckMojo
1212
* Marc Hoffmann - redesign using report APIs
13-
*
13+
*
1414
*******************************************************************************/
1515
package org.jacoco.maven;
1616

@@ -31,7 +31,7 @@
3131

3232
/**
3333
* Checks that the code coverage metrics are being met.
34-
*
34+
*
3535
* @since 0.6.1
3636
*/
3737
@Mojo(name = "check", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true)
@@ -53,22 +53,22 @@ public class CheckMojo extends AbstractJacocoMojo implements IViolationsOutput {
5353
* error messages. A limit ratio may optionally be declared as a percentage
5454
* where 0.80 and 80% represent the same value.
5555
* </p>
56-
*
56+
*
5757
* <p>
5858
* If not specified the following defaults are assumed:
5959
* </p>
60-
*
60+
*
6161
* <ul>
6262
* <li>rule element: BUNDLE</li>
6363
* <li>limit counter: INSTRUCTION</li>
6464
* <li>limit value: COVEREDRATIO</li>
6565
* </ul>
66-
*
66+
*
6767
* <p>
6868
* This example requires an overall instruction coverage of 80% and no class
6969
* must be missed:
7070
* </p>
71-
*
71+
*
7272
* <pre>
7373
* {@code
7474
* <rules>
@@ -89,12 +89,12 @@ public class CheckMojo extends AbstractJacocoMojo implements IViolationsOutput {
8989
* </rule>
9090
* </rules>}
9191
* </pre>
92-
*
92+
*
9393
* <p>
9494
* This example requires a line coverage minimum of 50% for every class
9595
* except test classes:
9696
* </p>
97-
*
97+
*
9898
* <pre>
9999
* {@code
100100
* <rules>

jacoco-maven-plugin/src/org/jacoco/maven/DumpMojo.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
* Request a dump over TCP/IP from a JaCoCo agent running in
3131
* <code>tcpserver</code> mode.
3232
* </p>
33-
*
33+
*
3434
* <p>
3535
* Note concerning parallel builds: While the dump goal as such is thread safe,
3636
* it has to be considered that TCP/IP server ports of the agents are a shared
3737
* resource.
3838
* </p>
39-
*
39+
*
4040
* @since 0.6.4
4141
*/
4242
@Mojo(name = "dump", defaultPhase = LifecyclePhase.POST_INTEGRATION_TEST, threadSafe = true)

jacoco-maven-plugin/src/org/jacoco/maven/FileFilter.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class FileFilter {
3434

3535
/**
3636
* Construct a new FileFilter
37-
*
37+
*
3838
* @param includes
3939
* list of includes patterns
4040
* @param excludes
@@ -48,7 +48,7 @@ public FileFilter(final List<String> includes,
4848

4949
/**
5050
* Returns a list of file names.
51-
*
51+
*
5252
* @param directory
5353
* the directory to scan
5454
* @return a list of files
@@ -62,7 +62,7 @@ public List<String> getFileNames(final File directory) throws IOException {
6262

6363
/**
6464
* Returns a list of files.
65-
*
65+
*
6666
* @param directory
6767
* the directory to scan
6868
* @return a list of files
@@ -75,7 +75,7 @@ public List<File> getFiles(final File directory) throws IOException {
7575

7676
/**
7777
* Get the includes pattern
78-
*
78+
*
7979
* @return the pattern
8080
*/
8181
public String getIncludes() {
@@ -84,7 +84,7 @@ public String getIncludes() {
8484

8585
/**
8686
* Get the excludes pattern
87-
*
87+
*
8888
* @return the pattern
8989
*/
9090
public String getExcludes() {

jacoco-maven-plugin/src/org/jacoco/maven/InstrumentMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* this mode. Please consult <a href="offline.html">documentation</a> about
4141
* offline instrumentation before using this mode.
4242
* </p>
43-
*
43+
*
4444
* @since 0.6.2
4545
*/
4646
@Mojo(name = "instrument", defaultPhase = LifecyclePhase.PROCESS_CLASSES, threadSafe = true)

jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
/**
2929
* Mojo for merging a set of execution data files (*.exec) into a single file
30-
*
30+
*
3131
* @since 0.6.4
3232
*/
3333
@Mojo(name = "merge", defaultPhase = LifecyclePhase.GENERATE_RESOURCES, threadSafe = true)
@@ -43,7 +43,7 @@ public class MergeMojo extends AbstractJacocoMojo {
4343

4444
/**
4545
* This mojo accepts any number of execution data file sets.
46-
*
46+
*
4747
* <pre>
4848
* <code>
4949
* &lt;fileSets&gt;

jacoco-maven-plugin/src/org/jacoco/maven/ReportAggregateMojo.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@
3939
* reports when tests are in separate projects than the code under test, for
4040
* example in case of integration tests.
4141
* </p>
42-
*
42+
*
4343
* <p>
4444
* Using the dependency scope allows to distinguish projects which contribute
4545
* execution data but should not become part of the report:
4646
* </p>
47-
*
47+
*
4848
* <ul>
4949
* <li><code>compile</code>, <code>runtime</code>, <code>provided</code>:
5050
* Project source and execution data is included in the report.</li>
5151
* <li><code>test</code>: Only execution data is considered for the report.</li>
5252
* </ul>
53-
*
53+
*
5454
* @since 0.7.7
5555
*/
5656
@Mojo(name = "report-aggregate", threadSafe = true)

jacoco-maven-plugin/src/org/jacoco/maven/ReportITMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* <li>bound to <code>report-integration</code> phase</li>
3030
* <li>different <code>dataFile</code></li>
3131
* </ul>
32-
*
32+
*
3333
* @since 0.6.4
3434
*/
3535
@Mojo(name = "report-integration", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true)

jacoco-maven-plugin/src/org/jacoco/maven/ReportMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/**
2525
* Creates a code coverage report for tests of a single project in multiple
2626
* formats (HTML, XML, and CSV).
27-
*
27+
*
2828
* @since 0.5.3
2929
*/
3030
@Mojo(name = "report", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true)

jacoco-maven-plugin/src/org/jacoco/maven/ReportSupport.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
/**
4949
* Encapsulates the tasks to create reports for Maven projects. Instances are
5050
* supposed to be used in the following sequence:
51-
*
51+
*
5252
* <ol>
5353
* <li>Create an instance</li>
5454
* <li>Load one or multiple exec files with
@@ -66,7 +66,7 @@ final class ReportSupport {
6666

6767
/**
6868
* Construct a new instance with the given log output.
69-
*
69+
*
7070
* @param log
7171
* for log output
7272
*/
@@ -78,7 +78,7 @@ public ReportSupport(final Log log) {
7878

7979
/**
8080
* Loads the given execution data file.
81-
*
81+
*
8282
* @param execFile
8383
* execution data file to load
8484
* @throws IOException
@@ -140,7 +140,7 @@ public IReportVisitor initRootVisitor() throws IOException {
140140
/**
141141
* Calculates coverage for the given project and emits it to the report
142142
* group without source references
143-
*
143+
*
144144
* @param visitor
145145
* group visitor to emit the project's coverage to
146146
* @param project
@@ -162,7 +162,7 @@ public void processProject(final IReportGroupVisitor visitor,
162162
/**
163163
* Calculates coverage for the given project and emits it to the report
164164
* group including source references
165-
*
165+
*
166166
* @param visitor
167167
* group visitor to emit the project's coverage to
168168
* @param bundeName

jacoco-maven-plugin/src/org/jacoco/maven/RestoreMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
/**
2525
* Restores original classes as they were before offline instrumentation.
26-
*
26+
*
2727
* @since 0.6.2
2828
*/
2929
@Mojo(name = "restore-instrumented-classes", defaultPhase = LifecyclePhase.PREPARE_PACKAGE, threadSafe = true)

jacoco-maven-plugin/src/org/jacoco/maven/RuleConfiguration.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Evgeny Mandrikov - initial API and implementation
1111
* Kyle Lieber - implementation of CheckMojo
1212
* Marc Hoffmann - redesign using report APIs
13-
*
13+
*
1414
*******************************************************************************/
1515
package org.jacoco.maven;
1616

@@ -23,7 +23,7 @@
2323

2424
/**
2525
* Wrapper for {@link Rule} objects to allow Maven style includes/excludes lists
26-
*
26+
*
2727
*/
2828
public class RuleConfiguration {
2929

@@ -54,7 +54,7 @@ public void setIncludes(final List<String> includes) {
5454
}
5555

5656
/**
57-
*
57+
*
5858
* @param excludes
5959
* excludes patterns
6060
*/

org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/ClassFileDumperTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Contributors:
1010
* Marc R. Hoffmann - initial API and implementation
11-
*
11+
*
1212
*******************************************************************************/
1313
package org.jacoco.agent.rt.internal;
1414

org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/ConfigLoaderTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Contributors:
1010
* Marc R. Hoffmann - initial API and implementation
11-
*
11+
*
1212
*******************************************************************************/
1313
package org.jacoco.agent.rt.internal;
1414

org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/CoverageTransformerTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Contributors:
1010
* Marc R. Hoffmann - initial API and implementation
11-
*
11+
*
1212
*******************************************************************************/
1313
package org.jacoco.agent.rt.internal;
1414

0 commit comments

Comments
 (0)