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

wongoo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-hessian2.git


The following commit(s) were added to refs/heads/master by this push:
     new f13bb4e  mark array types deprecated (#347)
f13bb4e is described below

commit f13bb4e83a904a0cfb90aabc7c9edf46fc7365dd
Author: tiltwind(斜风) <[email protected]>
AuthorDate: Tue Feb 14 09:44:49 2023 +0800

    mark array types deprecated (#347)
    
    * mark array types deprected
    
    * mark array types deprecated
---
 array.go | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/array.go b/array.go
index 30593d5..5a9c570 100644
--- a/array.go
+++ b/array.go
@@ -33,6 +33,7 @@ func init() {
 }
 
 // BooleanArray Boolean[]
+// Deprecated: it will not be supported in next major version, being replaced 
by a slice type instead.
 type BooleanArray struct {
        Values []bool
 }
@@ -60,7 +61,8 @@ func (*BooleanArray) JavaClassName() string {
        return "[java.lang.Boolean"
 }
 
-// IntegerArray Integer[]
+// IntegerArray Integer[].
+// Deprecated: it will not be supported in next major version, being replaced 
by a slice type instead.
 type IntegerArray struct {
        Values []int32
 }
@@ -89,6 +91,7 @@ func (*IntegerArray) JavaClassName() string {
 }
 
 // ByteArray Byte[]
+// Deprecated: it will not be supported in next major version, being replaced 
by a slice type instead.
 type ByteArray struct {
        Values []uint8
 }
@@ -117,6 +120,7 @@ func (*ByteArray) JavaClassName() string {
 }
 
 // ShortArray Short[]
+// Deprecated: it will not be supported in next major version, being replaced 
by a slice type instead.
 type ShortArray struct {
        Values []int16
 }
@@ -145,6 +149,7 @@ func (*ShortArray) JavaClassName() string {
 }
 
 // LongArray Long[]
+// Deprecated: it will not be supported in next major version, being replaced 
by a slice type instead.
 type LongArray struct {
        Values []int64
 }
@@ -173,6 +178,7 @@ func (*LongArray) JavaClassName() string {
 }
 
 // FloatArray Float[]
+// Deprecated: it will not be supported in next major version, being replaced 
by a slice type instead.
 type FloatArray struct {
        Values []float32
 }
@@ -201,6 +207,7 @@ func (*FloatArray) JavaClassName() string {
 }
 
 // DoubleArray Double[]
+// Deprecated: it will not be supported in next major version, being replaced 
by a slice type instead.
 type DoubleArray struct {
        Values []float64
 }
@@ -229,6 +236,7 @@ func (*DoubleArray) JavaClassName() string {
 }
 
 // CharacterArray Character[]
+// Deprecated: it will not be supported in next major version, being replaced 
by a slice type instead.
 type CharacterArray struct {
        Values string
 }

Reply via email to