提交 ed30edc9 编写于 作者: K kohsuke

Callable is Serializable.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14115 71c3de6d-444a-0410-be80-ed276b4c234a
上级 cfbcf33b
......@@ -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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册