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
ISPN-8775 Encoder documentation #5738
Conversation
b68cfc7
to
9ffcfde
Compare
There was a problem hiding this 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); |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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
Merged, thanks |
https://issues.jboss.org/browse/ISPN-8775