You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by zentol <gi...@git.apache.org> on 2017/07/04 09:29:51 UTC

[GitHub] flink pull request #4064: [FLINK-6822] Activate checkstyle for runtime/pluga...

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

    https://github.com/apache/flink/pull/4064#discussion_r125429424
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/plugable/ReusingDeserializationDelegate.java ---
    @@ -16,33 +16,31 @@
      * limitations under the License.
      */
     
    -
     package org.apache.flink.runtime.plugable;
     
    -import java.io.IOException;
    -
     import org.apache.flink.api.common.typeutils.TypeSerializer;
     import org.apache.flink.core.memory.DataInputView;
     import org.apache.flink.core.memory.DataOutputView;
     
    +import java.io.IOException;
     
    +/**
    + * A {@link DeserializationDelegate} that reuses an existing instance upon deserialization.
    + */
     public class ReusingDeserializationDelegate<T> implements DeserializationDelegate<T> {
    -	
    +
     	private T instance;
    -	
    +
     	private final TypeSerializer<T> serializer;
    -	
     
     	public ReusingDeserializationDelegate(TypeSerializer<T> serializer) {
     		this.serializer = serializer;
     	}
    -	
    -	@Override
    --- End diff --
    
    don't know why that happened, will revert the removal.


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