gwt /
gwt /
00e8562f26211a13114890f8e036ede25d205a7b Adds SuppressWarnings for self-referential collection operations.
Self-referential collection operations (c.addAll(c), c.removeAll(c), c.retainAll(c),
and c.containsAll(c)). Such cases are either no-ops, undefined behavior, or
unnecessarily complicated, and often reveal bugs.
In GWT's case, we are testing the collection itself so it makes sense. The patch
suppresses the warning to make Google internal static analysis tools happy with GWT.
Change-Id: Ie8679f1eb9790441e0da9f81e2329386bdc7d7e2
3 files changed