Skip to content

Simplify return type of positionTooltip(NMHDR, long) - #3497

Merged
HeikoKlare merged 1 commit into
eclipse-platform:masterfrom
r-mennig:cleanup_positionTooltip_return_value
Aug 11, 2026
Merged

Simplify return type of positionTooltip(NMHDR, long)#3497
HeikoKlare merged 1 commit into
eclipse-platform:masterfrom
r-mennig:cleanup_positionTooltip_return_value

Conversation

@r-mennig

@r-mennig r-mennig commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Follow-up for #3487 (comment), simplifying the return type of Table.positionTooltip(NMHDR hdr, long lParam).

This changes the methods return type to boolean instead of LRESULT since the current implementation only ever returns LRESULT.ONE or null.

Relates to #3491

@r-mennig

Copy link
Copy Markdown
Contributor Author

Ping @HeikoKlare

@r-mennig r-mennig changed the title Simplify return value of positionTooltip(NMHDR, long) Simplify return type of positionTooltip(NMHDR, long) Aug 10, 2026
Use boolean return type instead of LRESULT in positionTooltip(NMHDR,
long) since the current implementation only ever returns LRESULT.ONE or
null.

Relates to
eclipse-platform#3491
@r-mennig
r-mennig force-pushed the cleanup_positionTooltip_return_value branch from ed43eea to e36c0ac Compare August 10, 2026 16:02
@github-actions

Copy link
Copy Markdown
Contributor

Test Results (win32)

   35 files  ±0     35 suites  ±0   4m 46s ⏱️ - 2m 58s
4 868 tests ±0  4 792 ✅ ±0  76 💤 ±0  0 ❌ ±0 
1 395 runs  ±0  1 371 ✅ ±0  24 💤 ±0  0 ❌ ±0 

Results for commit e36c0ac. ± Comparison against base commit b228e3f.

@HeikoKlare HeikoKlare 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.

As discussed in #3491 that's a reasonable clean-up. Thank you!

@HeikoKlare
HeikoKlare merged commit 212a594 into eclipse-platform:master Aug 11, 2026
18 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.

2 participants