aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorPatrick Wendell <patrick@databricks.com>2015-04-25 10:37:34 -0700
committerPatrick Wendell <patrick@databricks.com>2015-04-25 10:37:34 -0700
commita61d65fc8b97c01be0fa756b52afdc91c46a8561 (patch)
tree08b0db2edb2dc17a49fcf0dfbfb976f4a3fcf5da /core
parentcca9905b93483614b330b09b36c6526b551e17dc (diff)
downloadspark-a61d65fc8b97c01be0fa756b52afdc91c46a8561.tar.gz
spark-a61d65fc8b97c01be0fa756b52afdc91c46a8561.tar.bz2
spark-a61d65fc8b97c01be0fa756b52afdc91c46a8561.zip
Revert "[SPARK-6752][Streaming] Allow StreamingContext to be recreated from checkpoint and existing SparkContext"
This reverts commit 534f2a43625fbf1a3a65d09550a19875cd1dce43.
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/org/apache/spark/api/java/function/Function0.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/core/src/main/java/org/apache/spark/api/java/function/Function0.java b/core/src/main/java/org/apache/spark/api/java/function/Function0.java
deleted file mode 100644
index 38e410c5de..0000000000
--- a/core/src/main/java/org/apache/spark/api/java/function/Function0.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.spark.api.java.function;
-
-import java.io.Serializable;
-
-/**
- * A zero-argument function that returns an R.
- */
-public interface Function0<R> extends Serializable {
- public R call() throws Exception;
-}