[
https://issues.apache.org/jira/browse/FLINK-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15744641#comment-15744641
]
ASF GitHub Bot commented on FLINK-5327:
---------------------------------------
GitHub user StefanRRichter opened a pull request:
https://github.com/apache/flink/pull/2993
[FLINK-5327] Remove IOEXception from StateObject::getStateSize
The signature of ``StateObject::getStateSize`` declares throwing of an
``IOException``. This is an artefact of the state handle refactoring. After
more refactoring, there is actually no implementor throwing an exception for
this call.
This PR removes the exception from the method signature
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StefanRRichter/flink remove-io-exc-get-size
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2993.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2993
----
commit a2f0726e1696464a0e85740d8ff97997f0dde812
Author: Stefan Richter <[email protected]>
Date: 2016-12-12T13:02:25Z
[FLINK-5327] Remove IOEXception from StateObject::getStateSize
----
> Remove IOException from StateObject::getStateSize
> -------------------------------------------------
>
> Key: FLINK-5327
> URL: https://issues.apache.org/jira/browse/FLINK-5327
> Project: Flink
> Issue Type: Improvement
> Components: State Backends, Checkpointing
> Affects Versions: 1.2.0
> Reporter: Stefan Richter
> Assignee: Stefan Richter
>
> The signature of ``StateObject::getStateSize`` declares throwing of an
> ``IOException``. This is an artefact of the state handle refactoring. After
> more refactoring, there is actually no implementor throwing an exception for
> this call. Hence, we can remove the exception from the method signature.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)