Skip to content

ARROW-5513: [Java] Refactor method name for getstartOffset to use camel case - #4475

Closed
liyafan82 wants to merge 3 commits into
apache:masterfrom
liyafan82:fly_0605_start
Closed

ARROW-5513: [Java] Refactor method name for getstartOffset to use camel case#4475
liyafan82 wants to merge 3 commits into
apache:masterfrom
liyafan82:fly_0605_start

Conversation

@liyafan82

Copy link
Copy Markdown
Contributor

The method getstartOffset in class org.apache.arrow.vector.BaseVariableWidthVector should be refactored to getStartOffset, to comply with the camel case.

Fortunately, this method is not public, so the changes are internal to Arrow.

@liyafan82 liyafan82 changed the title [ARROW-5513][Java] Refactor method name for getstartOffset to use camel case ARROW-5513: [Java] Refactor method name for getstartOffset to use camel case Jun 5, 2019

@praveenbingo praveenbingo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break all code that extends this class - can we please not do this? Or at-least introduce a new method and mark the other one as deprecated.

@liyafan82

Copy link
Copy Markdown
Contributor Author

This will break all code that extends this class - can we please not do this? Or at-least introduce a new method and mark the other one as deprecated.

@praveenbingo Thanks for the suggestion. I have preserved the old method and made it deprecated.

Comment thread java/vector/src/main/java/org/apache/arrow/vector/BaseVariableWidthVector.java Outdated

@praveenbingo praveenbingo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @liyafan82. Please go ahead and merge after the minor name fix.

@emkornfield

Copy link
Copy Markdown
Contributor

+1 LGTM.

pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
…el case

The method getstartOffset in class org.apache.arrow.vector.BaseVariableWidthVector should be refactored to getStartOffset, to comply with the camel case.

Fortunately, this method is not public, so the changes are internal to Arrow.

Author: liyafan82 <fan_li_ya@foxmail.com>

Closes apache#4475 from liyafan82/fly_0605_start and squashes the following commits:

6c2c333 <liyafan82>  Fix javadoc
d0b57be <liyafan82>  Preserve the old method and make it deprecated
919bb3d <liyafan82>  Refactor method name for getstartOffset to use camel case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants