Quantcast

[1/4] incubator-groovy git commit: replace all links to https://github.com/groovy/groovy-core with links to https://github.com/apache/incubator-groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[1/4] incubator-groovy git commit: replace all links to https://github.com/groovy/groovy-core with links to https://github.com/apache/incubator-groovy

pascalschumacher
Repository: incubator-groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 4c2b43e0a -> b3ca8026f


replace all links to https://github.com/groovy/groovy-core with links to https://github.com/apache/incubator-groovy


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/f4bdb577
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/f4bdb577
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/f4bdb577

Branch: refs/heads/GROOVY_2_4_X
Commit: f4bdb577c46bad16c7fffcb185965a0ac615be2a
Parents: 4c2b43e
Author: pascalschumacher <[hidden email]>
Authored: Sat Apr 18 10:31:56 2015 +0200
Committer: pascalschumacher <[hidden email]>
Committed: Sat Apr 18 20:30:10 2015 +0200

----------------------------------------------------------------------
 config/checkstyle/checkstyle-report.groovy |  2 +-
 src/spec/doc/core-getting-started.adoc     |  2 +-
 src/spec/doc/core-metaprogramming.adoc     |  2 +-
 src/spec/doc/grape.adoc                    |  2 +-
 src/spec/doc/groovy-contributions.adoc     | 56 ++++++++++++-------------
 src/spec/doc/type-checking-extensions.adoc |  6 +--
 6 files changed, 35 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f4bdb577/config/checkstyle/checkstyle-report.groovy
----------------------------------------------------------------------
diff --git a/config/checkstyle/checkstyle-report.groovy b/config/checkstyle/checkstyle-report.groovy
index 1c3dcac..9bf8b45 100644
--- a/config/checkstyle/checkstyle-report.groovy
+++ b/config/checkstyle/checkstyle-report.groovy
@@ -12,7 +12,7 @@ def severityMapping = [
 
 def github = { path, line=null ->
     def localPath = (path - project.rootDir).replaceAll('\\\\','/')
-    def link = """https://github.com/groovy/groovy-core/blob/master$localPath${line?"#L$line":""}"""
+    def link = """https://github.com/apache/incubator-groovy/blob/master$localPath${line?"#L$line":""}"""
 
     if (line) {
         "<a href='$link'>$line</a>"

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f4bdb577/src/spec/doc/core-getting-started.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-getting-started.adoc b/src/spec/doc/core-getting-started.adoc
index 3b8c8b7..1a7a308 100644
--- a/src/spec/doc/core-getting-started.adoc
+++ b/src/spec/doc/core-getting-started.adoc
@@ -121,7 +121,7 @@ You may download other distributions of Groovy from https://bintray.com/groovy/m
 
 === Source Code
 
-If you prefer to live on the bleeding edge, you can also grab the https://github.com/groovy/groovy-core[source code from GitHub].
+If you prefer to live on the bleeding edge, you can also grab the https://github.com/apache/incubator-groovy[source code from GitHub].
 
 === IDE plugin
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f4bdb577/src/spec/doc/core-metaprogramming.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-metaprogramming.adoc b/src/spec/doc/core-metaprogramming.adoc
index 9ae3ed4..adf8a7b 100644
--- a/src/spec/doc/core-metaprogramming.adoc
+++ b/src/spec/doc/core-metaprogramming.adoc
@@ -2455,7 +2455,7 @@ and such a thing rarely happens.
 
 Classes of the Abstract Syntax Tree belong to the `org.codehaus.groovy.ast` package. It is recommended to the reader
 to use the Groovy Console, in particular the AST browser tool, to gain knowledge about those classes. However, a good
-resource for learning is the https://github.com/groovy/groovy-core/tree/master/src/test/org/codehaus/groovy/ast/builder[AST Builder]
+resource for learning is the https://github.com/apache/incubator-groovy/tree/master/src/test/org/codehaus/groovy/ast/builder[AST Builder]
 test suite.
 
 ==== Testing AST transformations

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f4bdb577/src/spec/doc/grape.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/grape.adoc b/src/spec/doc/grape.adoc
index 2bca73e..87fd3d1 100644
--- a/src/spec/doc/grape.adoc
+++ b/src/spec/doc/grape.adoc
@@ -331,7 +331,7 @@ groovy -Dgrape.root=/repo/grape yourscript.groovy
 
 You can customize the ivy settings that Grape uses by creating a
 ~/.groovy/grapeConfig.xml file. If no such file exists,
-https://github.com/groovy/groovy-core/blob/master/src/resources/groovy/grape/defaultGrapeConfig.xml[here]
+https://github.com/apache/incubator-groovy/blob/master/src/resources/groovy/grape/defaultGrapeConfig.xml[here]
 are the default settings used by Grape.
 
 For more information on how to customize these settings, please refer to

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f4bdb577/src/spec/doc/groovy-contributions.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/groovy-contributions.adoc b/src/spec/doc/groovy-contributions.adoc
index 5c2d6f0..f0e3360 100644
--- a/src/spec/doc/groovy-contributions.adoc
+++ b/src/spec/doc/groovy-contributions.adoc
@@ -54,7 +54,7 @@ You can find live icon:twitter[] https://twitter.com/hashtag/groovylang[#groovyl
 
 === Where is Groovy ?
 
-Open source developers often need somewhere to keep all their assets. These assets are typically stored in a repository somewhere on the internet. icon:github[link="https://github.com/"] https://github.com/[*GitHub*] is one such storage facility. At *[blue]#Groovy#*, we keep https://github.com/groovy/groovy-core[our _source code_ here].
+Open source developers often need somewhere to keep all their assets. These assets are typically stored in a repository somewhere on the internet. icon:github[link="https://github.com/"] https://github.com/[*GitHub*] is one such storage facility. At *[blue]#Groovy#*, we keep https://github.com/apache/incubator-groovy[our _source code_ here].
 
 Visit our *[blue]#Groovy#* information portal at image:assets/img/groovy.png[Groovy Website, 60, 30, link="http://groovy-lang.org/"]
 
@@ -75,7 +75,7 @@ Sometimes, you may spot a tiny flaw in our otherwise perfect product. It's buggi
 
 [red yellow-background big]*Sure icon:exclamation[]*
 
-Let's say you need to fix the [blue]#Groovy# README.adoc file in https://github.com/groovy/groovy-core[https://github.com/groovy/groovy-core] - our core location.
+Let's say you need to fix the [blue]#Groovy# README.adoc file in https://github.com/apache/incubator-groovy[https://github.com/apache/incubator-groovy] - our core location.
 
 '''
 
@@ -93,7 +93,7 @@ Your view should look like this, except it will say +groovy / groovy-core+ ( thi
 '''
 
 .README.adoc View
-image::assets/img/example16.png[Details, align="center", link="https://github.com/groovy/groovy-core/blob/master/README.adoc"]
+image::assets/img/example16.png[Details, align="center", link="https://github.com/apache/incubator-groovy/blob/master/README.adoc"]
 
 This view is the current content of the *README* file. You can see ( but not edit ) the raw text by clicking the +RAW+ button. But for this example, you want to change some text. The red arrow points to the editor *PENCIL*. Click that to open an editable version of this page. See below.
 
@@ -101,7 +101,7 @@ This view is the current content of the *README* file. You can see ( but not edi
 '''
 
 .Groovy-core/README.adoc page
-image::assets/img/example17.png[Details, align="center", link="https://github.com/groovy/groovy-core/blob/master/README.adoc"]
+image::assets/img/example17.png[Details, align="center", link="https://github.com/apache/incubator-groovy/blob/master/README.adoc"]
 
 Confirm you're on the correct page ( blue square ). Then on line 80, after the words _Continuous Integration_ add the word _Server_
 
@@ -124,7 +124,7 @@ First we look at the home of [blue]#Groovy# . Then we review the structure and i
 
 === Notes About GitHub
 
-At *[blue]#Groovy#*, we keep https://github.com/groovy/groovy-core[our _source code_ here].
+At *[blue]#Groovy#*, we keep https://github.com/apache/incubator-groovy[our _source code_ here].
 
 ==== GitHub Information
 
@@ -189,10 +189,10 @@ From here on, we've assumed you have logged into your own *GitHub* account.
 
 ==== Visit Groovy Core Repository on GitHub
 
-Open a web browser, then use address https://github.com/groovy/groovy-core[https://github.com/groovy/groovy-core] to review the [blue]#Groovy# code base. It looks like this :
+Open a web browser, then use address https://github.com/apache/incubator-groovy[https://github.com/apache/incubator-groovy] to review the [blue]#Groovy# code base. It looks like this :
 
-.Groovy Core on *Github* icon:github[link="https://github.com/groovy/groovy-core", window="_blank"]
-image::assets/img/github4.png[Groovy Core Repository on GitHub, 495, 436, link="https://github.com/groovy/groovy-core",align="center"]
+.Groovy Core on *Github* icon:github[link="https://github.com/apache/incubator-groovy", window="_blank"]
+image::assets/img/github4.png[Groovy Core Repository on GitHub, 495, 436, link="https://github.com/apache/incubator-groovy",align="center"]
 
 There are a number of folders within the [blue]#Groovy# code base. The most important folders are */src* and */subprojects* as these folders hold the base code and scripts for [blue]#Groovy#.
 
@@ -200,23 +200,23 @@ There are a number of folders within the [blue]#Groovy# code base. The most impo
 
 The core of [blue]#Groovy# lives within this folder. Here is where we find a variety of artifacts, scripts, tests, resources, images, etc.
 
-.Groovy Core Source Folder on *Github* icon:github[link="https://github.com/groovy/groovy-core/tree/master/src", window="_blank"]
-image::assets/img/github1.png[Groovy Core Source, 497, 313, link="https://github.com/groovy/groovy-core/tree/master/src",align="center"]
+.Groovy Core Source Folder on *Github* icon:github[link="https://github.com/apache/incubator-groovy/tree/master/src", window="_blank"]
+image::assets/img/github1.png[Groovy Core Source, 497, 313, link="https://github.com/apache/incubator-groovy/tree/master/src",align="center"]
 
 
 ==== The +/subprojects+ Folder
 
 [blue]#Groovy# has many additional features that are not part of the core system. Source code for these added features can be found in the *subprojects* folder. It looks something like this :
 
-.Groovy Core Sub-Projects Source Folder on *Github*  icon:github[link="https://github.com/groovy/groovy-core/tree/master/subprojects", window="_blank"]
-image::assets/img/github2.png[Groovy Core Source, 499, 397, link="https://github.com/groovy/groovy-core/tree/master/subprojects",align="center"]
+.Groovy Core Sub-Projects Source Folder on *Github*  icon:github[link="https://github.com/apache/incubator-groovy/tree/master/subprojects", window="_blank"]
+image::assets/img/github2.png[Groovy Core Source, 499, 397, link="https://github.com/apache/incubator-groovy/tree/master/subprojects",align="center"]
 
 ==== The Documentation Folder
 
 Within each */src* and */subproject/src* is a */spec* documents folder that exists, or will soon be created.
 
-.Groovy Document Specifications Folder on *Github*  icon:github[link="https://github.com/groovy/groovy-core/tree/master/src/spec", window="_blank"]
-image::assets/img/github3.png[Groovy Documents Source, 500, 185, link="https://github.com/groovy/groovy-core/tree/master/src/spec",align="center"]
+.Groovy Document Specifications Folder on *Github*  icon:github[link="https://github.com/apache/incubator-groovy/tree/master/src/spec", window="_blank"]
+image::assets/img/github3.png[Groovy Documents Source, 500, 185, link="https://github.com/apache/incubator-groovy/tree/master/src/spec",align="center"]
 
 The two most useful folders here are */doc* and */test*. These two folders hold our documents and test cases.
 
@@ -225,14 +225,14 @@ The two most useful folders here are */doc* and */test*. These two folders hold
 All of our documents are written as typical text files encoded as *UTF-8* characters. The text is styled in the markup syntax known as http://asciidoctor.org/docs/user-manual/[*asciidoc*] or http://asciidoctor.org/docs/user-manual/[*asciidoctor*] ( the more recent version ). These text files have a filename suffix designation of *.adoc*.
 
 .Groovy Documentation Folder on *Github*
-image::assets/img/github5.png[Groovy Documents Folder, 501, 170, link="https://github.com/groovy/groovy-core/tree/master/src/spec/doc",align="center"]
+image::assets/img/github5.png[Groovy Documents Folder, 501, 170, link="https://github.com/apache/incubator-groovy/tree/master/src/spec/doc",align="center"]
 
 ===== Test Cases
 
 To prove that [blue]#Groovy# modules work as expected, we often construct test cases that exercise code logic. These test cases are actually [blue]#Groovy# scripts that reside in the */test* folder.
 
-.Groovy Core Test Folder on *Github* icon:github[link="https://github.com/groovy/groovy-core/tree/master/src/spec/test", window="_blank"]
-image::assets/img/github6.png[Groovy Testcase Folder, 505, 303, link="https://github.com/groovy/groovy-core/tree/master/src/spec/test",align="center"]
+.Groovy Core Test Folder on *Github* icon:github[link="https://github.com/apache/incubator-groovy/tree/master/src/spec/test", window="_blank"]
+image::assets/img/github6.png[Groovy Testcase Folder, 505, 303, link="https://github.com/apache/incubator-groovy/tree/master/src/spec/test",align="center"]
 
 If you would like to know more about writing effective test cases, please http://groovy-lang.org/testing.html[review this link].
 
@@ -266,16 +266,16 @@ Ok, let's look for the *groovy-core* repository. In the field named +Search or t
 '''
 
 .Fork Groovy Core on *GitHub*
-image::assets/img/githubfork.png[Fork The Code, 541, 156, link="https://github.com/groovy/groovy-core",align="center"]
+image::assets/img/githubfork.png[Fork The Code, 541, 156, link="https://github.com/apache/incubator-groovy",align="center"]
 
 So you can work on your own version of [blue]#Groovy#, you'll need to make a copy of it. This copy is placed in your own *GitHub* account under your credentials. This task of making a copy is known as *Fork* -ing.
 
 Check you're logged into your own *GitHub* account before you start to search.
 
-Fork the https://github.com/groovy/groovy-core[groovy/groovy-core] repository on *GitHub* to your own *GitHub* account. Click the +Fork+ button while on the *groovy/groovy-core* panel. When you look at your own *GitHub* home page, you'll see the list of your forked repos and any new repos you make.
+Fork the https://github.com/apache/incubator-groovy[groovy/groovy-core] repository on *GitHub* to your own *GitHub* account. Click the +Fork+ button while on the *groovy/groovy-core* panel. When you look at your own *GitHub* home page, you'll see the list of your forked repos and any new repos you make.
 
 .Fork Groovy Core on *GitHub*
-image::assets/img/repolist.png[List of Repos, link="https://github.com/groovy/groovy-core",align="center"]
+image::assets/img/repolist.png[List of Repos, link="https://github.com/apache/incubator-groovy",align="center"]
 
 You now have your own version of [blue]#Groovy# in your *GitHub* account on the remote server. Next, you'll want to bring a copy of it onto your local system. It's easier to work with documents and test cases that way.
 
@@ -476,7 +476,7 @@ As you update documents, you may need to see how it looks. Following the previou
 
 Do you have a special interest, or know some areas where you have some knowledge or where your skills may be useful ? There are many areas where your expertise can be put to good use. Here's one idea.
 
-Open the https://github.com/groovy/groovy-core/tree/master/src/spec/doc[Groovy Documentation Tree]. There are a large number of  document files, one for each core component and each separate sub-project extension within [blue]#Groovy#. These are simple text file (no funny stuff)  in a markup syntax called *asciidoc*. Document files end with *.adoc*.
+Open the https://github.com/apache/incubator-groovy/tree/master/src/spec/doc[Groovy Documentation Tree]. There are a large number of  document files, one for each core component and each separate sub-project extension within [blue]#Groovy#. These are simple text file (no funny stuff)  in a markup syntax called *asciidoc*. Document files end with *.adoc*.
 
 '''
 
@@ -761,7 +761,7 @@ icon:thumbs-up[] Ok, let's review test cases next.
 
 === Review Current Tests
 
-Review the https://github.com/groovy/groovy-core/tree/master/src/spec/test[Test Case] folder. There may already be tests that cover your area of interest. Some were written before tag standards  came into existence. It might be as simple as adding asciidoctor tags around a test method.
+Review the https://github.com/apache/incubator-groovy/tree/master/src/spec/test[Test Case] folder. There may already be tests that cover your area of interest. Some were written before tag standards  came into existence. It might be as simple as adding asciidoctor tags around a test method.
 
 ==== Change Known Test Cases
 
@@ -972,9 +972,9 @@ Follow the directions given in link:groovy-contributions.html#_stand_and_declare
 
 ==== Groovy *PULL* Requests
 
-In a browser, enter https://github.com/groovy/groovy-core[https://github.com/groovy/groovy-core] to see the *groovy-core* home page in *GitHub*. It's where we can get to the feature to ask our changes to be merged.
+In a browser, enter https://github.com/apache/incubator-groovy[https://github.com/apache/incubator-groovy] to see the *groovy-core* home page in *GitHub*. It's where we can get to the feature to ask our changes to be merged.
 
-image::assets/img/example2.png[GitHub Groovy-core, 794, 182, align="center", link="https://github.com/groovy/groovy-core"]
+image::assets/img/example2.png[GitHub Groovy-core, 794, 182, align="center", link="https://github.com/apache/incubator-groovy"]
 
 Take a look here. See *[blue]#Pull Request#* +24+  ? This is where you can see how many other *PULL* requests are open, waiting to be done. Clicking +Pull Requests+ gives you the next view.  The [white green-background]*New pull request* button is there
 
@@ -984,7 +984,7 @@ Take a look here. See *[blue]#Pull Request#* +24+  ? This is where you can see h
 
 ==== *PULL* The Other One
 
-image::assets/img/example4.png[Groovy-core PULL list, 877, 463, align="center", link="https://github.com/groovy/groovy-core/pulls"]
+image::assets/img/example4.png[Groovy-core PULL list, 877, 463, align="center", link="https://github.com/apache/incubator-groovy/pulls"]
 
 These are the current *PULL* requests for [blue]#Groovy#. Notice how each request has a title ? It's important to provide some idea about what a request will do.
 
@@ -1042,9 +1042,9 @@ Now, you've submitted your request to [blue]#Groovy# admins icon:user[]  and rec
 
 Again, do the same thing we did to create the request.
 
-To follow the progress of your request, in a browser, enter https://github.com/groovy/groovy-core[https://github.com/groovy/groovy-core] to see the *groovy-core* home page in *GitHub*.
+To follow the progress of your request, in a browser, enter https://github.com/apache/incubator-groovy[https://github.com/apache/incubator-groovy] to see the *groovy-core* home page in *GitHub*.
 
-image::assets/img/example2.png[GitHub Groovy-core, 794, 182, align="center", link="https://github.com/groovy/groovy-core"]
+image::assets/img/example2.png[GitHub Groovy-core, 794, 182, align="center", link="https://github.com/apache/incubator-groovy"]
 
 Look again. This is where you can saw how many other *PULL* requests were open, waiting to be done, including yours. Clicking +Pull Request+ took you to the next page for that view.  
 
@@ -1055,7 +1055,7 @@ Look again. This is where you can saw how many other *PULL* requests were open,
 ==== The *PULL* List
 
 .List Of Requests
-image::assets/img/example4.png[Groovy-core PULL list, 877, 463, align="center", link="https://github.com/groovy/groovy-core/pulls"]
+image::assets/img/example4.png[Groovy-core PULL list, 877, 463, align="center", link="https://github.com/apache/incubator-groovy/pulls"]
 
 Here are waiting *PULL* requests for [blue]#Groovy#. As this example is about adding *new Builder Documentation*, it was given a request number *488*. Look down the page to find it.
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f4bdb577/src/spec/doc/type-checking-extensions.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/type-checking-extensions.adoc b/src/spec/doc/type-checking-extensions.adoc
index 07c1359..7cd8373 100644
--- a/src/spec/doc/type-checking-extensions.adoc
+++ b/src/spec/doc/type-checking-extensions.adoc
@@ -1063,11 +1063,11 @@ type checking extensions and AST transformations.
 
 Examples of real life type checking extensions are easy to find. You can download the source code for Groovy and
 take a look at the
-https://github.com/groovy/groovy-core/blob/master/src/test/groovy/transform/stc/TypeCheckingExtensionsTest.groovy[TypeCheckingExtensionsTest]
+https://github.com/apache/incubator-groovy/blob/master/src/test/groovy/transform/stc/TypeCheckingExtensionsTest.groovy[TypeCheckingExtensionsTest]
 class which is linked to
-https://github.com/groovy/groovy-core/tree/master/src/test-resources/groovy/transform/stc[various extension scripts].
+https://github.com/apache/incubator-groovy/tree/master/src/test-resources/groovy/transform/stc[various extension scripts].
 
 But an example of the most complex type checking extension can be found in the link:markup-template-engine.html[Markup Template Engine]
 source code: this template engine relies on a type checking extension and AST transformations to transform templates into
 fully statically compiled code. Sources for this can be found
-https://github.com/groovy/groovy-core/tree/master/subprojects/groovy-templates/src/main/groovy/groovy/text/markup[here].
\ No newline at end of file
+https://github.com/apache/incubator-groovy/tree/master/subprojects/groovy-templates/src/main/groovy/groovy/text/markup[here].
\ No newline at end of file


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[2/4] incubator-groovy git commit: Documentation: Update Javadoc to reflect actual behaviour of JsonSlurper with decimal numbers

pascalschumacher
Documentation: Update Javadoc to reflect actual behaviour of JsonSlurper with decimal numbers


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/2fc7ef3c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/2fc7ef3c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/2fc7ef3c

Branch: refs/heads/GROOVY_2_4_X
Commit: 2fc7ef3c86ab8d58678ba3ba04be044c1b2aec02
Parents: f4bdb57
Author: Alex Spurling <[hidden email]>
Authored: Fri Apr 17 12:15:30 2015 +0100
Committer: pascalschumacher <[hidden email]>
Committed: Sat Apr 18 20:30:11 2015 +0200

----------------------------------------------------------------------
 .../groovy-json/src/main/java/groovy/json/JsonToken.java     | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/2fc7ef3c/subprojects/groovy-json/src/main/java/groovy/json/JsonToken.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-json/src/main/java/groovy/json/JsonToken.java b/subprojects/groovy-json/src/main/java/groovy/json/JsonToken.java
index e6eb262..7bd92c7 100644
--- a/subprojects/groovy-json/src/main/java/groovy/json/JsonToken.java
+++ b/subprojects/groovy-json/src/main/java/groovy/json/JsonToken.java
@@ -35,10 +35,6 @@ public class JsonToken {
     private static final BigInteger MIN_LONG    = BigInteger.valueOf(Long.MIN_VALUE);
     private static final BigInteger MAX_INTEGER = BigInteger.valueOf(Integer.MAX_VALUE);
     private static final BigInteger MIN_INTEGER = BigInteger.valueOf(Integer.MIN_VALUE);
-    private static final BigDecimal MAX_DOUBLE  = new BigDecimal(String.valueOf(Double.MAX_VALUE));
-    private static final BigDecimal MIN_DOUBLE  = MAX_DOUBLE.negate();
-    private static final BigDecimal MAX_FLOAT   = new BigDecimal(String.valueOf(Float.MAX_VALUE));
-    private static final BigDecimal MIN_FLOAT   = MAX_FLOAT.negate();
 
     /** Start line position */
     private long startLine;
@@ -57,8 +53,8 @@ public class JsonToken {
 
     /**
      * Return the value represented by this token (ie. a number, a string, a boolean or null).
-     * For numbers, the most appropriate type is returned (Float, Double, BigDecimal for decimal numbers,
-     * and Integer, Long and BigInteger for integral numbers).
+     * For numbers, BigDecimal is returned for decimals and Integer, Long or BigInteger for
+     * integral numbers.
      *
      * @return the represented value
      */


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[3/4] incubator-groovy git commit: Documentation: change link to Guava from code.google to github

pascalschumacher
In reply to this post by pascalschumacher
Documentation: change link to Guava from code.google to github


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/b3ca8026
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/b3ca8026
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/b3ca8026

Branch: refs/heads/GROOVY_2_4_X
Commit: b3ca8026fc4fdef4aeeefcaacb4f2f7d95533094
Parents: 06b57e6
Author: pascalschumacher <[hidden email]>
Authored: Sat Apr 18 13:28:01 2015 +0200
Committer: pascalschumacher <[hidden email]>
Committed: Sat Apr 18 20:30:11 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/core-domain-specific-languages.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/b3ca8026/src/spec/doc/core-domain-specific-languages.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-domain-specific-languages.adoc b/src/spec/doc/core-domain-specific-languages.adoc
index 9a3c21d..d35fa82 100644
--- a/src/spec/doc/core-domain-specific-languages.adoc
+++ b/src/spec/doc/core-domain-specific-languages.adoc
@@ -55,7 +55,7 @@ As a second example, consider how you might write a DSL for simplifying
 one of your existing APIs. Maybe you need to put this code in front of
 customers, business analysts or testers who might be not hard-core Java
 developers. We’ll use the `Splitter` from the Google
-http://code.google.com/p/guava-libraries/[Guava libraries] project as it
+https://github.com/google/guava[Guava libraries] project as it
 already has a nice Fluent API. Here is how we might use it out of the
 box:
 


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[4/4] incubator-groovy git commit: Documentation: change Guice link from code.google to github

pascalschumacher
In reply to this post by pascalschumacher
Documentation: change Guice link from code.google to github


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/06b57e67
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/06b57e67
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/06b57e67

Branch: refs/heads/GROOVY_2_4_X
Commit: 06b57e67ab2397d23e6a0c1f47ecc60b772f225c
Parents: 2fc7ef3
Author: pascalschumacher <[hidden email]>
Authored: Sat Apr 18 13:25:24 2015 +0200
Committer: pascalschumacher <[hidden email]>
Committed: Sat Apr 18 20:30:11 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/design-pattern-singleton.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/06b57e67/src/spec/doc/design-pattern-singleton.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-singleton.adoc b/src/spec/doc/design-pattern-singleton.adoc
index 18a5587..7a0a5b3 100644
--- a/src/spec/doc/design-pattern-singleton.adoc
+++ b/src/spec/doc/design-pattern-singleton.adoc
@@ -82,7 +82,7 @@ Client: 31436753, Calc: 24230857, Total Calculations: 2
 
 == Guice Example
 
-We can also implement the Singleton Pattern using http://code.google.com/p/google-guice/[Guice]. This example relies on annotations. Annotations are a Groovy 1.1 feature and will need to be run on a Java 5 or above JVM.
+We can also implement the Singleton Pattern using https://github.com/google/guice[Guice].
 
 Consider the Calculator example again.
 


Loading...