Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless content (#76) #77

Closed
wants to merge 2 commits into from
Closed

Remove useless content (#76) #77

wants to merge 2 commits into from

Conversation

AkshayCHD
Copy link

fixes #76

@codecov
Copy link

codecov bot commented May 18, 2018

Codecov Report

Merging #77 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #77   +/-   ##
=========================================
  Coverage     12.67%   12.67%           
  Complexity       47       47           
=========================================
  Files            82       82           
  Lines          1862     1862           
  Branches         91       91           
=========================================
  Hits            236      236           
  Misses         1614     1614           
  Partials         12       12
Impacted Files Coverage Δ Complexity Δ
...tosc/digitaloceanapp/adapters/DropletsAdapter.java 72.72% <ø> (ø) 4 <0> (ø) ⬇️
...tosc/digitaloceanapp/activities/AboutActivity.java 31.57% <ø> (ø) 2 <0> (ø) ⬇️
.../digitaloceanapp/fragments/DataCenterFragment.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...loceanapp/fragments/AdditionalDetailsFragment.java 0% <ø> (ø) 0 <0> (ø) ⬇️
.../digitaloceanapp/fragments/SelectSizeFragment.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...a/in/tosc/digitaloceanapp/utils/FontsOverride.java 72.97% <ø> (ø) 3 <0> (ø) ⬇️
...italoceanapp/activities/DetailDropletActivity.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...italoceanapp/activities/DropletCreateActivity.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...sc/digitaloceanapp/activities/DropletActivity.java 40.86% <ø> (ø) 5 <0> (ø) ⬇️
...sc/digitaloceanapp/adapters/SelectSizeAdapter.java 0% <ø> (ø) 0 <0> (ø) ⬇️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c70b16...4439440. Read the comment docs.

@4lch4
Copy link
Contributor

4lch4 commented May 18, 2018

Out of curiosity, will these PR's work fine with the latest build tools as I updated in my PR #73? Granted, I still have to figure out what's wrong with Travis but after that's worked out, will it cause any issues with the PR's you've been submitting, @AkshayCHD?

@@ -40,10 +41,6 @@
import retrofit2.Callback;
import retrofit2.Response;

/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be removing the javadocs that give credit to whoever created the class though, even if it's boilerplate from Android Studio?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could update them to all follow a standard date format and have more information regarding the class so it's not just the creator information.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/**
 * The {@link AppCompatActivity} class responsible for displaying {@link Droplet} information.
 *
 * @author the-dagger on 11/26/2016
 */

Maybe something like this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alcha yes as I have only removed some stuff that was not needed so i believe there won't be any issue, even if there is, the conflicts for such PRs could be resolved easily.
About removing the creator comments, they are quite inconsistent as the name mentioned there might not coincide with our real name or our github username and also just giving credit to the one who created that file and not to the ones who maintain and enhance it is not correct in my opinion.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then we can change it to show who created it and then who now maintains it. Especially if the majority of the code remaining is still written by the original author.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/**
 * The {@link AppCompatActivity} class responsible for displaying {@link Droplet} information.
 *
 * @author created by the-dagger on 11/26/2016, maintained by AkshayCHD
 */

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alcha currently the project is small but still we have alot of people who contributed in the past and there would be many who would be contributing in the future. I see no use of maintaining this record when all the information about each and eery contribution is avaliable on github.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough, it's a difference of opinion then.

In that case, we'll have to leave it to @the-dagger and @championswimmer to decide.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yaa, it is better to leave it to them

@AkshayCHD
Copy link
Author

@the-dagger @championswimmer please have a look

@championswimmer
Copy link
Contributor

Please make some constructive contributions from the future. Not just for the sake of raking some BOSS bounties or green streaks on Github. This is the most pointless PR I have seen till now. Especially with all the authorship removal.

@AkshayCHD
Copy link
Author

@championswimmer sorry you felt that way, i had no such intentions, there were some unused import statements and variables that were there in the code so i thought that they need to be removed, and about the authorship comments, I contributed in a project at FOSSASIA, there whever i made a pr the maintainer asked me to remove authorship comments very first so i thought same would apply here.
But are't the unused statements and variables supposed to be removed.

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.

Remove Unused Import statements and variables
3 participants