Skip to content

Commit

Permalink
Update sequencedcollection.md to link to listfirstandlast.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Nov 7, 2023
1 parent e912a77 commit 4c9be74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reference/recipes/java/migrate/util/sequencedcollection.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ mod run <PATH> --recipe SequencedCollection

{% tabs %}
{% tab title="Recipe List" %}
* [Replace `List` `get`, `add`, and `remove` with `SequencedCollection` `*First` and `*Last` methods](../../../java/migrate/util/listfirstandlast.md)
* [Replace `iterator().next()` with `getFirst()`](../../../java/migrate/util/iteratornext.md)
* [Change method name](../../../java/changemethodname.md)
* methodPattern: `java.util.SortedSet first()`
Expand All @@ -161,6 +162,7 @@ tags:
- collections
- java21
recipeList:
- org.openrewrite.java.migrate.util.ListFirstAndLast
- org.openrewrite.java.migrate.util.IteratorNext
- org.openrewrite.java.ChangeMethodName:
methodPattern: java.util.SortedSet first()
Expand Down

0 comments on commit 4c9be74

Please sign in to comment.