Skip to content

Switch to Platform.getDebugBoolean(String) where appropriate#2785

Open
ptziegler wants to merge 1 commit into
eclipse-platform:masterfrom
ptziegler:use-get-debug-boolean
Open

Switch to Platform.getDebugBoolean(String) where appropriate#2785
ptziegler wants to merge 1 commit into
eclipse-platform:masterfrom
ptziegler:use-get-debug-boolean

Conversation

@ptziegler

Copy link
Copy Markdown
Contributor

With 3b76d20, a convenience method getDebugBoolean(String) was added, which returns true if the given tracing option is enabled. Using this method avoids a lot of the boilerplate code that comes with using getDebugOption(String) and which usually looks something like:

"true".equals(Platform.getDebugOption("..."))

With 3b76d20, a convenience method
`getDebugBoolean(String)` was added, which returns `true` if the given
tracing option is enabled. Using this method avoids a lot of the
boilerplate code that comes with using `getDebugOption(String)` and
which usually looks something like:

`"true".equals(Platform.getDebugOption("..."))`
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   56m 1s ⏱️ - 2m 26s
 4 680 tests ±0   4 658 ✅ ±0   22 💤 ±0  0 ❌ ±0 
11 934 runs  ±0  11 781 ✅ ±0  153 💤 ±0  0 ❌ ±0 

Results for commit ab412d7. ± Comparison against base commit 2faab29.

@vogella

vogella commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

LGTM

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