From af15244d8354b39533de39257021577a386e1be4 Mon Sep 17 00:00:00 2001 From: "Taro L. Saito" Date: Wed, 30 Mar 2011 17:59:33 +0900 Subject: [PATCH] Set the deploy location to pom.xml --- pom.xml | 85 +++++++++++++++++++++ src/main/java/org/xerial/snappy/Snappy.java | 7 +- 2 files changed, 89 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index be79117..7acd6ac 100755 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,35 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + 2.7 + + + attach-javadocs + + jar + + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + attach-sources + verify + + jar + + + + + @@ -65,6 +94,62 @@ scm:hg:https://snappy-java.googlecode.com/hg/ + + + + xerial.scp + scpexe://www.xerial.org/home/web/maven.xerial.org/repository/site + + + xerial.scp + Xerial Maven Repository + scpexe://www.xerial.org/home/web/maven.xerial.org/repository/artifact + + + xerial.scp + Xerial Maven Snapshot Repository + scpexe://www.xerial.org/home/web/maven.xerial.org/repository/snapshot + false + + + + + + + sourceforge + + + xerial.sourceforge + Xerial maven repository at sourceforge.jp + scpexe://shell.sourceforge.jp/home/groups/x/xe/xerial/htdocs/maven/release + + + + + + + xerial.local + + + xerial.local + Xerial Maven Repository + file:///home/web/maven.xerial.org/repository/artifact + + + xerial.local + Xerial Maven Snapshot Repository + file:///home/web/maven.xerial.org/repository/snapshot + false + + + xerial.local + file:///home/web/maven.xerial.org/repository/site + + + + + + diff --git a/src/main/java/org/xerial/snappy/Snappy.java b/src/main/java/org/xerial/snappy/Snappy.java index ffb004d..113feb3 100755 --- a/src/main/java/org/xerial/snappy/Snappy.java +++ b/src/main/java/org/xerial/snappy/Snappy.java @@ -40,7 +40,7 @@ public class Snappy } /** - * Compress the content of the given input, then output the compressed data. + * Compress the content of the given input buffer * * @param uncompressed * input is at buffer[pos() ... limit()) @@ -72,7 +72,8 @@ public class Snappy } /** - * Uncompress the compressed buffer to the specified output buffer + * Uncompress the content of the input buffer. The result is dumped to the + * specified output buffer * * @param compressed * input is at buffer[pos() ... limit()) @@ -108,7 +109,7 @@ public class Snappy * Get the uncompressed size of the given compressed input * * @param compressed - * data [pos() ... limit()) + * input data [pos() ... limit()) * @return uncompressed byte length of the given input * @throws SnappyException * when failed to uncompress the given input