Skip to content

Commit

Permalink
feat(objectionary#114): clean for qulice
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jan 3, 2025
1 parent 9b3ecc1 commit 4109125
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
* Object is not unique.
*
* @since 0.0.30
* @checkstyle NestedForDepthCheck (40 lines)
*/
public final class LtObjectIsNotUnique implements Lint<Map<String, XML>> {

Expand All @@ -67,7 +66,10 @@ public Collection<Defect> defects(final Map<String, XML> pkg) {
continue;
}
LtObjectIsNotUnique.programObjects(oth).entrySet().stream()
.filter(object -> LtObjectIsNotUnique.containsDuplicate(xmir, oth, object.getKey()))
.filter(
object ->
LtObjectIsNotUnique.containsDuplicate(xmir, oth, object.getKey())
)
.map(
(Function<Map.Entry<String, String>, Defect>) object ->
new Defect.Default(
Expand Down

0 comments on commit 4109125

Please sign in to comment.