Skip to content

Remove unused private methods - #1056

Merged
jnunemaker merged 1 commit into
mainfrom
remove-unused-private-api-methods
Oct 20, 2026
Merged

jnunemaker merged 1 commit into
mainfrom
remove-unused-private-api-methods

Conversation

@dpep

@dpep dpep commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

Removes two private methods in the API actions that nothing calls. Git history shows when each lost its last caller.

Both are private, so nothing outside the gem can call them. Found with trekr --dead lib

(testing out a new tool I'm working on 馃槈)

path_parts lost its last caller in 1602d2e, when feature names began
coming from the route; disallow_unregistered_groups? in fa80cc3, when
its caller switched to `return if allow_unregistered_groups?`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dpep
dpep marked this pull request as ready for review October 3, 2026 22:21
@dpep dpep changed the title Remove unused private API action methods Remove unused private methods Oct 3, 2026
@dpep
dpep requested a review from jnunemaker October 3, 2026 22:33
@jnunemaker

Copy link
Copy Markdown
Collaborator

Sorry forgot about this one. I'll get it reviewed. Gotta check if these are here for cloud to override.

@jnunemaker
jnunemaker merged commit 97de0d4 into main Oct 20, 2026
48 checks passed
@jnunemaker
jnunemaker deleted the remove-unused-private-api-methods branch October 20, 2026 02:31
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