[infinispan-issues] [JBoss JIRA] (ISPN-1497) FileCacheStore config doesn't allow streamBufferSize to be set

Aaron Douglas (Created) (JIRA) jira-events at lists.jboss.org
Thu Oct 27 15:15:45 EDT 2011


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: 5.0.1.FINAL, 4.2.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