flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uce <...@git.apache.org>
Subject [GitHub] flink pull request #2371: [FLINK-4309] Potential null pointer dereference in...
Date Tue, 16 Aug 2016 09:17:01 GMT
Github user uce commented on a diff in the pull request:

    --- Diff: flink-core/src/main/java/org/apache/flink/configuration/DelegatingConfiguration.java
    @@ -56,6 +57,7 @@ public DelegatingConfiguration() {
     	public DelegatingConfiguration(Configuration backingConfig, String prefix)
    +		Preconditions.checkNotNull(backingConfig);
     		this.backingConfig = backingConfig;
    --- End diff --
    Trivial note: We can also write `this.backingConfig = checkNotNull(backingConfig)` here.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message