mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-23 00:25:29 +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
@@ -24,7 +24,7 @@
|
||||
package com.iluwatar.objectmother;
|
||||
|
||||
/**
|
||||
* Defines all attributes and behaviour related to the King
|
||||
* Defines all attributes and behaviour related to the King.
|
||||
*/
|
||||
public class King implements Royalty {
|
||||
boolean isDrunk = false;
|
||||
@@ -56,6 +56,7 @@ public class King implements Royalty {
|
||||
|
||||
/**
|
||||
* Method to flirt to a queen.
|
||||
*
|
||||
* @param queen Queen which should be flirted.
|
||||
*/
|
||||
public void flirt(Queen queen) {
|
||||
|
||||
Reference in New Issue
Block a user