mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
Callable is Serializable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14115 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
cfbcf33b33
commit
ed30edc95d
1 file changed
+2
-3
@@ -12,7 +12,6 @@ import hudson.util.NullStream;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
import java.io.Serializable;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
import java.util.Map;
|
||||
@@ -183,7 +182,7 @@ public final class ProcessCache {
|
||||
/**
|
||||
* Noop callable used for checking the sanity of the maven process in the cache.
|
||||
*/
|
||||
private static class SetSystemProperties implements Callable<Object,RuntimeException>, Serializable {
|
||||
private static class SetSystemProperties implements Callable<Object,RuntimeException> {
|
||||
private final Properties properties;
|
||||
|
||||
public SetSystemProperties(Properties properties) {
|
||||
@@ -197,7 +196,7 @@ public final class ProcessCache {
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
private static class GetSystemProperties implements Callable<Properties,RuntimeException>, Serializable {
|
||||
private static class GetSystemProperties implements Callable<Properties,RuntimeException> {
|
||||
public Properties call() {
|
||||
return System.getProperties();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user