[infinispan-issues] [JBoss JIRA] (ISPN-1497) FileCacheStore config doesn't allow streamBufferSize to be set
Aaron Douglas (Commented) (JIRA)
jira-events at lists.jboss.org
Thu Oct 27 15:36:45 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638154#comment-12638154 ]
Aaron Douglas commented on ISPN-1497:
-------------------------------------
Okay so it's not preventing the value from being set - I hadn't gone past my first breakpoint and saw I was looking at the first of three cache stores. The value is being set but it's still a spelling mistake ;)
> FileCacheStore config doesn't allow streamBufferSize to be set
> --------------------------------------------------------------
>
> Key: ISPN-1497
> URL: https://issues.jboss.org/browse/ISPN-1497
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 4.2.1.FINAL, 5.0.1.FINAL
> Reporter: Aaron Douglas
> Assignee: Manik Surtani
>
> Inside of the FileCacheStoreConfig class, the setter (now being deprecated in 5) for streamBufferSize has a typo when checking for immutability. This prevents the value from actually being overridden from default. While this is being deprecated, it's the only option available for those of us stuck in Infinispan 4.x for the time being.
> {code}
> public void setStreamBufferSize(int streamBufferSize) {
> testImmutability("steamBufferSize");
> this.streamBufferSize = streamBufferSize;
> }
> {code}
> Notice it is spelled STEAM buffer size instead of streamBufferSize in the testImmutability method call.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list