refactor: sanitize javadoc

This commit is contained in:
Ilkka Seppälä
2024-05-23 18:40:52 +03:00
parent 7273c242b6
commit 8389456532
204 changed files with 127 additions and 337 deletions
@@ -33,7 +33,6 @@ package com.iluwatar.singleton;
* yet, it won't be loaded into memory, and no memory will be allocated for
* a static instance. This makes the singleton instance lazy-loaded and thread-safe.</p>
*
* @author owen.leung2@gmail.com
*/
public final class BillPughImplementation {
@@ -31,7 +31,6 @@ package com.iluwatar.singleton;
*
* <p>Broken under Java 1.4.</p>
*
* @author mortezaadi@gmail.com
*/
public final class ThreadSafeDoubleCheckLocking {
/**
@@ -25,9 +25,8 @@
package com.iluwatar.singleton;
/**
* Date: 06/18/23 - 16:29 PM.
* BillPughImplementationTest
*
* @author Owen Leung
*/
public class BillPughImplementationTest
extends SingletonTest<BillPughImplementation>{
@@ -25,9 +25,8 @@
package com.iluwatar.singleton;
/**
* Date: 12/29/15 - 19:20 PM.
* EnumIvoryTowerTest
*
* @author Jeroen Meulemeester
*/
class EnumIvoryTowerTest extends SingletonTest<EnumIvoryTower> {
@@ -25,9 +25,8 @@
package com.iluwatar.singleton;
/**
* Date: 12/29/15 - 19:22 PM.
* InitializingOnDemandHolderIdiomTest
*
* @author Jeroen Meulemeester
*/
class InitializingOnDemandHolderIdiomTest
extends SingletonTest<InitializingOnDemandHolderIdiom> {
@@ -25,9 +25,8 @@
package com.iluwatar.singleton;
/**
* Date: 12/29/15 - 19:23 PM.
* IvoryTowerTest
*
* @author Jeroen Meulemeester
*/
class IvoryTowerTest extends SingletonTest<IvoryTower> {
@@ -44,11 +44,7 @@ import org.junit.jupiter.api.Test;
* called in the SAME thread. The second proves that multiple calls to the singleton getInstance
* object are the same when called in the DIFFERENT thread.</p>
*
* <p>Date: 12/29/15 - 19:25 PM</p>
*
* @param <S> Supplier method generating singletons
* @author Jeroen Meulemeester
* @author Richard Jones
*/
abstract class SingletonTest<S> {
@@ -30,9 +30,8 @@ import java.lang.reflect.InvocationTargetException;
import org.junit.jupiter.api.Test;
/**
* Date: 12/29/15 - 19:26 PM.
* ThreadSafeDoubleCheckLockingTest
*
* @author Jeroen Meulemeester
*/
class ThreadSafeDoubleCheckLockingTest extends SingletonTest<ThreadSafeDoubleCheckLocking> {
@@ -25,9 +25,8 @@
package com.iluwatar.singleton;
/**
* Date: 12/29/15 - 19:26 PM.
* ThreadSafeLazyLoadedIvoryTowerTest
*
* @author Jeroen Meulemeester
*/
class ThreadSafeLazyLoadedIvoryTowerTest
extends SingletonTest<ThreadSafeLazyLoadedIvoryTower> {