You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2021/04/22 08:21:20 UTC

[groovy] branch master updated: Fix typo

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 3b61db5  Fix typo
     new 71735b8  Merge pull request #1568 from zhang13690/master
3b61db5 is described below

commit 3b61db526ad3c4d20067ff942883499971c0de04
Author: rive <zh...@sina.com>
AuthorDate: Thu Apr 22 15:41:03 2021 +0800

    Fix typo
    
    `java.lang.BigDecimal` does not exist, but `java.math.BigDecimal`
---
 src/spec/doc/_working-with-numbers.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/spec/doc/_working-with-numbers.adoc b/src/spec/doc/_working-with-numbers.adoc
index c133b97..20007c6 100644
--- a/src/spec/doc/_working-with-numbers.adoc
+++ b/src/spec/doc/_working-with-numbers.adoc
@@ -33,7 +33,7 @@ The integral literal types are the same as in Java:
 * `short`
 * `int`
 * `long`
-* `java.lang.BigInteger`
+* `java.math.BigInteger`
 
 You can create integral numbers of those types with the following declarations:
 
@@ -341,4 +341,4 @@ We can illustrate those rules with a few examples:
 [source,groovy]
 ----
 include::../test/SyntaxTest.groovy[tags=number_power,indent=0]
-----
\ No newline at end of file
+----