beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lc...@apache.org
Subject [1/2] beam git commit: Remove useless continue statements
Date Sun, 30 Apr 2017 04:58:44 GMT
Repository: beam
Updated Branches:
  refs/heads/master 33358eb23 -> fc55d2f81


Remove useless continue statements


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

Branch: refs/heads/master
Commit: cc7cfcce6315dd5227d55f791e47db6f8853e6f2
Parents: 33358eb
Author: wtanaka.com <wtanaka@yahoo.com>
Authored: Sat Apr 29 18:44:06 2017 -1000
Committer: Lukasz Cwik <lcwik@google.com>
Committed: Sat Apr 29 21:57:57 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/beam/sdk/options/PipelineOptionsFactory.java    | 1 -
 .../apache/beam/sdk/io/range/ByteKeyRangeInterpolateKeyTest.java    | 1 -
 2 files changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/cc7cfcce/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptionsFactory.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptionsFactory.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptionsFactory.java
index b947419..0f6bedf 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptionsFactory.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptionsFactory.java
@@ -1192,7 +1192,6 @@ public class PipelineOptionsFactory {
         method.property = propertyDescriptor;
         method.methodType = "setter";
         missingBeanMethods.add(method);
-        continue;
       }
     }
     throwForMissingBeanMethod(iface, missingBeanMethods);

http://git-wip-us.apache.org/repos/asf/beam/blob/cc7cfcce/sdks/java/core/src/test/java/org/apache/beam/sdk/io/range/ByteKeyRangeInterpolateKeyTest.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/test/java/org/apache/beam/sdk/io/range/ByteKeyRangeInterpolateKeyTest.java
b/sdks/java/core/src/test/java/org/apache/beam/sdk/io/range/ByteKeyRangeInterpolateKeyTest.java
index a6445eb..7e57a90 100644
--- a/sdks/java/core/src/test/java/org/apache/beam/sdk/io/range/ByteKeyRangeInterpolateKeyTest.java
+++ b/sdks/java/core/src/test/java/org/apache/beam/sdk/io/range/ByteKeyRangeInterpolateKeyTest.java
@@ -66,7 +66,6 @@ public class ByteKeyRangeInterpolateKeyTest {
         last = key;
       } catch (IllegalStateException e) {
         assertThat(message, e.getMessage(), containsString("near-empty ByteKeyRange"));
-        continue;
       }
     }
   }


Mime
View raw message