mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-12 11:14:20 +00:00
Fix packages
This commit is contained in:
parent
c9ebcc580f
commit
fa205c8915
@ -1,13 +0,0 @@
|
|||||||
package org.session.libsignal.exceptions;
|
|
||||||
|
|
||||||
|
|
||||||
public class InvalidMetadataMessageException extends Exception {
|
|
||||||
public InvalidMetadataMessageException(String s) {
|
|
||||||
super(s);
|
|
||||||
}
|
|
||||||
|
|
||||||
public InvalidMetadataMessageException(Exception s) {
|
|
||||||
super(s);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (C) 2014-2016 Open Whisper Systems
|
|
||||||
*
|
|
||||||
* Licensed according to the LICENSE file in this repository.
|
|
||||||
*/
|
|
||||||
package org.session.libsignal.exceptions;
|
|
||||||
|
|
||||||
public class InvalidVersionException extends Exception {
|
|
||||||
public InvalidVersionException(String detailMessage) {
|
|
||||||
super(detailMessage);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
package org.session.libsignal.exceptions;
|
|
||||||
|
|
||||||
|
|
||||||
public abstract class ProtocolException extends Exception {
|
|
||||||
|
|
||||||
private final String sender;
|
|
||||||
private final int senderDevice;
|
|
||||||
|
|
||||||
public ProtocolException(Exception e, String sender, int senderDevice) {
|
|
||||||
super(e);
|
|
||||||
this.sender = sender;
|
|
||||||
this.senderDevice = senderDevice;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getSender() {
|
|
||||||
return sender;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getSenderDevice() {
|
|
||||||
return senderDevice;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
package org.session.libsignal.exceptions;
|
|
||||||
|
|
||||||
|
|
||||||
public class ProtocolInvalidMessageException extends ProtocolException {
|
|
||||||
public ProtocolInvalidMessageException(InvalidMessageException e, String sender, int senderDevice) {
|
|
||||||
super(e, sender, senderDevice);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,6 +1,5 @@
|
|||||||
package org.session.libsignal.streams;
|
package org.session.libsignal.streams;
|
||||||
|
|
||||||
|
|
||||||
import org.session.libsignal.service.internal.util.Util;
|
import org.session.libsignal.service.internal.util.Util;
|
||||||
|
|
||||||
import java.io.FilterInputStream;
|
import java.io.FilterInputStream;
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package org.session.libsignal.streams;
|
package org.session.libsignal.streams;
|
||||||
|
|
||||||
|
|
||||||
import java.io.FilterOutputStream;
|
import java.io.FilterOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package org.session.libsignal.service.loki.utilities
|
package org.session.libsignal.utilities
|
||||||
|
|
||||||
import org.session.libsignal.crypto.IdentityKeyPair
|
import org.session.libsignal.crypto.IdentityKeyPair
|
||||||
import org.session.libsignal.crypto.ecc.ECKeyPair
|
import org.session.libsignal.crypto.ecc.ECKeyPair
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package org.session.libsignal.service.loki.utilities
|
package org.session.libsignal.utilities
|
||||||
|
|
||||||
fun Any.prettifiedDescription(): String {
|
fun Any.prettifiedDescription(): String {
|
||||||
if (this is List<*>) { return prettifiedDescription() }
|
if (this is List<*>) { return prettifiedDescription() }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package org.session.libsignal.service.loki.utilities
|
package org.session.libsignal.utilities
|
||||||
|
|
||||||
import kotlin.reflect.KProperty1
|
import kotlin.reflect.KProperty1
|
||||||
import kotlin.reflect.full.memberProperties
|
import kotlin.reflect.full.memberProperties
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package org.session.libsignal.service.loki.utilities
|
package org.session.libsignal.utilities
|
||||||
|
|
||||||
import nl.komponents.kovenant.Promise
|
import nl.komponents.kovenant.Promise
|
||||||
import nl.komponents.kovenant.deferred
|
import nl.komponents.kovenant.deferred
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package org.session.libsignal.service.loki.utilities
|
package org.session.libsignal.utilities
|
||||||
|
|
||||||
import org.session.libsignal.utilities.Hex
|
import org.session.libsignal.utilities.Hex
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package org.session.libsignal.service.loki.utilities
|
package org.session.libsignal.utilities
|
||||||
|
|
||||||
object PublicKeyValidation {
|
object PublicKeyValidation {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user