groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: tweak javadoc since value
Date Tue, 23 May 2017 05:10:39 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 7ab4a7176 -> 15dc1d82a


tweak javadoc since value


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

Branch: refs/heads/master
Commit: 15dc1d82a52ee0734dc29fd0aff3c7f8d5308c82
Parents: 7ab4a71
Author: paulk <paulk@asert.com.au>
Authored: Tue May 23 15:06:20 2017 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Tue May 23 15:06:20 2017 +1000

----------------------------------------------------------------------
 src/main/groovy/lang/IntRange.java                        |  2 +-
 src/main/groovy/lang/NumberRange.java                     |  2 +-
 src/main/groovy/transform/ToString.java                   |  2 +-
 .../org/codehaus/groovy/runtime/DefaultGroovyMethods.java |  4 ++--
 .../codehaus/groovy/runtime/EncodingGroovyMethods.java    | 10 +++++-----
 .../src/main/java/groovy/json/DefaultJsonGenerator.java   |  4 ++--
 .../src/main/java/groovy/json/JsonBuilder.java            |  4 ++--
 .../src/main/java/groovy/json/JsonGenerator.java          |  6 +++---
 .../src/main/java/groovy/json/StreamingJsonBuilder.java   |  4 ++--
 9 files changed, 19 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/15dc1d82/src/main/groovy/lang/IntRange.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/IntRange.java b/src/main/groovy/lang/IntRange.java
index 1ca3820..9377098 100644
--- a/src/main/groovy/lang/IntRange.java
+++ b/src/main/groovy/lang/IntRange.java
@@ -194,7 +194,7 @@ public class IntRange extends AbstractList<Integer> implements Range<Integer>
{
      *
      * @param stepSize the desired step size
      * @return a new NumberRange
-     * @since 2.5
+     * @since 2.5.0
      */
     public <T extends Number & Comparable> NumberRange by(T stepSize) {
         return new NumberRange(NumberRange.comparableNumber((Number)from), NumberRange.comparableNumber((Number)to),
stepSize, inclusive);

http://git-wip-us.apache.org/repos/asf/groovy/blob/15dc1d82/src/main/groovy/lang/NumberRange.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/NumberRange.java b/src/main/groovy/lang/NumberRange.java
index 92c6195..52ef856 100644
--- a/src/main/groovy/lang/NumberRange.java
+++ b/src/main/groovy/lang/NumberRange.java
@@ -47,7 +47,7 @@ import static org.codehaus.groovy.runtime.dgmimpl.NumberNumberPlus.plus;
  * 0..3 is deemed to be equal to 0.0..3.0 but they have different hashCode values,
  * so storing a value using one of these ranges couldn't be retrieved using the other.
  *
- * @since 2.5
+ * @since 2.5.0
  */
 public class NumberRange extends AbstractList<Comparable> implements Range<Comparable>
{
 

http://git-wip-us.apache.org/repos/asf/groovy/blob/15dc1d82/src/main/groovy/transform/ToString.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/transform/ToString.java b/src/main/groovy/transform/ToString.java
index 9fc4627..90d4b46 100644
--- a/src/main/groovy/transform/ToString.java
+++ b/src/main/groovy/transform/ToString.java
@@ -318,7 +318,7 @@ public @interface ToString {
      * methods as property getters as per the JavaBean specification. Old versions of Groovy
did not.
      * So set this flag to false for the old behavior or if you want to explicitly exclude
such properties.
      *
-     * @since 2.5
+     * @since 2.5.0
      */
     boolean allProperties() default true;
 

http://git-wip-us.apache.org/repos/asf/groovy/blob/15dc1d82/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
index 98041c7..76b9fa6 100644
--- a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
+++ b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
@@ -4621,7 +4621,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * @param self a Map to be modified
      * @param condition a 1 or 2 arg Closure condition applying on the entries
      * @return <tt>true</tt> if this map changed as a result of the call
-     * @since 2.5
+     * @since 2.5.0
      */
     public static <K, V> boolean retainAll(Map<K, V> self, @ClosureParams(MapEntryOrKeyValue.class)
Closure condition) {
         Iterator<Map.Entry<K, V>> iter = self.entrySet().iterator();
@@ -4684,7 +4684,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * @param self a Map to be modified
      * @param condition a 1 or 2 arg Closure condition applying on the entries
      * @return <tt>true</tt> if this map changed as a result of the call
-     * @since 2.5
+     * @since 2.5.0
      */
     public static <K, V> boolean removeAll(Map<K, V> self, @ClosureParams(MapEntryOrKeyValue.class)
Closure condition) {
         Iterator<Map.Entry<K, V>> iter = self.entrySet().iterator();

http://git-wip-us.apache.org/repos/asf/groovy/blob/15dc1d82/src/main/org/codehaus/groovy/runtime/EncodingGroovyMethods.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/EncodingGroovyMethods.java b/src/main/org/codehaus/groovy/runtime/EncodingGroovyMethods.java
index f8aeb49..62b6eeb 100644
--- a/src/main/org/codehaus/groovy/runtime/EncodingGroovyMethods.java
+++ b/src/main/org/codehaus/groovy/runtime/EncodingGroovyMethods.java
@@ -169,7 +169,7 @@ public class EncodingGroovyMethods {
      * @param data Byte array to be encoded
      * @return object which will write the Base64 URL and Filename Safe encoding of the byte
array
      * @see org.codehaus.groovy.runtime.EncodingGroovyMethods#encodeBase64Url(Byte[], boolean)
-     * @since 2.5
+     * @since 2.5.0
      */
     public static Writable encodeBase64Url(Byte[] data) {
         return encodeBase64Url(data, false);
@@ -184,7 +184,7 @@ public class EncodingGroovyMethods {
      * @param data Byte array to be encoded
      * @param pad whether or not the encoded data should be padded
      * @return object which will write the Base64 URL and Filename Safe encoding of the byte
array
-     * @since 2.5
+     * @since 2.5.0
      */
     public static Writable encodeBase64Url(Byte[] data, boolean pad) {
         return encodeBase64Url(DefaultTypeTransformation.convertToByteArray(data), pad);
@@ -203,7 +203,7 @@ public class EncodingGroovyMethods {
      * @param data Byte array to be encoded
      * @return object which will write the Base64 URL and Filename Safe encoding of the byte
array
      * @see org.codehaus.groovy.runtime.EncodingGroovyMethods#encodeBase64Url(byte[], boolean)
-     * @since 2.5
+     * @since 2.5.0
      */
     public static Writable encodeBase64Url(final byte[] data) {
         return encodeBase64Url(data, false);
@@ -218,7 +218,7 @@ public class EncodingGroovyMethods {
      * @param data Byte array to be encoded
      * @param pad whether or not the encoded data should be padded
      * @return object which will write the Base64 URL and Filename Safe encoding of the byte
array
-     * @since 2.5
+     * @since 2.5.0
      */
     public static Writable encodeBase64Url(final byte[] data, final boolean pad) {
         return encodeBase64(data, false, true, pad);
@@ -240,7 +240,7 @@ public class EncodingGroovyMethods {
      *
      * @param value the string to be decoded
      * @return the decoded bytes as an array
-     * @since 2.5
+     * @since 2.5.0
      */
     public static byte[] decodeBase64Url(String value) {
         return decodeBase64(value, true);

http://git-wip-us.apache.org/repos/asf/groovy/blob/15dc1d82/subprojects/groovy-json/src/main/java/groovy/json/DefaultJsonGenerator.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-json/src/main/java/groovy/json/DefaultJsonGenerator.java b/subprojects/groovy-json/src/main/java/groovy/json/DefaultJsonGenerator.java
index a3e54f8..6510d4d 100644
--- a/subprojects/groovy-json/src/main/java/groovy/json/DefaultJsonGenerator.java
+++ b/subprojects/groovy-json/src/main/java/groovy/json/DefaultJsonGenerator.java
@@ -59,7 +59,7 @@ import static groovy.json.JsonOutput.OPEN_BRACKET;
  * methods.
  *
  * @see JsonGenerator.Options#build()
- * @since 2.5
+ * @since 2.5.0
  */
 public class DefaultJsonGenerator implements JsonGenerator {
 
@@ -444,7 +444,7 @@ public class DefaultJsonGenerator implements JsonGenerator {
     /**
      * A converter that handles converting a given type using a closure.
      *
-     * @since 2.5
+     * @since 2.5.0
      */
     protected static class ClosureConverter implements Converter {
 

http://git-wip-us.apache.org/repos/asf/groovy/blob/15dc1d82/subprojects/groovy-json/src/main/java/groovy/json/JsonBuilder.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-json/src/main/java/groovy/json/JsonBuilder.java b/subprojects/groovy-json/src/main/java/groovy/json/JsonBuilder.java
index abaac0b..2c53446 100644
--- a/subprojects/groovy-json/src/main/java/groovy/json/JsonBuilder.java
+++ b/subprojects/groovy-json/src/main/java/groovy/json/JsonBuilder.java
@@ -79,7 +79,7 @@ public class JsonBuilder extends GroovyObjectSupport implements Writable
{
      * Instantiates a JSON builder with a configured generator.
      *
      * @param generator used to generate the output
-     * @since 2.5
+     * @since 2.5.0
      */
     public JsonBuilder(JsonGenerator generator) {
         this.generator = generator;
@@ -101,7 +101,7 @@ public class JsonBuilder extends GroovyObjectSupport implements Writable
{
      *
      * @param content a pre-existing data structure
      * @param generator used to generate the output
-     * @since 2.5
+     * @since 2.5.0
      */
     public JsonBuilder(Object content, JsonGenerator generator) {
         this.content = content;

http://git-wip-us.apache.org/repos/asf/groovy/blob/15dc1d82/subprojects/groovy-json/src/main/java/groovy/json/JsonGenerator.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-json/src/main/java/groovy/json/JsonGenerator.java b/subprojects/groovy-json/src/main/java/groovy/json/JsonGenerator.java
index c5b13a3..f6b27f1 100644
--- a/subprojects/groovy-json/src/main/java/groovy/json/JsonGenerator.java
+++ b/subprojects/groovy-json/src/main/java/groovy/json/JsonGenerator.java
@@ -36,7 +36,7 @@ import java.util.TimeZone;
  * The {@link Options} builder can be used to configure an instance of a JsonGenerator.
  *
  * @see Options#build()
- * @since 2.5
+ * @since 2.5.0
  */
 public interface JsonGenerator {
 
@@ -69,7 +69,7 @@ public interface JsonGenerator {
     /**
      * Handles converting a given type.
      *
-     * @since 2.5
+     * @since 2.5.0
      */
     interface Converter {
 
@@ -115,7 +115,7 @@ public interface JsonGenerator {
      *     assert generator.toJson(input) == '{"lastUpdated":"2014"}'
      * </code></pre>
      *
-     * @since 2.5
+     * @since 2.5.0
      */
     class Options {
 

http://git-wip-us.apache.org/repos/asf/groovy/blob/15dc1d82/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java b/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
index f8c5f72..f74789b 100644
--- a/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
+++ b/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java
@@ -90,7 +90,7 @@ public class StreamingJsonBuilder extends GroovyObjectSupport {
      *
      * @param writer A writer to which Json will be written
      * @param generator used to generate the output
-     * @since 2.5
+     * @since 2.5.0
      */
     public StreamingJsonBuilder(Writer writer, JsonGenerator generator) {
         this.writer = writer;
@@ -116,7 +116,7 @@ public class StreamingJsonBuilder extends GroovyObjectSupport {
      * @param content a pre-existing data structure, default to null
      * @param generator used to generate the output
      * @throws IOException
-     * @since 2.5
+     * @since 2.5.0
      */
     public StreamingJsonBuilder(Writer writer, Object content, JsonGenerator generator) throws
IOException {
         this.writer = writer;


Mime
View raw message