diff --git a/src/main/java/javax/cache/configuration/MutableConfiguration.java b/src/main/java/javax/cache/configuration/MutableConfiguration.java index 1011242..de2f9f4 100644 --- a/src/main/java/javax/cache/configuration/MutableConfiguration.java +++ b/src/main/java/javax/cache/configuration/MutableConfiguration.java @@ -102,19 +102,20 @@ public class MutableConfiguration implements CompleteConfiguration { /** * Default JavaBean constructor. *

- * 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. *

* To enable runtime type enforcement, if supported by the implementation, call * {@link #setTypes} after construction. *

- * 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. *

*
{@code
-   * CacheConfiguration<Integer, String> = new MutableConfiguration<Integer, String>()
-   *     .setTypes(Integer.class, String.class)
-   *     .setReadThrough(true)
-   *      . . .
+   * CacheConfiguration = new MutableConfiguration()
+   *             .setTypes(Integer.class, String.class)
+   *             .setReadThrough(true)
+   *             . . .
    * }
* @see #setTypes(Class, Class) */ @@ -327,8 +328,8 @@ public Factory getExpiryPolicyFactory() { * Set the {@link Factory} for the {@link ExpiryPolicy}. If null * is specified the default {@link ExpiryPolicy} is used. *

- * 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 */ diff --git a/src/main/java/javax/cache/spi/CachingProvider.java b/src/main/java/javax/cache/spi/CachingProvider.java index 866f987..9a5d465 100644 --- a/src/main/java/javax/cache/spi/CachingProvider.java +++ b/src/main/java/javax/cache/spi/CachingProvider.java @@ -55,7 +55,8 @@ public interface CachingProvider extends Closeable { *

* 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. *