Improve code style#132
Conversation
| * @param dict | ||
| * @param key | ||
| * @return | ||
| * @throws ClassCastException Thrown when the datatype of the given key is not a christophedelory.plist.Array. |
There was a problem hiding this comment.
MissingSummary: A summary line is required on public/protected Javadocs.
❗❗ 3 similar findings have been found in this PR
🔎 Expand here to view all instances of this finding
| File Path | Line Number |
|---|---|
| src/main/java/listfix/model/playlists/itunes/DictionaryParser.java | 51 |
| src/main/java/listfix/model/playlists/itunes/DictionaryParser.java | 64 |
| src/main/java/listfix/model/playlists/itunes/DictionaryParser.java | 19 |
Visit the Lift Web Console to find more details in your report.
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Help us improve LIFT! (Sonatype LiftBot external survey)
Was this a good recommendation for you? Answering this survey will not impact your Lift settings.
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
fdfe576 to
1e6731c
Compare
| return false; | ||
| } | ||
|
|
||
| public boolean equals(PlaylistTreeNode obj) |
There was a problem hiding this comment.
NonOverridingEquals: equals method doesn't override Object.equals; if this is a type-specific helper for a method that does override Object.equals, either inline it into the callers or rename it to avoid ambiguity
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Help us improve LIFT! (Sonatype LiftBot external survey)
Was this a good recommendation for you? Answering this survey will not impact your Lift settings.
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
488f55a to
f0d98e4
Compare
Changes:
Improve code style
Simplify opening URL by default browser
Remove unnecessary casting
Fix possible NullPointerException
Improve equals implementation in PlaylistTreeNode