DailyMotion sample FndBugs warnings

Open
#1,197 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
tooling

Research direction

Open DailyMotionSample.java and inspect the DailyMotionUrl class and its fields around the reported locations. Start by reproducing the FindBugs warnings, then address the equals warning and unread-field warning so the sample no longer reports them.

Written by the indexing model from the issue text.

Description

lang: java priority: p2 samples type: cleanup

[INFO] com.google.api.services.samples.dailymotion.cmdline.simple.DailyMotionSample$DailyMotionUrl doesn't override com.google.api.client.http.GenericUrl.equals(Object) [com.google.api.services.samples.dailymotion.cmdline.simple.DailyMotionSample$DailyMotionUrl] At DailyMotionSample.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS
[INFO] Unread public/protected field: com.google.api.services.samples.dailymotion.cmdline.simple.DailyMotionSample$DailyMotionUrl.fields [com.google.api.services.samples.dailymotion.cmdline.simple.DailyMotionSample] At DailyMotionSample.java:[line 80] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
[INFO]

Dominant language
Java
Stars
1.4k
Forks
476
Avg merge
10h 47m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/google-http-java-client

All issues in googleapis/google-http-java-client

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.