From 5b098accb1020a72287c5e4e306119ae31b1b924 Mon Sep 17 00:00:00 2001 From: Greg Luck Date: Sat, 4 Nov 2017 10:35:32 -0700 Subject: [PATCH] #391 Fix formatting --- .../javax/cache/event/CacheEntryEvent.java | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/main/java/javax/cache/event/CacheEntryEvent.java b/src/main/java/javax/cache/event/CacheEntryEvent.java index e70508f..c047ad2 100644 --- a/src/main/java/javax/cache/event/CacheEntryEvent.java +++ b/src/main/java/javax/cache/event/CacheEntryEvent.java @@ -57,11 +57,12 @@ public final Cache getSource() { *

* The value will be available * for {@link CacheEntryCreatedListener} and {@link CacheEntryUpdatedListener}. - * Returns the same value as {@link #getOldValue()} for {@link CacheEntryExpiredListener} - * and {@link CacheEntryRemovedListener}. Cache clients that need to maintain compatibility with - * JSR107 version 1.0 cache implementations, need to use this method for retrieving the expired - * or removed value. When using cache implementations compatible with JSR107 version 1.1, - * clients should prefer the method {@link #getOldValue()}. + * Returns the same value as {@link #getOldValue()} for + * {@link CacheEntryExpiredListener} and {@link CacheEntryRemovedListener}. + * Cache clients that need to maintain compatibility with JSR107 version 1.0 + * cache implementations, need to use this method for retrieving the expired + * or removed value. When using cache implementations compatible with JSR107 + * version 1.1, clients should prefer the method {@link #getOldValue()}. * * @return the value corresponding to this entry * @see #getOldValue() @@ -70,7 +71,9 @@ public final Cache getSource() { public abstract V getValue(); /** - * Returns the previous value that existed for entry in the cache before modification or removal. + * Returns the previous value that existed for entry in the cache before + * modification or removal. + * * The old value will be available * for {@link CacheEntryUpdatedListener}, {@link CacheEntryExpiredListener} * and {@link CacheEntryRemovedListener} @@ -79,8 +82,8 @@ public final Cache getSource() { * {@link CacheEntryExpiredListener} and {@link CacheEntryRemovedListener} * if {@link CacheEntryListenerConfiguration#isOldValueRequired()} is false. * - * @return the previous value or null if there was no previous value or - * the previous value is not available + * @return the previous value or null if there was no previous + * value or the previous value is not available */ public abstract V getOldValue();