Skip to content

Commit 30908a5

Browse files
committed
known val edge case in performance test
1 parent 8dde1c8 commit 30908a5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

subprojects/performance/src/files/pleac11_15.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,9 @@ class ImportantHash implements Serializable {
564564
def getAt(key) { map[key] }
565565
}
566566
class StoreTransaction implements Transaction {
567-
private val
568-
StoreTransaction(val) { this.val = val }
569-
void executeOn(prevayler, Date ignored) { prevayler.putAt(val,val*2) }
567+
private v
568+
StoreTransaction(val) { this.v = val }
569+
void executeOn(prevayler, Date ignored) { prevayler.putAt(v,v*2) }
570570
}
571571
def save(n){ store.execute(new StoreTransaction(n)) }
572572
store = PrevaylerFactory.createPrevayler(new ImportantHash(), "pleac11")

0 commit comments

Comments
 (0)