Github user uce commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/77#discussion_r15224328
  
    --- Diff: flink-core/src/main/java/org/apache/flink/types/Record.java ---
    @@ -1804,5 +1804,25 @@ public void write(DataInputView source, int 
numBytes) throws IOException {
                        source.read(this.memory,this.position, numBytes);
                        this.position += numBytes;
                }
    +
    +           @Override
    +           public void lock() {
    +                   throw new RuntimeException("Not supported since Record 
writing does not use this feature.");
    --- End diff --
    
    Should we replace this with UnsupportedOperationException (also the 
others), which is a subtype of RuntimeException?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to