Skip to content

Commit e5d7b21

Browse files
committed
Checkstyle: trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1485799 13f79535-47bb-0310-9956-ffa450edef68
1 parent 67b778e commit e5d7b21

20 files changed

Lines changed: 55 additions & 55 deletions

src/changes/changes.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
This file is used by the maven-changes-plugin to generate the release notes.
2121
Useful ways of finding items to add to this file are:
2222
23-
1. Add items when you fix a bug or add a feature (this makes the
23+
1. Add items when you fix a bug or add a feature (this makes the
2424
release process easy :-).
2525
2626
2. Do a JIRA search for tickets closed since the previous release.
2727
2828
3. Use the report generated by the maven-changelog-plugin to see all
29-
SVN commits. Set the project.properties' maven.changelog.range
29+
SVN commits. Set the project.properties' maven.changelog.range
3030
property to the number of days since the last release.
3131
3232
@@ -41,6 +41,6 @@ The <action> type attribute can be add,update,fix,remove.
4141

4242
<release version="1.0" date="TBD" description="First release">
4343
</release>
44-
44+
4545
</body>
4646
</document>

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ public static CSVFormatBuilder newBuilder(final CSVFormat format) {
588588
* <tt>true</tt> when the parser should skip empty lines
589589
* @param recordSeparator
590590
* the line separator to use for output
591-
* @param nullToString
591+
* @param nullToString
592592
* the String to use to write <code>null</code> values.
593593
* @param header
594594
* the header

src/main/java/org/apache/commons/csv/CSVPrinter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private void print(final Object object, final CharSequence value,
174174
} else {
175175
out.append(value, offset, offset + len);
176176
}
177-
newRecord = false;
177+
newRecord = false;
178178
}
179179

180180
/*

src/main/java/org/apache/commons/csv/Lexer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ long getCurrentLineNumber() {
8484
* The current character must be the escape character.
8585
* On return, the next character is available by calling {@link ExtendedBufferedReader#getLastChar()}
8686
* on the input stream.
87-
*
88-
* @return the unescaped character (as an int) or {@link END_OF_STREAM} if char following the escape is invalid.
89-
* @throws IOException if there is a problem reading the stream or the end of stream is detected:
87+
*
88+
* @return the unescaped character (as an int) or {@link END_OF_STREAM} if char following the escape is invalid.
89+
* @throws IOException if there is a problem reading the stream or the end of stream is detected:
9090
* the escape character is not allowed at end of strem
9191
*/
9292
int readEscape() throws IOException {
@@ -186,7 +186,7 @@ boolean isQuoteChar(final int c) {
186186
boolean isCommentStart(final int c) {
187187
return c == commmentStart;
188188
}
189-
189+
190190
private boolean isMetaChar(final int c) {
191191
return c == delimiter
192192
|| c == escape

src/site/site.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<item name="Download" href="/downloads.html"/>
3232
<item name="Wiki" href="http://wiki.apache.org/commons/CSV"/>
3333
</menu>
34-
34+
3535
<menu name="Development">
3636
<item name="History" href="/changes-report.html"/>
3737
<item name="Mailing Lists" href="/mail-lists.html"/>

src/site/xdoc/cvs-usage.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?xml version="1.0" encoding="ISO-8859-1" ?>
2-
<!--
2+
<!--
33
/*
44
* Licensed to the Apache Software Foundation (ASF) under one or more
55
* contributor license agreements. See the NOTICE file distributed with
66
* this work for additional information regarding copyright ownership.
77
* The ASF licenses this file to You under the Apache License, Version 2.0
88
* (the "License"); you may not use this file except in compliance with
99
* the License. You may obtain a copy of the License at
10-
*
10+
*
1111
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
12+
*
1313
* Unless required by applicable law or agreed to in writing, software
1414
* distributed under the License is distributed on an "AS IS" BASIS,
1515
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/site/xdoc/downloads.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<body>
2424
<section name="Download CSV">
25-
25+
2626
<subsection name="Releases">
2727
<p>
2828
There are currently no official downloads, and will not be until CSV moves out of the Sandbox.

src/site/xdoc/index.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ limitations under the License.
2929
Iterable&lt;CSVRecord&gt; parser = CSVFormat.EXCEL.parse(in);
3030
for (CSVRecord record : parser) {
3131
...
32-
}</source>
33-
<p>Other formats are available, please consult the Javadoc for <a href="apidocs/org/apache/commons/csv/CSVFormat.html">CSVFormat</a> and
32+
}</source>
33+
<p>Other formats are available, please consult the Javadoc for <a href="apidocs/org/apache/commons/csv/CSVFormat.html">CSVFormat</a> and
3434
<a href="apidocs/org/apache/commons/csv/CSVParser.html">CSVParser</a></p>
3535
</section>
3636

src/site/xdoc/mail-lists.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ limitations under the License.
4848

4949
<section name="Overview">
5050
<p>
51-
<a href="index.html">Commons CSV (Sandbox)</a> shares mailing lists with all the other
51+
<a href="index.html">Commons CSV (Sandbox)</a> shares mailing lists with all the other
5252
<a href="http://commons.apache.org/components.html">Commons Components</a>.
5353
To make it easier for people to only read messages related to components they are interested in,
5454
the convention in Commons is to prefix the subject line of messages with the component's name,
@@ -68,8 +68,8 @@ limitations under the License.
6868
</p>
6969
<p>
7070
<strong>Note:</strong> please don't send patches or attachments to any of the mailing lists.
71-
Patches are best handled via the <a href="issue-tracking.html">Issue Tracking</a> system.
72-
Otherwise, please upload the file to a public server and include the URL in the mail.
71+
Patches are best handled via the <a href="issue-tracking.html">Issue Tracking</a> system.
72+
Otherwise, please upload the file to a public server and include the URL in the mail.
7373
</p>
7474
</section>
7575

@@ -185,10 +185,10 @@ limitations under the License.
185185
General announcements of Apache project releases.
186186
<br /><br />
187187
</td>
188-
<td><a class="externalLink" href="mailto:announce-subscribe@apache.org">Subscribe</a></td>
189-
<td><a class="externalLink" href="mailto:announce-unsubscribe@apache.org">Unsubscribe</a></td>
188+
<td><a class="externalLink" href="mailto:announce-subscribe@apache.org">Subscribe</a></td>
189+
<td><a class="externalLink" href="mailto:announce-unsubscribe@apache.org">Unsubscribe</a></td>
190190
<td><i>read only</i></td>
191-
<td><a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/www-announce/">mail-archives.apache.org</a></td>
191+
<td><a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/www-announce/">mail-archives.apache.org</a></td>
192192
<td><a class="externalLink" href="http://markmail.org/list/org.apache.announce/">markmail.org</a><br />
193193
<a class="externalLink" href="http://old.nabble.com/Apache-News-and-Announce-f109.html">old.nabble.com</a><br />
194194
<a class="externalLink" href="http://www.mail-archive.com/announce@apache.org/">www.mail-archive.com</a><br />

src/test/java/org/apache/commons/csv/CSVFileParserTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void testCSVFile() throws Exception {
9191
// first line starts with csv data file name
9292
final BufferedReader csvFile = new BufferedReader(new FileReader(new File(BASE, split[0])));
9393
final CSVFormatBuilder builder = CSVFormat.newBuilder(',').withQuoteChar('"');
94-
CSVFormat format = builder.build();
94+
CSVFormat format = builder.build();
9595
boolean checkComments = false;
9696
for(int i=1; i < split.length; i++) {
9797
final String option = split[i];

0 commit comments

Comments
 (0)