Skip to content

Refactor SelectionColorChooserHandler#10

Open
timadam03 wants to merge 1 commit into
developfrom
refactor/compose-method-color-handler
Open

Refactor SelectionColorChooserHandler#10
timadam03 wants to merge 1 commit into
developfrom
refactor/compose-method-color-handler

Conversation

@timadam03

Copy link
Copy Markdown
Owner
  • Apply Compose Method to applySelectedColorToFigures: split into resolveSelectedColor, applyColorToFigures, createUndoableEdit.
  • Replace unconditional break in updateEnabledState with iterator().next() to express first-figure intent (SonarLint S1751).
  • Remove commented-out dead code blocks (SonarLint S125).

- Apply Compose Method to applySelectedColorToFigures: split into
  resolveSelectedColor, applyColorToFigures, createUndoableEdit.
- Replace unconditional break in updateEnabledState with
  iterator().next() to express first-figure intent (SonarLint S1751).
- Remove commented-out dead code blocks (SonarLint S125).
@timadam03 timadam03 requested review from Jagdaw and phomarkon June 4, 2026 12:18
@timadam03 timadam03 self-assigned this Jun 4, 2026
@phomarkon

Copy link
Copy Markdown
Collaborator

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