File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
lib/src/main/java/com/diffplug/spotless Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2222import java .util .List ;
2323import java .util .Objects ;
2424
25+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
26+
2527/**
2628 * Gradle requires three things:
2729 * - Gradle defines cache equality based on your serialized representation
5153public class ConfigurationCacheHackList implements java .io .Serializable {
5254 private static final long serialVersionUID = 1L ;
5355 private boolean optimizeForEquality ;
54- public ArrayList <Object > backingList = new ArrayList <>();
56+ private ArrayList <Object > backingList = new ArrayList <>();
5557
5658 private void writeObject (java .io .ObjectOutputStream out ) throws IOException {
5759 out .writeBoolean (optimizeForEquality );
@@ -63,6 +65,7 @@ private void writeObject(java.io.ObjectOutputStream out) throws IOException {
6365 }
6466 }
6567
68+ @ SuppressFBWarnings ("MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT" )
6669 private void readObject (java .io .ObjectInputStream in ) throws IOException , ClassNotFoundException {
6770 optimizeForEquality = in .readBoolean ();
6871 backingList = new ArrayList <>();
You can’t perform that action at this time.
0 commit comments