mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 07:05:55 +00:00
Merged revisions 21782-21783 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc ........ r21782 | kohsuke | 2009-09-17 10:22:50 -0700 (Thu, 17 Sep 2009) | 1 line [FIXED HUDSON-4039] Several classes need to be marked as serializable. ........ r21783 | kohsuke | 2009-09-17 10:29:06 -0700 (Thu, 17 Sep 2009) | 1 line added a regression test for HUDSON-4039 ........ git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21797 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
a898587cde
commit
97af019ca7
2 files changed
+28
-3
No files matched your search
@@ -1420,7 +1420,7 @@ public final class FilePath implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
private static abstract class DirScanner {
|
||||
private static abstract class DirScanner implements Serializable {
|
||||
abstract void scan(File dir, FileVisitor visitor) throws IOException;
|
||||
|
||||
/**
|
||||
@@ -1440,6 +1440,8 @@ public final class FilePath implements Serializable {
|
||||
void scan(File dir, FileVisitor visitor) throws IOException {
|
||||
scan(dir,"",visitor);
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1456,6 +1458,8 @@ public final class FilePath implements Serializable {
|
||||
void scan(File dir, FileVisitor visitor) throws IOException {
|
||||
super.scan(dir,visitor.with(filter));
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1486,7 +1490,11 @@ public final class FilePath implements Serializable {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1538,16 +1546,20 @@ public final class FilePath implements Serializable {
|
||||
Archiver create(OutputStream out);
|
||||
}
|
||||
|
||||
private static final class TarArchiverFactory implements ArchiverFactory {
|
||||
private static final class TarArchiverFactory implements ArchiverFactory, Serializable {
|
||||
public Archiver create(OutputStream out) {
|
||||
return new TarWriter(out);
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
private static final class ZipArchiverFactory implements ArchiverFactory {
|
||||
private static final class ZipArchiverFactory implements ArchiverFactory, Serializable {
|
||||
public Archiver create(OutputStream out) {
|
||||
return new ZipWriter(out);
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user