jsr107 / jsr107spec

JSR107 Cache Specification
Apache License 2.0
413 stars 164 forks source link

Spec Document Cache Writer effect for getAndReplace #363

Closed cruftex closed 8 years ago

cruftex commented 8 years ago

From: https://github.com/jsr107/jsr107spec/issues/357

Page 69. Table entry for V getAndReplace(K key, V value) is now:

Yes, if this method returns true

Should be:

Yes, if this method returns a non-null value

gregrluck commented 8 years ago

Changed it to "Yes (when the key is associated with an existing value)"