mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 10:18:59 +03:00
Merge pull request #2683 from nextcloud/override-annotations
util: Added @Override annotation where applicable.
This commit is contained in:
commit
e49b1706ff
3 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,7 @@ public class FileSortOrderByDate extends FileSortOrder {
|
||||||
*
|
*
|
||||||
* @param files list of files to sort
|
* @param files list of files to sort
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public List<File> sortLocalFiles(List<File> files) {
|
public List<File> sortLocalFiles(List<File> files) {
|
||||||
final int multiplier = mAscending ? 1 : -1;
|
final int multiplier = mAscending ? 1 : -1;
|
||||||
|
|
||||||
|
|
|
@ -70,6 +70,7 @@ public class FileSortOrderByName extends FileSortOrder {
|
||||||
*
|
*
|
||||||
* @param files files to sort
|
* @param files files to sort
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public List<File> sortLocalFiles(List<File> files) {
|
public List<File> sortLocalFiles(List<File> files) {
|
||||||
final int multiplier = mAscending ? 1 : -1;
|
final int multiplier = mAscending ? 1 : -1;
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,7 @@ public class FileSortOrderBySize extends FileSortOrder {
|
||||||
*
|
*
|
||||||
* @param files list of files to sort
|
* @param files list of files to sort
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public List<File> sortLocalFiles(List<File> files) {
|
public List<File> sortLocalFiles(List<File> files) {
|
||||||
final int multiplier = mAscending ? 1 : -1;
|
final int multiplier = mAscending ? 1 : -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue