Skip to content

Commit

Permalink
Updated Javadoc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrluck committed Nov 16, 2017
1 parent 5b098ac commit d3f4627
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
19 changes: 10 additions & 9 deletions src/main/java/javax/cache/configuration/MutableConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,20 @@ public class MutableConfiguration<K, V> implements CompleteConfiguration<K, V> {
/**
* Default JavaBean constructor.
* <p>
* Creates a default configuration. Default configurations have no runtime type checking
* and are set for eternal expiry.
* Creates a default configuration. Default configurations have no
* runtime type checking and are set for eternal expiry.
* </p><p>
* To enable runtime type enforcement, if supported by the implementation, call
* {@link #setTypes} after construction.
* </p><p>
* After construction set any other configuration parameters in the fluent style. e.g.
* After construction set any other configuration parameters in the
* fluent style. e.g.
* </p>
* <pre>{@code
* CacheConfiguration&lt;Integer, String&gt; = new MutableConfiguration&lt;Integer, String&gt;()
* .setTypes(Integer.class, String.class)
* .setReadThrough(true)
* . . .
* CacheConfiguration<Integer, String> = new MutableConfiguration<Integer, String>()
* .setTypes(Integer.class, String.class)
* .setReadThrough(true)
* . . .
* }</pre>
* @see #setTypes(Class, Class)
*/
Expand Down Expand Up @@ -327,8 +328,8 @@ public Factory<ExpiryPolicy> getExpiryPolicyFactory() {
* Set the {@link Factory} for the {@link ExpiryPolicy}. If <code>null</code>
* is specified the default {@link ExpiryPolicy} is used.
* <p>
* Only one expiry policy can be set for a cache. The last policy applied before cache
* construction will be the one used.
* Only one expiry policy can be set for a cache. The last policy applied
* before cache construction will be the one used.
* @param factory the {@link ExpiryPolicy} {@link Factory}
* @return the {@link MutableConfiguration} to permit fluent-style method calls
*/
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/javax/cache/spi/CachingProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public interface CachingProvider extends Closeable {
* <p>
* Properties names follow the same scheme as package names.
* The prefixes {@code java} and {@code javax} are reserved.
* Properties are passed through and can be retrieved via {@link CacheManager#getProperties()}.
* Properties are passed through and can be retrieved via
* {@link CacheManager#getProperties()}.
* Properties within the package scope of a caching implementation may be used for
* additional configuration.
*
Expand Down

0 comments on commit d3f4627

Please sign in to comment.