File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
main/java/org/apache/commons/vfs2/provider/sftp
test/java/org/apache/commons/vfs2/impl Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ private ProxyType(final String proxyType) {
55
55
}
56
56
57
57
@ Override
58
- public int compareTo (final ProxyType pType ) {
59
- return proxyType .compareTo (pType .proxyType );
58
+ public int compareTo (final ProxyType other ) {
59
+ return proxyType .compareTo (other .proxyType );
60
60
}
61
61
62
62
@ Override
Original file line number Diff line number Diff line change @@ -281,14 +281,14 @@ public void testThreadSafety() throws Exception {
281
281
if (!exceptions .isEmpty ()) {
282
282
final StringBuilder exceptionMsg = new StringBuilder ();
283
283
final StringBuilderWriter writer = new StringBuilderWriter (exceptionMsg );
284
- final PrintWriter pWriter = new PrintWriter (writer );
284
+ final PrintWriter printWriter = new PrintWriter (writer );
285
285
for (final Throwable t : exceptions ) {
286
- pWriter .write (t .getMessage ());
287
- pWriter .write ('\n' );
288
- t .printStackTrace (pWriter );
289
- pWriter .write ('\n' );
286
+ printWriter .write (t .getMessage ());
287
+ printWriter .write ('\n' );
288
+ t .printStackTrace (printWriter );
289
+ printWriter .write ('\n' );
290
290
}
291
- pWriter .flush ();
291
+ printWriter .flush ();
292
292
assertTrue (exceptions .size () + " threads failed: " + exceptionMsg , exceptions .isEmpty ());
293
293
}
294
294
}
You can’t perform that action at this time.
0 commit comments