Skip to content

Commit cbec9ac

Browse files
committed
fix: suppress searlizable singletons
1 parent 3211794 commit cbec9ac

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spotbugs-exclude.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@
3030
<Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR"/>
3131
<Class name="cnuphys.splot.plot.VerticalLabelUI"/>
3232
</Match>
33+
<Match> <!-- singleton implements Serializable; should use enum singleton pattern -->
34+
<Bug pattern="SING_SINGLETON_IMPLEMENTS_SERIALIZABLE"/>
35+
<Class name="cnuphys.lund.LundTrackDialog"/>
36+
</Match>
37+
<Match> <!-- singleton implements Serializable; should use enum singleton pattern -->
38+
<Bug pattern="SING_SINGLETON_IMPLEMENTS_SERIALIZABLE"/>
39+
<Class name="cnuphys.swim.SwimMenu"/>
40+
</Match>
41+
3342

3443
<!-- HIGHER RANK SUPPRESSIONS -->
3544
<!-- <Match> --> <!-- not worth fixing -->

0 commit comments

Comments
 (0)