Skip to content

Commit 3646a40

Browse files
committed
update spotbugs for AssistedFactory
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 4e89f46 commit 3646a40

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/analysis/spotbugs-filter.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
</Or>
4141
<Bug pattern="IICU_INCORRECT_INTERNAL_CLASS_USE" />
4242
</Match>
43+
<!-- Dagger AssistedFactory impls generate a static create() that overloads the instance factory method -->
44+
<Match>
45+
<Class name="~.*\..*.*Factory_Impl" />
46+
<Bug pattern="MOM_MISLEADING_OVERLOADED_METHOD" />
47+
</Match>
4348

4449
<!-- Data bindings autogenerated classes -->
4550
<Match>

0 commit comments

Comments
 (0)