Skip to content

Commit 55b0341

Browse files
committed
Fix remaining Checkstyle errors for Singleton
1 parent 3b1a281 commit 55b0341

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

singleton/src/main/java/com/iluwatar/singleton/InitializingOnDemandHolderIdiom.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ public final class InitializingOnDemandHolderIdiom {
4141
/**
4242
* Private constructor.
4343
*/
44-
private InitializingOnDemandHolderIdiom() {}
44+
private InitializingOnDemandHolderIdiom() {
45+
}
4546

4647
/**
4748
* Sigleton instance.

singleton/src/main/java/com/iluwatar/singleton/IvoryTower.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public final class IvoryTower {
3131
/**
3232
* Private constructor so nobody can instantiate the class.
3333
*/
34-
private IvoryTower() {}
34+
private IvoryTower() {
35+
}
3536

3637
/**
3738
* Static to class instance of the class.

0 commit comments

Comments
 (0)