Skip to content
Browse files

Fix javadoc problems.

  • Loading branch information...
1 parent 2cb9de1 commit c285d2e23c826be0379aab65082cd927e9faf0d5 @jkreps jkreps committed Apr 26, 2009
View
8 build.xml
@@ -215,9 +215,10 @@
<macrodef name="make-javadocs">
<attribute name="dir" />
<attribute name="packagenames" />
+ <attribute name="javadir" />
<sequential>
<replace-dir dir="@{dir}" />
- <javadoc sourcepath="${java.dir}" destdir="@{dir}" windowtitle="${display.name}" source="1.5" author="true" version="true" use="true" packagenames="@{packagenames}">
+ <javadoc sourcepath="@{javadir}" destdir="@{dir}" windowtitle="${display.name}" source="1.5" author="true" version="true" use="true" packagenames="@{packagenames}">
<doctitle>${display.name}</doctitle>
<bottom>${author}</bottom>
<classpath refid="main-classpath" />
@@ -226,9 +227,8 @@
</macrodef>
<target name="docs" description="Create complete Javadoc documentation">
- <make-javadocs dir="${javadoc.dir}/all" packagenames="*" />
- <make-javadocs dir="${javadoc.dir}/client" packagenames="voldemort.versioning.*, voldemort.client.*,voldemort.serialization.*" />
- <make-javadocs dir="${javadoc.dir}/contrib" packagenames="voldemort.contrib.*" />
+ <make-javadocs dir="${javadoc.dir}/all" packagenames="*" javadir="${java.dir}"/>
+ <make-javadocs dir="${javadoc.dir}/client" packagenames="voldemort.versioning.*, voldemort.client.*,voldemort.serialization.*" javadir="${java.dir}"/>
</target>
<target name="redeploy" depends="war, deploy">
View
2 src/java/voldemort/store/InvalidMetadataCheckingStore.java
@@ -44,7 +44,7 @@
*
* @param node The id of the destination node
* @param innerStore The store which we delegate write operations to
- * @param routingStrategy: the routing stratgey for this cluster
+ * @param routingStrategy the routing stratgey for this cluster
* configuration.
*/
public InvalidMetadataCheckingStore(int node,
View
2 src/java/voldemort/store/StoreUtils.java
@@ -102,7 +102,7 @@ public static void assertValidKeys(Iterable<?> keys) {
* This is typically used in finally blocks to prevent an exception thrown
* during close from hiding an exception thrown inside the try.
*
- * @param input the InputStream to close, may be null.
+ * @param stream the InputStream to close, may be null.
*/
public static void close(InputStream stream) {
if(stream != null) {
View
10 src/java/voldemort/store/readonly/RandomAccessFileStore.java
@@ -75,8 +75,8 @@ public int compare(Pair<ByteArray, Long> o1, Pair<ByteArray, Long> o2) {
public static final int INDEX_ENTRY_SIZE = KEY_HASH_SIZE + POSITION_SIZE;
/*
- * The overhead for each cache element is the key size + 4 byte array length +
- * 12 byte object overhead + 8 bytes for a 64-bit reference to the thing
+ * The overhead for each cache element is the key size + 4 byte array length
+ * + 12 byte object overhead + 8 bytes for a 64-bit reference to the thing
*/
public static final int MEMORY_OVERHEAD_PER_KEY = KEY_HASH_SIZE + 4 + 12 + 8;
@@ -106,9 +106,9 @@ public int compare(Pair<ByteArray, Long> o1, Pair<ByteArray, Long> o2) {
* @param numFileHandles The number of file descriptors to keep pooled for
* each file
* @param fdWaitTimeoutMs The maximum time to wait to acquire a file handle
- * @param maxCacheSize The maximum size of the cache, in bytes. The actual
- * size of the cache will be the largest power of two lower than this
- * number
+ * @param maxCacheSizeBytes The maximum size of the cache, in bytes. The
+ * actual size of the cache will be the largest power of two lower
+ * than this number
*/
public RandomAccessFileStore(String name,
File storageDir,

0 comments on commit c285d2e

Please sign in to comment.
Something went wrong with that request. Please try again.