Merge pull request #2683 from nextcloud/override-annotations

util: Added @Override annotation where applicable.
This commit is contained in:
Mario Đanić 2018-06-05 07:49:46 +02:00 committed by GitHub
commit e49b1706ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;