Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Add possibility to read/write KV values with different charset #283

Merged
merged 2 commits into from
Dec 15, 2017
Merged

Add possibility to read/write KV values with different charset #283

merged 2 commits into from
Dec 15, 2017

Conversation

alesharik
Copy link
Contributor

Using only default charset to read/write strings is a bad practice

Copy link
Collaborator

@yfouquet yfouquet left a comment

Choose a reason for hiding this comment

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

The idea of the PR is good.
But please remove of the duplicated code.
When you reimplement getValueAsString with a Charset, make getValueAsString(String) call your new method with Charset.defaultCharset(). Same goes for every methods. Note that you did it in class Value.

Copy link
Collaborator

@yfouquet yfouquet left a comment

Choose a reason for hiding this comment

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

Thanks for the quick changes.

@rickfast rickfast merged commit 29cb189 into rickfast:master Dec 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants