beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [1/4] beam git commit: Remove deprecated RunnableOnService
Date Mon, 27 Mar 2017 18:15:24 GMT
Repository: beam
Updated Branches:
  refs/heads/master 61fad2a66 -> 1d36d32fe


Remove deprecated RunnableOnService


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/488dc99d
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/488dc99d
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/488dc99d

Branch: refs/heads/master
Commit: 488dc99de199f4e2f66c167a7d70448d5f3eabf9
Parents: a58a741
Author: Kenneth Knowles <klk@google.com>
Authored: Thu Mar 23 13:40:39 2017 -0700
Committer: Kenneth Knowles <klk@google.com>
Committed: Mon Mar 27 09:38:55 2017 -0700

----------------------------------------------------------------------
 .../beam/sdk/testing/RunnableOnService.java     | 24 --------------------
 .../beam/sdk/testing/ValidatesRunner.java       |  2 +-
 2 files changed, 1 insertion(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/488dc99d/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/RunnableOnService.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/RunnableOnService.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/RunnableOnService.java
deleted file mode 100644
index dd8fd13..0000000
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/RunnableOnService.java
+++ /dev/null
@@ -1,24 +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.beam.sdk.testing;
-
-/**
- * @deprecated use {@link ValidatesRunner}
- */
-@Deprecated
-public interface RunnableOnService extends NeedsRunner {}

http://git-wip-us.apache.org/repos/asf/beam/blob/488dc99d/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/ValidatesRunner.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/ValidatesRunner.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/ValidatesRunner.java
index d33b3a6..09e62dc 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/ValidatesRunner.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/ValidatesRunner.java
@@ -20,4 +20,4 @@ package org.apache.beam.sdk.testing;
 /**
  * Category tag for tests which validate that a Beam runner is correctly implemented.
  */
-public interface ValidatesRunner extends RunnableOnService {}
+public interface ValidatesRunner extends NeedsRunner {}


Mime
View raw message