Skip to content

Commit e25e22b

Browse files
committedDec 19, 2016
Fixed codacy check
1 parent 5f62a27 commit e25e22b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎source-code/app/src/main/java/org/buildmlearn/toolkit/model/SavedApi.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public class SavedApi {
1717
private long unformattedDate;
1818
private String name;
1919
private String author;
20+
private boolean isSelected = false;
2021

2122
public boolean isSelected() {
2223
return isSelected;
@@ -26,8 +27,6 @@ public void setSelected(boolean selected) {
2627
isSelected = selected;
2728
}
2829

29-
private boolean isSelected = false;
30-
3130
public SavedApi(File file, String fileName, long date) {
3231

3332
this.file = file;

‎source-code/app/src/main/java/org/buildmlearn/toolkit/model/SavedProject.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public class SavedProject {
1818
private String type;
1919
private String author;
2020
private long unformattedDate;
21+
private boolean isSelected = false;
2122

2223
public boolean isSelected() {
2324
return isSelected;
@@ -27,8 +28,6 @@ public void setSelected(boolean selected) {
2728
isSelected = selected;
2829
}
2930

30-
private boolean isSelected = false;
31-
3231
public SavedProject(File file, String fileName, long date, String type, String fullPath) {
3332

3433
this.file = file;

0 commit comments

Comments
 (0)
Please sign in to comment.