Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-8775 Encoder documentation #5738

Merged

Conversation

gustavocoding
Copy link

Copy link
Contributor

@karesti karesti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments

gis.close();
return baos.toByteArray();
} catch (IOException e) {
throw new RuntimeException("Unable to compress", e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't be better to have a custom runtime exception ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see that this is in test

}
return result.toString();
} catch (IOException e) {
throw new RuntimeException("Unable to decompress", e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same question as before

public interface Encoder {

/**
* Convert data in the read/write format to the storage format.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it necessary to include the javadoc here ?

gis.close();
return baos.toByteArray();
} catch (IOException e) {
throw new RuntimeException("Unable to compress", e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see that this is in test

@tristantarrant tristantarrant merged commit b2e162a into infinispan:master Feb 15, 2018
@tristantarrant
Copy link
Member

Merged, thanks

@gustavocoding gustavocoding deleted the ISPN-8775/encoder-doc branch February 20, 2018 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants