mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
style: enable HideUtilityClassConstructor in checkstyle (#5147)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package com.thealgorithms.maths;
|
||||
|
||||
public class PiNilakantha {
|
||||
public final class PiNilakantha {
|
||||
private PiNilakantha() {
|
||||
}
|
||||
|
||||
// Calculates Pi using Nilakantha's infinite series
|
||||
// Method 2 in the following link explains the algorithm
|
||||
|
||||
Reference in New Issue
Block a user