Skip to content

Commit

Permalink
ARROW-7514_make_getvalueoffset_obsolete
Browse files Browse the repository at this point in the history
Change a message of Obsolete attributes
  • Loading branch information
Takashi Hashida committed Feb 4, 2020
1 parent 92b14c0 commit 1dbaf39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion csharp/src/Apache.Arrow/Arrays/BinaryArray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public BinaryArray(IArrowType dataType, int length,
public ReadOnlySpan<byte> Values => ValueBuffer.Span.CastTo<byte>();

[MethodImpl(MethodImplOptions.AggressiveInlining)]
[Obsolete("This method has been deprecated. Please use ValueOffsets instead.")]
[Obsolete("This method has been deprecated. Please use ValueOffsets[index] instead.")]
public int GetValueOffset(int index)
{
if (index < 0 || index > Length)
Expand Down
2 changes: 1 addition & 1 deletion csharp/src/Apache.Arrow/Arrays/ListArray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private ListArray(ArrayData data, IArrowArray values) : base(data)
public override void Accept(IArrowArrayVisitor visitor) => Accept(this, visitor);


[Obsolete("This method has been deprecated. Please use ValueOffsets instead.")]
[Obsolete("This method has been deprecated. Please use ValueOffsets[index] instead.")]
public int GetValueOffset(int index)
{
if (index < 0 || index > Length)
Expand Down

0 comments on commit 1dbaf39

Please sign in to comment.