mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +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())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe(new Observer<RoomOverall>() {
|
.subscribe(new Observer<RoomOverall>() {
|
||||||
@Override
|
@Override
|
||||||
public void onSubscribe(@io.reactivex.annotations.NonNull Disposable d) {
|
public void onSubscribe(@NonNull Disposable d) {
|
||||||
disposablesList.add(d);
|
disposablesList.add(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onNext(@io.reactivex.annotations.NonNull RoomOverall roomOverall) {
|
public void onNext(@NonNull RoomOverall roomOverall) {
|
||||||
currentConversation = roomOverall.getOcs().getData();
|
currentConversation = roomOverall.getOcs().getData();
|
||||||
setUpAfterConversationIsKnown();
|
setUpAfterConversationIsKnown();
|
||||||
|
|
||||||
@ -311,7 +311,7 @@ public class CallNotificationActivity extends CallBaseActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(@io.reactivex.annotations.NonNull Throwable e) {
|
public void onError(@NonNull Throwable e) {
|
||||||
Log.e(TAG, e.getMessage(), e);
|
Log.e(TAG, e.getMessage(), e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -215,34 +215,32 @@ public class DisplayUtils {
|
|||||||
return new ControllerListener() {
|
return new ControllerListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onSubmit(String id, Object callerContext) {
|
public void onSubmit(String id, Object callerContext) {
|
||||||
|
// unused atm
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFinalImageSet(String id,
|
public void onFinalImageSet(String id, @Nullable Object imageInfo, @Nullable Animatable animatable) {
|
||||||
@androidx.annotation.Nullable Object imageInfo,
|
|
||||||
@androidx.annotation.Nullable Animatable animatable) {
|
|
||||||
updateViewSize((ImageInfo) imageInfo, draweeView);
|
updateViewSize((ImageInfo) imageInfo, draweeView);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onIntermediateImageSet(String id, @androidx.annotation.Nullable Object imageInfo) {
|
public void onIntermediateImageSet(String id, @Nullable Object imageInfo) {
|
||||||
updateViewSize((ImageInfo) imageInfo, draweeView);
|
updateViewSize((ImageInfo) imageInfo, draweeView);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onIntermediateImageFailed(String id, Throwable throwable) {
|
public void onIntermediateImageFailed(String id, Throwable throwable) {
|
||||||
|
// unused atm
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(String id, Throwable throwable) {
|
public void onFailure(String id, Throwable throwable) {
|
||||||
|
// unused atm
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onRelease(String id) {
|
public void onRelease(String id) {
|
||||||
|
// unused atm
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -659,7 +657,7 @@ public class DisplayUtils {
|
|||||||
public static CharSequence getRelativeTimestamp(Context context, long modificationTimestamp, boolean showFuture) {
|
public static CharSequence getRelativeTimestamp(Context context, long modificationTimestamp, boolean showFuture) {
|
||||||
return getRelativeDateTimeString(context,
|
return getRelativeDateTimeString(context,
|
||||||
modificationTimestamp,
|
modificationTimestamp,
|
||||||
android.text.format.DateUtils.SECOND_IN_MILLIS,
|
DateUtils.SECOND_IN_MILLIS,
|
||||||
DateUtils.WEEK_IN_MILLIS,
|
DateUtils.WEEK_IN_MILLIS,
|
||||||
0,
|
0,
|
||||||
showFuture);
|
showFuture);
|
||||||
|
Loading…
Reference in New Issue
Block a user