Skip to content

Commit

Permalink
Update BasicShape.java
Browse files Browse the repository at this point in the history
  • Loading branch information
homberghp authored Jan 24, 2024
1 parent 4a020c8 commit b0b9cd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sealed interface BasicShape
/**
* Compute area for all known subclasses.
*
* @returnthe area.
* @return the area.
*/
default double area() {
return switch ( this ) {
Expand Down

0 comments on commit b0b9cd0

Please sign in to comment.