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: [FLINK-2354] Add job graph and checkpoint reco...
Date Wed, 07 Oct 2015 14:34:09 GMT
Github user uce commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1153#discussion_r41397266
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StateForTask.java
---
    @@ -48,9 +55,9 @@
     	private final int subtask;
     	
     	public StateForTask(SerializedValue<StateHandle<?>> state, JobVertexID operatorId,
int subtask) {
    -	if (state == null || operatorId == null || subtask < 0) {
    -			throw new IllegalArgumentException();
    -		}
    +		checkNotNull(state, "State");
    +		checkNotNull(operatorId, "Operator ID");
    --- End diff --
    
    Resolved


---
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.
---

Mime
View raw message