Polish: "@Override" should be used on overriding and implementing methods

This commit is contained in:
igor-suhorukov
2018-02-28 23:43:36 +03:00
committed by Juergen Hoeller
parent a19d4deb24
commit 8080f56db8
22 changed files with 48 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ public class CompositeRequestCondition extends AbstractRequestCondition<Composit
/**
* Whether this instance contains 0 conditions or not.
*/
@Override
public boolean isEmpty() {
return ObjectUtils.isEmpty(this.requestConditions);
}

View File

@@ -147,6 +147,7 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
/**
* Whether the condition has any media type expressions.
*/
@Override
public boolean isEmpty() {
return this.expressions.isEmpty();
}