-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Polish #1938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polish #1938
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
|
||
/** | ||
* {@link org.springframework.cache.Cache} implementation on top of a | ||
* {@link javax.cache.Cache} instance. | ||
* {@link Cache javax.cache.Cache} instance. | ||
* | ||
* <p>Note: This class has been updated for JCache 1.0, as of Spring 4.0. | ||
* | ||
|
@@ -42,15 +42,15 @@ public class JCacheCache extends AbstractValueAdaptingCache { | |
|
||
|
||
/** | ||
* Create an {@link org.springframework.cache.jcache.JCacheCache} instance. | ||
* Create a {@link org.springframework.cache.jcache.JCacheCache} instance. | ||
|
||
* @param jcache backing JCache Cache instance | ||
*/ | ||
public JCacheCache(Cache<Object, Object> jcache) { | ||
this(jcache, true); | ||
} | ||
|
||
/** | ||
* Create an {@link org.springframework.cache.jcache.JCacheCache} instance. | ||
* Create a {@link org.springframework.cache.jcache.JCacheCache} instance. | ||
|
||
* @param jcache backing JCache Cache instance | ||
* @param allowNullValues whether to accept and convert null values for this cache | ||
*/ | ||
|
@@ -128,7 +128,7 @@ public T process(MutableEntry<Object, Object> entry, Object... arguments) throws | |
} | ||
catch (Exception ex) { | ||
throw new EntryProcessorException("Value loader '" + valueLoader + "' failed " + | ||
"to compute value for key '" + entry.getKey() + "'", ex); | ||
"to compute value for key '" + entry.getKey() + "'", ex); | ||
} | ||
entry.setValue(toStoreValue(value)); | ||
return value; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the fully qualified package name, we'd want to have "JCache" there in addition.
So we might as well just leave it as is for clarity, as was originally intended.
Thus, please either undo this change or prefix that with "JCache" as is done elsewhere in the Javadoc for this class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbrannen It looks the same concern as @snicoll 's #1938 (comment). I answered there and let me know what you think.