diff --git a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerSpatialDatatype.java b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerSpatialDatatype.java
index 4d18fcc28..6959dec93 100644
--- a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerSpatialDatatype.java
+++ b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerSpatialDatatype.java
@@ -96,6 +96,8 @@ abstract class SQLServerSpatialDatatype {
*
* @param noZM
* flag to indicate if Z and M coordinates should be included
+ * @param type
+ * Type of Spatial Datatype (Geometry/Geography)
*/
protected void serializeToWkb(boolean noZM, SQLServerSpatialDatatype type) {
ByteBuffer buf = ByteBuffer.allocate(determineWkbCapacity());
@@ -172,6 +174,10 @@ protected void serializeToWkb(boolean noZM, SQLServerSpatialDatatype type) {
* Deserializes the buffer (that contains WKB representation of Geometry/Geography data), and stores it into
* multiple corresponding data structures.
*
+ * @param type
+ * Type of Spatial Datatype (Geography/Geometry)
+ * @throws SQLServerException
+ * if an Exception occurs
*/
protected void parseWkb(SQLServerSpatialDatatype type) throws SQLServerException {
srid = readInt();
diff --git a/src/main/java/mssql/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.java b/src/main/java/mssql/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.java
index 10f892497..ba48e21cd 100644
--- a/src/main/java/mssql/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.java
+++ b/src/main/java/mssql/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.java
@@ -50,14 +50,14 @@
* concurrency for updates, and a maximum capacity to bound the map by. This
* implementation differs from {@link ConcurrentHashMap} in that it maintains a
* page replacement algorithm that is used to evict an entry when the map has
- * exceeded its capacity. Unlike the Java Collections Framework, this
+ * exceeded its capacity. Unlike the Java Collections Framework
, this
* map does not have a publicly visible constructor and instances are created
* through a {@link Builder}.
*
- * An entry is evicted from the map when the weighted capacity exceeds
- * its maximum weighted capacity threshold. A {@link EntryWeigher}
+ * An entry is evicted from the map when the weighted capacity
exceeds
+ * its maximum weighted capacity
threshold. A {@link EntryWeigher}
* determines how many units of capacity that an entry consumes. The default
- * weigher assigns each value a weight of 1 to bound the map by the
+ * weigher assigns each value a weight of 1
to bound the map by the
* total number of key-value pairs. A map that holds collections may choose to
* weigh values by the number of elements in the collection and bound the map
* by the total number of elements that it contains. A change to a value that
@@ -73,7 +73,7 @@
* operation asynchronously, such as by submitting a task to an
* {@link java.util.concurrent.ExecutorService}.
*
- * The concurrency level determines the number of threads that can
+ * The concurrency level
determines the number of threads that can
* concurrently modify the table. Using a significantly higher or lower value
* than needed can waste space or lead to thread contention, but an estimate
* within an order of magnitude of the ideal value does not usually have a
@@ -85,7 +85,7 @@
* interfaces.
*
* Like {@link java.util.Hashtable} but unlike {@link HashMap}, this class
- * does not allow null to be used as a key or value. Unlike
+ * does not allow
- * A value with a weight of 0 will be rejected by the map. If a value
+ * A value with a weight of
- * A value with a weight of 0 will be rejected by the map. If a value
+ * A value with a weight of
- * A value with a weight of 0 will be rejected by the map. If a value
+ * A value with a weight of
- * A value with a weight of 0 will be rejected by the map. If a value
+ * A value with a weight of
- * A value with a weight of 0 will be rejected by the map. If a value
+ * A value with a weight of
- * A value with a weight of 0 will be rejected by the map. If a value
+ * A value with a weight of
* The {@link ConcurrentLinkedHashMap} class supplies an efficient, scalable, thread-safe, bounded map. As with the
- * Java Collections Framework the "Concurrent" prefix is used to indicate that the map is not governed by a single exclusion lock.
+ * null
to be used as a key or value. Unlike
* {@link java.util.LinkedHashMap}, this class does not provide
* predictable iteration order. A snapshot of the keys and entries may be
* obtained in ascending and descending order of retention.
@@ -466,8 +466,8 @@ void drainWriteBuffer() {
}
/**
- * Attempts to transition the node from the alive state to the
- * retired state.
+ * Attempts to transition the node from the alive
state to the
+ * retired
state.
*
* @param node the entry in the page replacement policy
* @param expect the expected weighted value
@@ -482,8 +482,8 @@ boolean tryToRetire(Nodealive
state to the
+ * retired
state, if a valid transition.
*
* @param node the entry in the page replacement policy
*/
@@ -501,8 +501,8 @@ void makeRetired(Nodedead
state and decrements
+ * the weightedSize
.
*
* @param node the entry in the page replacement policy
*/
@@ -1147,7 +1147,7 @@ public void setNext(NodeWeightedValue
. */
V getValue() {
return get().value;
}
@@ -1473,7 +1473,7 @@ public Builder() {
}
/**
- * Specifies the initial capacity of the hash table (default 16).
+ * Specifies the initial capacity of the hash table (default 16
).
* This is the number of key-value pairs that the hash table can hold
* before a resize operation is required.
*
@@ -1507,7 +1507,7 @@ public Builder16
).
*
* @param concurrencyLevel the estimated number of concurrently updating
* threads
@@ -1538,7 +1538,7 @@ public Builder1
.
*
* @param weigher the algorithm to determine a value's weight
* @return Builder
@@ -1554,7 +1554,7 @@ public Builder1
.
*
* @param weigher the algorithm to determine a entry's weight
* @return Builder
diff --git a/src/main/java/mssql/googlecode/concurrentlinkedhashmap/Weighers.java b/src/main/java/mssql/googlecode/concurrentlinkedhashmap/Weighers.java
index 2dd4531d0..469977a11 100644
--- a/src/main/java/mssql/googlecode/concurrentlinkedhashmap/Weighers.java
+++ b/src/main/java/mssql/googlecode/concurrentlinkedhashmap/Weighers.java
@@ -54,7 +54,7 @@ public static 1
. A map bounded with
* this weigher will evict when the number of key-value pairs exceeds the
* capacity.
*
@@ -68,7 +68,7 @@ public static 1
. A map bounded with
* this weigher will evict when the number of key-value pairs exceeds the
* capacity.
*
@@ -88,7 +88,7 @@ public static 0
will be rejected by the map. If a value
* with this weight can occur then the caller should eagerly evaluate the
* value and treat it as a removal operation. Alternatively, a custom weigher
* may be specified on the map to assign an empty value a positive weight.
@@ -106,7 +106,7 @@ public static Weigher0
will be rejected by the map. If a value
* with this weight can occur then the caller should eagerly evaluate the
* value and treat it as a removal operation. Alternatively, a custom weigher
* may be specified on the map to assign an empty value a positive weight.
@@ -125,7 +125,7 @@ public static 0
will be rejected by the map. If a value
* with this weight can occur then the caller should eagerly evaluate the
* value and treat it as a removal operation. Alternatively, a custom weigher
* may be specified on the map to assign an empty value a positive weight.
@@ -144,7 +144,7 @@ public static 0
will be rejected by the map. If a value
* with this weight can occur then the caller should eagerly evaluate the
* value and treat it as a removal operation. Alternatively, a custom weigher
* may be specified on the map to assign an empty value a positive weight.
@@ -163,7 +163,7 @@ public static 0
will be rejected by the map. If a value
* with this weight can occur then the caller should eagerly evaluate the
* value and treat it as a removal operation. Alternatively, a custom weigher
* may be specified on the map to assign an empty value a positive weight.
@@ -182,7 +182,7 @@ public static 0
will be rejected by the map. If a value
* with this weight can occur then the caller should eagerly evaluate the
* value and treat it as a removal operation. Alternatively, a custom weigher
* may be specified on the map to assign an empty value a positive weight.
diff --git a/src/main/java/mssql/googlecode/concurrentlinkedhashmap/package-info.java b/src/main/java/mssql/googlecode/concurrentlinkedhashmap/package-info.java
index ad0fd0026..5e0e55095 100644
--- a/src/main/java/mssql/googlecode/concurrentlinkedhashmap/package-info.java
+++ b/src/main/java/mssql/googlecode/concurrentlinkedhashmap/package-info.java
@@ -22,7 +22,7 @@
* automatically removed due to the map exceeding a capacity threshold. It is not called when an entry was explicitly removed.
* Java Collections Framework
the "Concurrent" prefix is used to indicate that the map is not governed by a single exclusion lock.
*
* @see http://code.google.com/p/concurrentlinkedhashmap/
*/