Skip to content

CLEANUP: Improve Javadoc and align parameter names#1080

Merged
jhpark816 merged 1 commit into
naver:developfrom
f1v3-dev:refactor/v2-javadoc
Apr 28, 2026
Merged

CLEANUP: Improve Javadoc and align parameter names#1080
jhpark816 merged 1 commit into
naver:developfrom
f1v3-dev:refactor/v2-javadoc

Conversation

@f1v3-dev
Copy link
Copy Markdown
Collaborator

🔗 Related Issue

⌨️ What I did

  • append/prepend 파라미터명 valvalue 통일
  • AsyncArcusCommandsIF Javadoc 개선
    • {@code Boolean.True/False}{@code true/false} 수정
    • @return 마침표 제거 통일
    • @return 다중 케이스 줄바꿈 스타일 통일 (케이스별 한 줄)
    • @return 순서 통일 (truefalsenull)
    • bopGet, bopMultiGet, bopSortMergeGet 반환값 설명 개선
    • 오타 수정: delectiondeletion, mKeys 파라미터 설명 단수 → 복수

@f1v3-dev f1v3-dev requested a review from oliviarla April 27, 2026 03:15
@f1v3-dev f1v3-dev self-assigned this Apr 27, 2026
Copy link
Copy Markdown
Collaborator

@oliviarla oliviarla left a comment

Choose a reason for hiding this comment

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

리뷰 완료입니다.

* @param element btree element to upsert
* @param attributes collection attributes for creation when the btree does not exist
* @return {@code Boolean.True} if upserted, {@code Boolean.False} otherwise
* @return {@code true} if upserted, {@code false} otherwise
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

upsert 시에 true 외에는 null만 반환 가능해보이는데 확인해주세요.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

null 만 반환하는 것으로 확인했습니다.

*
* @param keys list of keys to get
* @return Map of key to value with CAS.
* @return Map of key to value with CAS
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

value with CAS -> {@link CASValue} 로 변경하면 어떤가요?
만약 괜찮다면 gets 쪽도 변경해주시면 좋겠습니다.

* the corresponding entry will not be present in the map.
* @return map of key to {@code BTreeElements} with found elements,
* empty {@code BTreeElements} if no elements are found in the range but key exists,
* no entry in the map if the key is not found
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

위에서는 {@code Map.Entry} 표현하고 있어서 여기도 entry 대신 해당 표현 사용하는게 좋겠습니다.

* @param args arguments for get operation
* @return {@code SMGetElements} containing sort-merged elements. Never return {@code null}.
* If matching elements not exist, the elements list in the {@code SMGetElements} will be empty.
* @return {@code SMGetElements} containing sort-merged elements (never {@code null}),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

(never {@code null}),을 나타낼 필요가 있을까요? 아래 라인 명시하면 충분히 설명 될 것 같아서요..

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

제거하도록 하겠습니다.

Comment on lines +716 to +723
* @param value the value to insert or replace with
* @return {@code true} if the element was inserted or replaced,
* {@code null} if the key is not found.
* {@code null} if the key is not found
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

bop upsert와 유사하게 간단히 표현하면 어떨까요? (replace라는 표현 대신 upsert만으로도 의미가 전달될 것 같습니다.)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

mopUpsert, bopUpsert 두 API 모두 아래와 같이 수정하도록 하겠습니다.

@return {@code true} if upserted, {@code null} if the key is not found

* @param mKeys MKeys of the elements to delete
* @param dropIfEmpty whether to drop the map if it becomes empty after deletion
* @return {@code true} if at least one element was deleted,
* {@code false} if the MKey is not found,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

if all MKeys are not found, 와 같은 표현이어야 할 것 같습니다.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

{@code false} if no MKeys are found, 으로 수정했습니다.

@f1v3-dev f1v3-dev force-pushed the refactor/v2-javadoc branch from ef413b5 to 40e14ef Compare April 27, 2026 08:20
@f1v3-dev f1v3-dev requested a review from oliviarla April 27, 2026 09:15
@oliviarla oliviarla requested a review from jhpark816 April 28, 2026 01:52
@jhpark816 jhpark816 merged commit efe953d into naver:develop Apr 28, 2026
2 checks passed
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