Skip to content

Commit e2c7dc7

Browse files
committed
change equals to ==
1 parent 2eb517f commit e2c7dc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/scala/viper/carbon/modules/impls/DefaultStateModule.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class DefaultStateModule(val verifier: Verifier) extends StateModule {
154154
}
155155

156156
private def freshTempStateKeepCurrentAux(name: String, usedForOldState: Boolean) : StateSnapshot = {
157-
if(name.equals("old") && !usedForOldState) {
157+
if(name == "old" && !usedForOldState) {
158158
sys.error("freshTempStateKeepCurrent invoked with reserved \"old\" name")
159159
}
160160

0 commit comments

Comments
 (0)