Remove unnecessary getter and setter

This commit is contained in:
Niels Andriesse 2019-06-05 16:24:15 +10:00
parent 79927be0c0
commit 57825d58b5
2 changed files with 1 additions and 5 deletions

View File

@ -22,7 +22,6 @@ import org.whispersystems.signalservice.loki.utilities.hexEncodedPublicKey
import java.io.File
import java.io.FileOutputStream
class KeyPairActivity : BaseActionBarActivity() {
private lateinit var languageFileDirectory: File
private var keyPair: IdentityKeyPair? = null

View File

@ -9,7 +9,7 @@ public class OutgoingTextMessage {
private final String message;
private final int subscriptionId;
private final long expiresIn;
private boolean isFriendRequest = false;
boolean isFriendRequest = false;
public OutgoingTextMessage(Recipient recipient, String message, int subscriptionId) {
this(recipient, message, 0, subscriptionId);
@ -69,9 +69,6 @@ public class OutgoingTextMessage {
return false;
}
public boolean isFriendRequest() { return isFriendRequest; }
public void setIsFriendRequest(boolean value) { this.isFriendRequest = value; }
public static OutgoingTextMessage from(SmsMessageRecord record) {
if (record.isSecure()) {
return new OutgoingEncryptedMessage(record.getRecipient(), record.getBody(), record.getExpiresIn());