Fix PMD violations #327
This commit is contained in:
@ -29,7 +29,7 @@ public class Queen implements Royalty {
|
||||
|
||||
@Override
|
||||
public void changeMood() {
|
||||
if (complimentReceived && isFlirty && isDrunk) {
|
||||
if (complimentReceived && isFlirty && isDrunk && !isHungry) {
|
||||
isHappy = true;
|
||||
}
|
||||
}
|
||||
|
@ -2,8 +2,6 @@ package com.iluwatar.servant;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import com.iluwatar.servant.App;
|
||||
|
||||
/**
|
||||
*
|
||||
* Application test
|
||||
|
Reference in New Issue
Block a user