We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69073de commit a4620aaCopy full SHA for a4620aa
1 file changed
src/main/java/com/thealgorithms/maths/Area.java
@@ -122,7 +122,7 @@ public static double surfaceAreaSquare(final double sideLength) {
122
* @return area of given triangle
123
*/
124
public static double surfaceAreaTriangle(final double baseLength, final double height) {
125
- if (baseLength<= 0) {
+ if (baseLength <= 0) {
126
throw new IllegalArgumentException(POSITIVE_BASE);
127
}
128
if (height <= 0) {
0 commit comments