mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
Fix three Java lint errors (#6531)
* Add braces to conditions. * Remove an unnecessary semicolon. * Remove an unnecessary constructor. This fixes all the Java lint errors of these types.
This commit is contained in:
parent
3549789cdf
commit
beaf211f39
3 changed files with 7 additions and 6 deletions
|
|
@ -44,7 +44,7 @@ public class CheckBoxTriStates extends AppCompatCheckBox {
|
|||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
switch (state) {
|
||||
case UNKNOWN:
|
||||
setState(UNCHECKED);;
|
||||
setState(UNCHECKED);
|
||||
break;
|
||||
case UNCHECKED:
|
||||
setState(CHECKED);
|
||||
|
|
|
|||
|
|
@ -105,9 +105,6 @@ public class Sitelinks implements Parcelable {
|
|||
private String commonsLink;
|
||||
private String wikipediaLink;
|
||||
|
||||
public Builder() {
|
||||
}
|
||||
|
||||
public Sitelinks.Builder setWikipediaLink(String link) {
|
||||
this.wikipediaLink = link;
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue