Skip to content

Commit 5eb8dc9

Browse files
committed
fix: suppress static method hiding of DetectorRepsonse.readHipoEvent
better than breaking the API...
1 parent ffcf706 commit 5eb8dc9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

spotbugs-exclude.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,26 @@
3838
<Bug pattern="SING_SINGLETON_IMPLEMENTS_SERIALIZABLE"/>
3939
<Class name="cnuphys.swim.SwimMenu"/>
4040
</Match>
41+
<Match> <!-- static method hiding of base-class DetectorResponse.readHipoEvent -->
42+
<Bug pattern="HSM_HIDING_METHOD"/>
43+
<Class name="org.jlab.clas.detector.TaggerResponse"/>
44+
<Method name="readHipoEvent" params="org.jlab.io.base.DataEvent,String,org.jlab.detector.base.DetectorType"\>
45+
</Match>
46+
<Match> <!-- static method hiding of base-class DetectorResponse.readHipoEvent -->
47+
<Bug pattern="HSM_HIDING_METHOD"/>
48+
<Class name="org.jlab.clas.detector.ScintillatorResponse"/>
49+
<Method name="readHipoEvent" params="org.jlab.io.base.DataEvent,String,org.jlab.detector.base.DetectorType"\>
50+
</Match>
51+
<Match> <!-- static method hiding of base-class DetectorResponse.readHipoEvent -->
52+
<Bug pattern="HSM_HIDING_METHOD"/>
53+
<Class name="org.jlab.clas.detector.CherenkovResponse"/>
54+
<Method name="readHipoEvent" params="org.jlab.io.base.DataEvent,String,org.jlab.detector.base.DetectorType"\>
55+
</Match>
56+
<Match> <!-- static method hiding of base-class DetectorResponse.readHipoEvent -->
57+
<Bug pattern="HSM_HIDING_METHOD"/>
58+
<Class name="org.jlab.clas.detector.CalorimeterResponse"/>
59+
<Method name="readHipoEvent" params="org.jlab.io.base.DataEvent,String,org.jlab.detector.base.DetectorType"\>
60+
</Match>
4161

4262

4363
<!-- HIGHER RANK SUPPRESSIONS -->

0 commit comments

Comments
 (0)