diff --git a/.gitignore b/.gitignore index e61c9da..278dd97 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ *.tar.gz *.rar + # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* @@ -44,3 +45,4 @@ nbproject/* *.swp *.DS_Store *.lock +*pom.xml.versionsBackup diff --git a/.travis.yml b/.travis.yml index 4b455ce..22f0b3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,10 +13,6 @@ script: after_success: - curl -s https://raw.githubusercontent.com/19cah/hack/master/travis/success | bash -s -cache: - directories: - - ~/.m2/repository - branches: only: - master diff --git a/README.md b/README.md index 427f13f..0b76840 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,9 @@

+ + - diff --git a/pom.xml b/pom.xml index 59b89e3..a3a3555 100644 --- a/pom.xml +++ b/pom.xml @@ -4,8 +4,8 @@ com.abranhe bigdecimal - 1.0-SNAPSHOT - + 1.0.1 + @@ -83,6 +83,56 @@ + + + release + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + + ossrh @@ -121,6 +171,4 @@ test - - - \ No newline at end of file + diff --git a/src/main/java/com/abranhe/bigdecimal/Operations.java b/src/main/java/com/abranhe/bigdecimal/Operations.java index 762773f..ddd3b02 100644 --- a/src/main/java/com/abranhe/bigdecimal/Operations.java +++ b/src/main/java/com/abranhe/bigdecimal/Operations.java @@ -86,15 +86,10 @@ public static BigDecimal divide(BigDecimal x, BigDecimal y, int scale, RoundingM /** * Default division between two BigDecimal numbers * - * - * - * - * - * - * - * - *
Default Values
Parameter DescriptionDefault
Source Scale of the BigDecimal quotient to be returned 5
{@link java.math.RoundingMode} Rounding mode to apply CEILING
+ * Default Values * + * Source: 5 + * {@link java.math.RoundingMode}: CEILING * * @param x Big decimal number * @param y Big decimal number