Skip to content

Commit 8fd605a

Browse files
justinmulleratermenji
authored andcommitted
Delete dead method and unused constructor.
1 parent 5d2d7f0 commit 8fd605a

File tree

3 files changed

+0
-41
lines changed

3 files changed

+0
-41
lines changed

app/src/main/java/com/github/mobile/ui/issue/AssigneeDialog.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import static java.lang.String.CASE_INSENSITIVE_ORDER;
1919
import android.accounts.Account;
20-
import android.text.TextUtils;
2120
import android.util.Log;
2221

2322
import com.github.mobile.R.string;
@@ -106,20 +105,6 @@ public void execute() {
106105
}.execute();
107106
}
108107

109-
/**
110-
* Get collaborator with login
111-
*
112-
* @param login
113-
* @return collaborator or null if none found with login
114-
*/
115-
public User getCollaborator(String login) {
116-
if (collaborators == null)
117-
return null;
118-
if (TextUtils.isEmpty(login))
119-
return null;
120-
return collaborators.get(login);
121-
}
122-
123108
/**
124109
* Show dialog with given assignee selected
125110
*

app/src/main/java/com/github/mobile/ui/issue/LabelsDialog.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import static java.lang.String.CASE_INSENSITIVE_ORDER;
1919
import android.accounts.Account;
20-
import android.text.TextUtils;
2120
import android.util.Log;
2221

2322
import com.github.mobile.R.string;
@@ -109,20 +108,6 @@ public void execute() {
109108
}.execute();
110109
}
111110

112-
/**
113-
* Get label with name
114-
*
115-
* @param name
116-
* @return label or null if none with name
117-
*/
118-
public Label getLabel(String name) {
119-
if (labels == null)
120-
return null;
121-
if (TextUtils.isEmpty(name))
122-
return null;
123-
return labels.get(name);
124-
}
125-
126111
/**
127112
* Show dialog with given labels selected
128113
*

app/src/main/java/com/github/mobile/ui/ref/CodeTreeAdapter.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,6 @@ public CodeTreeAdapter(Activity activity) {
6666
activity.getResources(), INDENTED_PADDING);
6767
}
6868

69-
/**
70-
* @param context
71-
*/
72-
public CodeTreeAdapter(Context context) {
73-
super(context);
74-
75-
this.context = context;
76-
indentedPaddingLeft = ServiceUtils.getIntPixels(context.getResources(),
77-
INDENTED_PADDING);
78-
}
79-
8069
/**
8170
* Set whether views should be indented
8271
*

0 commit comments

Comments
 (0)