Skip to content

Commit

Permalink
Generated by gradle-git-publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
junit-builds committed May 1, 2024
1 parent 696a10c commit 90d1e2c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,10 @@ <h3>close</h3>
<div class="block">If a close action is configured, it will be called with all successfully
stored values in reverse insertion order.

<p>Closing a store does not close its parent or any of its children.</div>
<p>Closing a store does not close its parent or any of its children.

<p>Invocations of this method after the store has already been closed will
be ignored.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html#close()" title="class or interface in java.lang" class="external-link">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html" title="class or interface in java.lang" class="external-link">AutoCloseable</a></code></dd>
Expand All @@ -328,6 +331,8 @@ <h3 id="get(java.lang.Object,java.lang.Object)">get</h3>
<dd><code>key</code> - the key; never <code>null</code></dd>
<dt>Returns:</dt>
<dd>the stored value; may be <code>null</code></dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if this store has already been closed</dd>
</dl>
</section>
</li>
Expand All @@ -350,6 +355,7 @@ <h3 id="get(java.lang.Object,java.lang.Object,java.lang.Class)">get</h3>
<dt>Throws:</dt>
<dd><code><a href="NamespacedHierarchicalStoreException.html" title="class in org.junit.platform.engine.support.store">NamespacedHierarchicalStoreException</a></code> - if the stored value cannot
be cast to the required type</dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if this store has already been closed</dd>
</dl>
</section>
</li>
Expand All @@ -370,6 +376,8 @@ <h3 id="getOrComputeIfAbsent(java.lang.Object,java.lang.Object,java.util.functio
to create a new value; never <code>null</code> but may return <code>null</code></dd>
<dt>Returns:</dt>
<dd>the stored value; may be <code>null</code></dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if this store has already been closed</dd>
</dl>
</section>
</li>
Expand Down Expand Up @@ -397,6 +405,7 @@ <h3 id="getOrComputeIfAbsent(java.lang.Object,java.lang.Object,java.util.functio
<dt>Throws:</dt>
<dd><code><a href="NamespacedHierarchicalStoreException.html" title="class in org.junit.platform.engine.support.store">NamespacedHierarchicalStoreException</a></code> - if the stored value cannot
be cast to the required type</dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if this store has already been closed</dd>
</dl>
</section>
</li>
Expand All @@ -422,6 +431,7 @@ <h3 id="put(java.lang.Object,java.lang.Object,java.lang.Object)">put</h3>
<dt>Throws:</dt>
<dd><code><a href="NamespacedHierarchicalStoreException.html" title="class in org.junit.platform.engine.support.store">NamespacedHierarchicalStoreException</a></code> - if the stored value cannot
be cast to the required type</dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if this store has already been closed</dd>
</dl>
</section>
</li>
Expand All @@ -441,6 +451,8 @@ <h3 id="remove(java.lang.Object,java.lang.Object)">remove</h3>
<dd><code>key</code> - the key; never <code>null</code></dd>
<dt>Returns:</dt>
<dd>the previously stored value; may be <code>null</code></dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if this store has already been closed</dd>
</dl>
</section>
</li>
Expand All @@ -466,6 +478,7 @@ <h3 id="remove(java.lang.Object,java.lang.Object,java.lang.Class)">remove</h3>
<dt>Throws:</dt>
<dd><code><a href="NamespacedHierarchicalStoreException.html" title="class in org.junit.platform.engine.support.store">NamespacedHierarchicalStoreException</a></code> - if the stored value cannot
be cast to the required type</dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if this store has already been closed</dd>
</dl>
</section>
</li>
Expand Down
19 changes: 14 additions & 5 deletions docs/snapshot/release-notes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,8 @@ <h2 id="release-notes-5.11.0-M2"><a class="anchor" href="#release-notes-5.11.0-M
</div>
<div class="paragraph">
<p>For a complete list of all <em>closed</em> issues and pull requests for this release, consult the
<a href="https://github.com/junit-team/junit5/milestone/74?closed=1">5.11.0-M2</a> milestone page in the
JUnit repository on GitHub.</p>
<a href="https://github.com/junit-team/junit5/milestone/74?closed=1">5.11.0-M2</a> milestone page in the JUnit
repository on GitHub.</p>
</div>
<div class="sect2">
<h3 id="release-notes-5.11.0-M2-overall-improvements"><a class="anchor" href="#release-notes-5.11.0-M2-overall-improvements"></a>Overall Improvements</h3>
Expand All @@ -539,8 +539,8 @@ <h4 id="release-notes-5.11.0-M2-overall-new-features-and-improvements"><a class=
<div class="ulist">
<ul>
<li>
<p>The shipped bytecode was compiled with the <code>-parameters</code> option of <code>javac</code> and thus now
contains metadata for reflection on parameters such as their names.</p>
<p>Java classes in published artifacts are now compiled with the <code>-parameters</code> option of
<code>javac</code> and thus now contain metadata for reflection on parameters such as their names.</p>
</li>
</ul>
</div>
Expand Down Expand Up @@ -573,7 +573,16 @@ <h4 id="release-notes-5.11.0-M2-junit-platform-new-features-and-improvements"><a
<div class="ulist">
<ul>
<li>
<p></p>
<p><code>NamespacedHierarchicalStore</code> now throws an <code>IllegalStateException</code> for any attempt to
modify or query the store after it has been closed. In addition, an attempt to close a
store that has already been closed will have no effect.</p>
<div class="ulist">
<ul>
<li>
<p>See <a href="https://github.com/junit-team/junit5/issues/3614">issue 3614</a> for details.</p>
</li>
</ul>
</div>
</li>
</ul>
</div>
Expand Down

0 comments on commit 90d1e2c

Please sign in to comment.