[infinispan-issues] [JBoss JIRA] (ISPN-1497) Typo in testing immutability of streamBufferSize in FileCacheStoreConfig

Sanne Grinovero (Updated) (JIRA) jira-events at lists.jboss.org
Mon Oct 31 12:58:45 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero updated ISPN-1497:
----------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done

    
> Typo in testing immutability of streamBufferSize in FileCacheStoreConfig
> ------------------------------------------------------------------------
>
>                 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
>            Priority: Minor
>             Fix For: 5.1.0.BETA4, 5.1.0.FINAL
>
>
> 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