mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 08:59:01 +00:00
Resolves checkstyle errors for naked-objects null-object object-mother object-pool observer queue-load-leveling (#1082)
* Reduces checkstyle errors in naked-objects * Reduces checkstyle errors in null-object * Reduces checkstyle errors in object-mother * Reduces checkstyle errors in object-pool * Reduces checkstyle errors in observer * Reduces checkstyle errors in queue-load-leveling
This commit is contained in:
committed by
Ilkka Seppälä
parent
1e76d91929
commit
6ef840f3cf
@@ -26,9 +26,7 @@ package com.iluwatar.object.pool;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
/**
|
||||
*
|
||||
* Oliphaunts are expensive to create
|
||||
*
|
||||
* Oliphaunts are expensive to create.
|
||||
*/
|
||||
public class Oliphaunt {
|
||||
|
||||
@@ -37,7 +35,7 @@ public class Oliphaunt {
|
||||
private final int id;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* Constructor.
|
||||
*/
|
||||
public Oliphaunt() {
|
||||
id = counter.incrementAndGet();
|
||||
|
||||
Reference in New Issue
Block a user