Skip to content

Commit abe4bd8

Browse files
committed
Adds a hashCode method to the Settings class for Ant.
1 parent 930b36d commit abe4bd8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/compiler/scala/tools/ant/sabbus/Settings.scala

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,18 @@ class Settings {
9393
case _ => false
9494
}
9595

96+
override lazy val hashCode: Int = Seq(
97+
gBf,
98+
uncheckedBf,
99+
classpathBf,
100+
sourcepathBf,
101+
sourcedirBf,
102+
bootclasspathBf,
103+
extdirsBf,
104+
dBf,
105+
encodingBf,
106+
targetBf,
107+
optimiseBf,
108+
extraParamsBf
109+
).##
96110
}

0 commit comments

Comments
 (0)