From 8e5a8278c2f6cda74d4ef01399d41c9024f62d23 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Thu, 13 Nov 2014 12:55:04 +0000 Subject: [PATCH] added back in the {@code --- src/main/java/net/openhft/chronicle/map/ChronicleMap.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/map/ChronicleMap.java b/src/main/java/net/openhft/chronicle/map/ChronicleMap.java index 3ad06084a..567e4e41b 100644 --- a/src/main/java/net/openhft/chronicle/map/ChronicleMap.java +++ b/src/main/java/net/openhft/chronicle/map/ChronicleMap.java @@ -112,14 +112,14 @@ public interface ChronicleMap extends ConcurrentMap, ChronicleHash { * method, depending on what deserialization strategy is configured on the builder, using which this map * was constructed. If the value deserializer is able to reuse the given {@code usingValue} object, * calling this method instead of {@link #get(Object)} could help to reduce garbage creation. - *
+     * 
{@code
      * try (ReadContext context = map.getUsingLocked(key,using)) {
      *    BondVOInterface bond =  context.value().getValue();
      *    long issueDate =  bond.getIssueDate();
      *    String symbol = bond.getSymbol();
      *    // add your logic here (the lock will ensure this bond can not be changed by another thread)
      * }  // the read lock is released here.
-     * 
+ * }
* To ensure that you can read the 'issueDate' and 'symbol' can be read atomically, these values must be * read while the segment lock is in place. * @@ -152,7 +152,7 @@ public interface ChronicleMap extends ConcurrentMap, ChronicleHash { * created to deserialize the data. * * In code, {@code acquireUsing} is specified as : - *
+     * 
{@code
      * V acquireUsing(K key, V usingValue) {
      *     if (!containsKey(key))
      *         put(key, defaultValue(key));