mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-17 18:59:15 +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 Queen
|
||||
* Defines all attributes and behaviour related to the Queen.
|
||||
*/
|
||||
public class Queen implements Royalty {
|
||||
private boolean isDrunk = false;
|
||||
@@ -61,6 +61,7 @@ public class Queen implements Royalty {
|
||||
|
||||
/**
|
||||
* Method which is called when the king is flirting to a queen.
|
||||
*
|
||||
* @param king King who initialized the flirt.
|
||||
* @return A value which describes if the flirt was successful or not.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user