Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit 1dbaf39

Browse files
author
Takashi Hashida
committed
ARROW-7514_make_getvalueoffset_obsolete
Change a message of Obsolete attributes
1 parent 92b14c0 commit 1dbaf39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

csharp/src/Apache.Arrow/Arrays/BinaryArray.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public BinaryArray(IArrowType dataType, int length,
171171
public ReadOnlySpan<byte> Values => ValueBuffer.Span.CastTo<byte>();
172172

173173
[MethodImpl(MethodImplOptions.AggressiveInlining)]
174-
[Obsolete("This method has been deprecated. Please use ValueOffsets instead.")]
174+
[Obsolete("This method has been deprecated. Please use ValueOffsets[index] instead.")]
175175
public int GetValueOffset(int index)
176176
{
177177
if (index < 0 || index > Length)

csharp/src/Apache.Arrow/Arrays/ListArray.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ private ListArray(ArrayData data, IArrowArray values) : base(data)
123123
public override void Accept(IArrowArrayVisitor visitor) => Accept(this, visitor);
124124

125125

126-
[Obsolete("This method has been deprecated. Please use ValueOffsets instead.")]
126+
[Obsolete("This method has been deprecated. Please use ValueOffsets[index] instead.")]
127127
public int GetValueOffset(int index)
128128
{
129129
if (index < 0 || index > Length)

0 commit comments

Comments
 (0)