Skip to content

Commit

Permalink
small reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
bchristi-git committed Apr 4, 2024
1 parent 170c981 commit bdac5cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/java.base/share/classes/java/lang/ref/Reference.java
Original file line number Diff line number Diff line change
Expand Up @@ -636,10 +636,10 @@ protected Object clone() throws CloneNotSupportedException {
* update, even if the call to {@code action} was the last use of this
* object. This might be the case if, for example, a usage in a user program
* had the form {@code new Resource().action();} which retains no other
* reference to this {@code Resource}. The
* {@code reachabilityFence} call is placed in a {@code finally} block to ensure
* that it is invoked across all paths in the method. A more complex method
* might need further precautions to ensure that
* reference to this {@code Resource}.
* The {@code reachabilityFence} call is placed in a {@code finally} block to
* ensure that it is invoked across all paths in the method. A more complex
* method might need further precautions to ensure that
* {@code reachabilityFence} is encountered along all code paths.
*
* <p> Method {@code reachabilityFence} is not required in constructions
Expand Down

0 comments on commit bdac5cc

Please sign in to comment.