You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lc...@apache.org on 2017/08/25 16:30:48 UTC

[1/2] beam git commit: [BEAM-1347] Remove unused FakeStepContext now that FnApiDoFnRunner has its own implementation

Repository: beam
Updated Branches:
  refs/heads/master f4b66f3a0 -> cdf050c0d


[BEAM-1347] Remove unused FakeStepContext now that FnApiDoFnRunner has its own implementation


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

Branch: refs/heads/master
Commit: 428bfde022dd199484c13408bb2f220164840dac
Parents: f4b66f3
Author: Luke Cwik <lc...@google.com>
Authored: Thu Aug 24 18:31:50 2017 -0700
Committer: Luke Cwik <lc...@google.com>
Committed: Fri Aug 25 09:30:07 2017 -0700

----------------------------------------------------------------------
 .../beam/fn/harness/fake/FakeStepContext.java   | 39 --------------------
 .../beam/fn/harness/fake/package-info.java      | 22 -----------
 2 files changed, 61 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/428bfde0/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/fake/FakeStepContext.java
----------------------------------------------------------------------
diff --git a/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/fake/FakeStepContext.java b/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/fake/FakeStepContext.java
deleted file mode 100644
index bdf138b..0000000
--- a/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/fake/FakeStepContext.java
+++ /dev/null
@@ -1,39 +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.fn.harness.fake;
-
-import org.apache.beam.runners.core.StateInternals;
-import org.apache.beam.runners.core.StepContext;
-import org.apache.beam.runners.core.TimerInternals;
-
-/**
- * A fake {@link StepContext} factory that performs no-ops.
- */
-public class FakeStepContext implements StepContext {
-
-  @Override
-  public StateInternals stateInternals() {
-    throw new UnsupportedOperationException();
-  }
-
-  @Override
-  public TimerInternals timerInternals() {
-    throw new UnsupportedOperationException();
-  }
-}

http://git-wip-us.apache.org/repos/asf/beam/blob/428bfde0/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/fake/package-info.java
----------------------------------------------------------------------
diff --git a/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/fake/package-info.java b/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/fake/package-info.java
deleted file mode 100644
index cd6eb02..0000000
--- a/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/fake/package-info.java
+++ /dev/null
@@ -1,22 +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.
- */
-
-/**
- * Fake implementations of bindings used with runners-core.
- */
-package org.apache.beam.fn.harness.fake;


[2/2] beam git commit: [BEAM-1347] Remove unused FakeStepContext now that FnApiDoFnRunner has its own implementation

Posted by lc...@apache.org.
[BEAM-1347] Remove unused FakeStepContext now that FnApiDoFnRunner has its own implementation

This closes #3761


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

Branch: refs/heads/master
Commit: cdf050c0d693206ebbcf47b4e396db26f7579f2a
Parents: f4b66f3 428bfde
Author: Luke Cwik <lc...@google.com>
Authored: Fri Aug 25 09:30:40 2017 -0700
Committer: Luke Cwik <lc...@google.com>
Committed: Fri Aug 25 09:30:40 2017 -0700

----------------------------------------------------------------------
 .../beam/fn/harness/fake/FakeStepContext.java   | 39 --------------------
 .../beam/fn/harness/fake/package-info.java      | 22 -----------
 2 files changed, 61 deletions(-)
----------------------------------------------------------------------