Skip to content

Commit e7f17cc

Browse files
committed
Improve link
1 parent 549830b commit e7f17cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/concepts-and-explanations/traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public interface Trait<T extends Tree> {
4646

4747
## A real-world example: the Annotated trait
4848

49-
The [src/main/java/com/yourorg/FindSpringBeans.java recipe](https://github.com/moderneinc/rewrite-recipe-starter/blob/main/src/main/java/com/yourorg/FindSpringBeans.java) in the recipe starter project is a good example of how to use traits.
49+
The [FindSpringBeans recipe](https://github.com/moderneinc/rewrite-recipe-starter/blob/main/src/main/java/com/yourorg/FindSpringBeans.java) in the recipe starter project is a good example of how to use traits.
5050

5151
To get a better idea of why you may want to use or create a trait, let's consider a real-world example: Java annotations. In Java, you can annotate methods and pass in a `String` to said annotation. _Syntactically_, this can be done in a few ways while keeping the same _semantic_ meaning. For example, you could write:
5252

0 commit comments

Comments
 (0)