Skip to content

fix: correct @param types in Javadoc for listener methods and README typos - #429

Open
2300031193 wants to merge 1 commit into
RikkaApps:masterfrom
2300031193:fix/javadoc-listener-param-types
Open

fix: correct @param types in Javadoc for listener methods and README typos#429
2300031193 wants to merge 1 commit into
RikkaApps:masterfrom
2300031193:fix/javadoc-listener-param-types

Conversation

@2300031193

Copy link
Copy Markdown

What

Fix incorrect @param type names in Javadoc for listener methods in Shizuku.java,
and fix two typos in README.md.

Why

These are copy-paste errors in the documentation:

  • addBinderDeadListener() had @param listener OnBinderReceivedListener
    → should be OnBinderDeadListener
  • addRequestPermissionResultListener() had @param listener OnBinderReceivedListener
    → should be OnRequestPermissionResultListener
  • README heading had "Differents...betweent" (two spelling mistakes)

These mislead developers reading the generated Javadoc.

Changes

  • api/src/main/java/rikka/shizuku/Shizuku.java — 4 Javadoc @param corrections
  • README.md — fix typos: "Differents" → "Differences", "betweent" → "between"

Type of Change

  • Bug fix / documentation fix (no runtime behavior change)

…typos

addBinderDeadListener: @param was 'OnBinderReceivedListener', corrected to 'OnBinderDeadListener'
addRequestPermissionResultListener: @param was 'OnBinderReceivedListener', corrected to 'OnRequestPermissionResultListener'
README: fix typos 'Differents' -> 'Differences', 'betweent' -> 'between'
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