mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
codacy: unnecessary use of fully qualified name
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
1f1d40e5e6
commit
08fb0030ec
@ -283,12 +283,12 @@ public class CallNotificationActivity extends CallBaseActivity {
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(new Observer<RoomOverall>() {
|
||||
@Override
|
||||
public void onSubscribe(@io.reactivex.annotations.NonNull Disposable d) {
|
||||
public void onSubscribe(@NonNull Disposable d) {
|
||||
disposablesList.add(d);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNext(@io.reactivex.annotations.NonNull RoomOverall roomOverall) {
|
||||
public void onNext(@NonNull RoomOverall roomOverall) {
|
||||
currentConversation = roomOverall.getOcs().getData();
|
||||
setUpAfterConversationIsKnown();
|
||||
|
||||
@ -311,7 +311,7 @@ public class CallNotificationActivity extends CallBaseActivity {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(@io.reactivex.annotations.NonNull Throwable e) {
|
||||
public void onError(@NonNull Throwable e) {
|
||||
Log.e(TAG, e.getMessage(), e);
|
||||
}
|
||||
|
||||
|
@ -215,34 +215,32 @@ public class DisplayUtils {
|
||||
return new ControllerListener() {
|
||||
@Override
|
||||
public void onSubmit(String id, Object callerContext) {
|
||||
|
||||
// unused atm
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFinalImageSet(String id,
|
||||
@androidx.annotation.Nullable Object imageInfo,
|
||||
@androidx.annotation.Nullable Animatable animatable) {
|
||||
public void onFinalImageSet(String id, @Nullable Object imageInfo, @Nullable Animatable animatable) {
|
||||
updateViewSize((ImageInfo) imageInfo, draweeView);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onIntermediateImageSet(String id, @androidx.annotation.Nullable Object imageInfo) {
|
||||
public void onIntermediateImageSet(String id, @Nullable Object imageInfo) {
|
||||
updateViewSize((ImageInfo) imageInfo, draweeView);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onIntermediateImageFailed(String id, Throwable throwable) {
|
||||
|
||||
// unused atm
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailure(String id, Throwable throwable) {
|
||||
|
||||
// unused atm
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRelease(String id) {
|
||||
|
||||
// unused atm
|
||||
}
|
||||
};
|
||||
}
|
||||
@ -659,7 +657,7 @@ public class DisplayUtils {
|
||||
public static CharSequence getRelativeTimestamp(Context context, long modificationTimestamp, boolean showFuture) {
|
||||
return getRelativeDateTimeString(context,
|
||||
modificationTimestamp,
|
||||
android.text.format.DateUtils.SECOND_IN_MILLIS,
|
||||
DateUtils.SECOND_IN_MILLIS,
|
||||
DateUtils.WEEK_IN_MILLIS,
|
||||
0,
|
||||
showFuture);
|
||||
|
Loading…
Reference in New Issue
Block a user