mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +03:00
codacy: Classes implementing Serializable should set a serialVersionUID
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
a5297a5365
commit
31da2fc46d
4 changed files with 7 additions and 0 deletions
|
@ -21,6 +21,8 @@
|
|||
package com.nextcloud.client.di;
|
||||
|
||||
class InjectorNotFoundException extends RuntimeException {
|
||||
private static final long serialVersionUID = 2026042918255104421L;
|
||||
|
||||
InjectorNotFoundException(Object object, Throwable cause) {
|
||||
super(
|
||||
String.format(
|
||||
|
|
|
@ -30,6 +30,8 @@ import java.util.Vector;
|
|||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class UniqueStorageList extends Vector<StoragePoint> {
|
||||
private static final long serialVersionUID = -6504937852826767050L;
|
||||
|
||||
@Override
|
||||
public boolean add(StoragePoint sp) {
|
||||
try {
|
||||
|
|
|
@ -4,6 +4,8 @@ package com.owncloud.android.operations;
|
|||
* RuntimeException for throwing errors of remote operation calls.
|
||||
*/
|
||||
public class RemoteOperationFailedException extends RuntimeException {
|
||||
private static final long serialVersionUID = 5429778514835938713L;
|
||||
|
||||
/**
|
||||
* Constructs a new runtime exception with the specified detail message and
|
||||
* cause.
|
||||
|
|
|
@ -317,6 +317,7 @@ public class StorageMigration {
|
|||
|
||||
static private class FileMigrationTask extends FileMigrationTaskBase {
|
||||
private class MigrationException extends Exception {
|
||||
private static final long serialVersionUID = -4575848188034992066L;
|
||||
private int mResId;
|
||||
|
||||
MigrationException(int resId) {
|
||||
|
|
Loading…
Reference in a new issue