]> source.dussan.org Git - jgit.git/commit
[errorprone] RefDatabase: #getConflictingNames immutable return 03/1203403/1
authorIvan Frade <ifrade@google.com>
Thu, 31 Oct 2024 19:55:31 +0000 (12:55 -0700)
committerIvan Frade <ifrade@google.com>
Thu, 31 Oct 2024 19:59:10 +0000 (12:59 -0700)
commit4ec2413e14043f6d9a0ebd6616fdef2464fe4880
tree2d5e36e74c35a2617cda550cff0d8dab19cad1ca
parentd894719cf36da9c71e9a11d0b33b576428a028a3
[errorprone] RefDatabase: #getConflictingNames immutable return

Errorprone reports that: This method returns both mutable and
immutable collections or maps from different paths. This may be
confusing for users of the method.

Return always an immutable collection.

Change-Id: Id48f3645fd06c8bc72212af180d7d02c7e0b7632
org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java