Skip to content

Commit 6b47a57

Browse files
committed
add default svnuids
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1642754 13f79535-47bb-0310-9956-ffa450edef68
1 parent cbff614 commit 6b47a57

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/test/java/org/apache/commons/io/FileUtilsTestCase.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,6 +2246,8 @@ public void testMoveFile_Rename() throws Exception {
22462246
public void testMoveFile_CopyDelete() throws Exception {
22472247
final File destination = new File( getTestDirectory(), "move2.txt" );
22482248
final File src = new File( testFile1.getAbsolutePath() ) {
2249+
private static final long serialVersionUID = 1L;
2250+
22492251
// Force renameTo to fail, as if destination is on another
22502252
// filesystem
22512253
@Override
@@ -2262,6 +2264,8 @@ public boolean renameTo( final File f ) {
22622264
public void testMoveFile_CopyDelete_Failed() throws Exception {
22632265
final File destination = new File( getTestDirectory(), "move3.txt" );
22642266
final File src = new File( testFile1.getAbsolutePath() ) {
2267+
private static final long serialVersionUID = 1L;
2268+
22652269
// Force renameTo to fail, as if destination is on another
22662270
// filesystem
22672271
@Override
@@ -2394,6 +2398,7 @@ public void testMoveDirectory_CopyDelete() throws Exception {
23942398

23952399
final File dir = getTestDirectory();
23962400
final File src = new File(dir, "testMoveDirectory2Source") {
2401+
private static final long serialVersionUID = 1L;
23972402

23982403
// Force renameTo to fail
23992404
@Override
@@ -2589,6 +2594,7 @@ public void testIO276() throws Exception {
25892594

25902595
// Test helper class to pretend a file is shorter than it is
25912596
private static class ShorterFile extends File {
2597+
private static final long serialVersionUID = 1L;
25922598
public ShorterFile(String pathname) {
25932599
super(pathname);
25942600
}

0 commit comments

Comments
 (0)