Skip to content

Commit 88f180b

Browse files
authored
Correct Javadoc return description for cylinder surface area
Fix Javadoc comment for surfaceAreaCylinder method.
1 parent a14e1e3 commit 88f180b

File tree

1 file changed

+1
-2
lines changed
  • src/main/java/com/thealgorithms/maths

1 file changed

+1
-2
lines changed

src/main/java/com/thealgorithms/maths/Area.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ public static double surfaceAreaRectangle(final double length, final double widt
8989
*
9090
* @param radius radius of the floor
9191
* @param height height of the cylinder.
92-
* @return volume of given cylinder
93-
*/
92+
surface area */
9493
public static double surfaceAreaCylinder(final double radius, final double height) {
9594
if (radius <= 0) {
9695
throw new IllegalArgumentException(POSITIVE_RADIUS);

0 commit comments

Comments
 (0)