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

MODE-1699 Added separate limit for string storage in binary store #628

Merged
merged 3 commits into from Dec 19, 2012

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented Dec 18, 2012

Added a separate configuration field to set the minimum size for string values that should be stored in the binary store. This is separate from the existing 'minimumBinarySizeInBytes' value, though it will default to that 'minimumBinarySizeInBytes' value.

Added support to the subsystem for AS7 to separately configure the minimum size of string values that are to be stored inside the binary store. Like with the regular JSON configuration, the minimum string size defaults to whatever the minimum binary size is.

All unit and integration tests pass.

Added a separate configuration field to set the minimum size for
string values that should be stored in the binary store. This is
separate from the existing 'minimumBinarySizeInBytes' value,
though it will default to that 'minimumBinarySizeInBytes' value.

All unit and integration tests pass.
Added support to the subsystem for AS7 to separately configure the
minimum size of string values that are to be stored inside the
binary store. Like with the regular JSON configuration, the minimum
string size defaults to whatever the minimum binary size is.
@hchiorean
Copy link
Member

Changes look good, the only thing that can be improved imo is described in the previous comment.

@rhauch
Copy link
Contributor Author

rhauch commented Dec 19, 2012

Refactored the code. However, I wanted to keep the method abstract to require subclasses to implement it, so I moved the logic to a separate method in super. (Not exactly what you suggested, but certainly in the spirit.)

@hchiorean
Copy link
Member

yup, looks good

@rhauch rhauch merged commit 5662be7 into ModeShape:master Dec 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants