Skip to content

Commit

Permalink
Reword literal trait description (#4347)
Browse files Browse the repository at this point in the history
To make it a bit clearer.
  • Loading branch information
mike-solomon authored Jul 24, 2024
1 parent 4568577 commit 116bac6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@

/**
* A literal in Java is either a {@link J.Literal} or a {@link J.NewArray}
* with a non-null initializer that itself literals or new arrays that recursively
* contain these constraints. In other languages this trait is inclusive
* of constructs like list or map literals.
* that has a non-null initializer that, itself, contains literals or new
* arrays that recursively contain these constraints. In other languages
* this trait is inclusive of constructs like list or map literals.
*/
@RequiredArgsConstructor
public class Literal implements Trait<Expression> {
Expand Down

0 comments on commit 116bac6

Please sign in to comment.