mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Tone down the Java hate a little
Change-Id: Ib1efbce3df6c136c423a566535c1b064a1c77b1b
This commit is contained in:
parent
e7a4672b82
commit
a56fa072a1
3 changed files with 0 additions and 10 deletions
|
|
@ -88,10 +88,6 @@ public class MultipleShareActivity
|
||||||
startingToast.show();
|
startingToast.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isJavaAPieceOfShit() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -54,10 +54,6 @@ public class ShareActivity
|
||||||
ShareActivity.this.contribution = contribution;
|
ShareActivity.this.contribution = contribution;
|
||||||
showPostUpload();
|
showPostUpload();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isJavaAPieceOfShit() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@ public class UploadController {
|
||||||
|
|
||||||
public interface ContributionUploadProgress {
|
public interface ContributionUploadProgress {
|
||||||
void onUploadStarted(Contribution contribution);
|
void onUploadStarted(Contribution contribution);
|
||||||
boolean isJavaAPieceOfShit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public UploadController(Activity activity) {
|
public UploadController(Activity activity) {
|
||||||
|
|
@ -153,7 +152,6 @@ public class UploadController {
|
||||||
protected void onPostExecute(Contribution contribution) {
|
protected void onPostExecute(Contribution contribution) {
|
||||||
super.onPostExecute(contribution);
|
super.onPostExecute(contribution);
|
||||||
uploadService.queue(UploadService.ACTION_UPLOAD_FILE, contribution);
|
uploadService.queue(UploadService.ACTION_UPLOAD_FILE, contribution);
|
||||||
assert onComplete.isJavaAPieceOfShit();
|
|
||||||
onComplete.onUploadStarted(contribution);
|
onComplete.onUploadStarted(contribution);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue