<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: KeyValueBlobTransientStore in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/keyvalueblobtransientstore/m-p/328452#M15453</link>
    <description>&lt;P&gt;The Javadoc for &lt;CODE&gt;TransientStore.getBlobs&lt;/CODE&gt; doesn't promise anything about mutability of the returned &lt;CODE&gt;List&lt;/CODE&gt;, so you shouldn't assume that it's an &lt;CODE&gt;ArrayList&lt;/CODE&gt; even though that's the case for the current implementation of &lt;CODE&gt;SimpleTransientStore&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2018 15:04:20 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2018-12-14T15:04:20Z</dc:date>
    <item>
      <title>KeyValueBlobTransientStore</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/keyvalueblobtransientstore/m-p/328451#M15452</link>
      <description>&lt;P&gt;Nuxeo Folks: &lt;CODE&gt;KeyValueBlobTransientStore.getBlobs&lt;/CODE&gt; can return &lt;CODE&gt;Collections.emptyList&lt;/CODE&gt; which you can't &lt;CODE&gt;add&lt;/CODE&gt; to. However,  &lt;CODE&gt;SimpleTransientStore.getBlobs&lt;/CODE&gt; returns an &lt;CODE&gt;ArrayList&lt;/CODE&gt; and so a unit test that expects to be able to add to the return value from &lt;CODE&gt;getBlobs&lt;/CODE&gt; can pass, but then fail if deployed over a K/V transient store...&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 14:24:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/keyvalueblobtransientstore/m-p/328451#M15452</guid>
      <dc:creator>Eric_Ace</dc:creator>
      <dc:date>2018-12-14T14:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: KeyValueBlobTransientStore</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/keyvalueblobtransientstore/m-p/328452#M15453</link>
      <description>&lt;P&gt;The Javadoc for &lt;CODE&gt;TransientStore.getBlobs&lt;/CODE&gt; doesn't promise anything about mutability of the returned &lt;CODE&gt;List&lt;/CODE&gt;, so you shouldn't assume that it's an &lt;CODE&gt;ArrayList&lt;/CODE&gt; even though that's the case for the current implementation of &lt;CODE&gt;SimpleTransientStore&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 15:04:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/keyvalueblobtransientstore/m-p/328452#M15453</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2018-12-14T15:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: KeyValueBlobTransientStore</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/keyvalueblobtransientstore/m-p/328453#M15454</link>
      <description>&lt;P&gt;True. It is a shortcoming of Java that interface contracts don't explicitly state mutability. Lacking that, programmers tend to interpret the contract to be&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 15:33:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/keyvalueblobtransientstore/m-p/328453#M15454</guid>
      <dc:creator>Eric_Ace</dc:creator>
      <dc:date>2018-12-14T15:33:31Z</dc:date>
    </item>
  </channel>
</rss>

