Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Feb 7, 2024
1 parent 7a8d827 commit 3d600d1
Showing 1 changed file with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
package com.salesforce.apollo.demesnes.isolate;

import com.google.protobuf.InvalidProtocolBufferException;
import com.salesforce.apollo.cryptography.Digest;
import com.salesforce.apollo.cryptography.proto.Digeste;
import com.salesforce.apollo.demesne.proto.DemesneParameters;
import com.salesforce.apollo.demesne.proto.ViewChange;
import com.salesforce.apollo.stereotomy.event.proto.*;
import com.salesforce.apollo.cryptography.Digest;
import com.salesforce.apollo.model.demesnes.Demesne;
import com.salesforce.apollo.model.demesnes.DemesneImpl;
import com.salesforce.apollo.stereotomy.EventCoordinates;
import com.salesforce.apollo.stereotomy.event.proto.*;
import com.salesforce.apollo.stereotomy.identifier.SelfAddressingIdentifier;
import com.salesforce.apollo.stereotomy.identifier.spec.IdentifierSpecification;
import com.salesforce.apollo.stereotomy.identifier.spec.RotationSpecification;
Expand Down Expand Up @@ -57,7 +57,7 @@ public class DemesneIsolate {
private static boolean active(JNIEnvironment jniEnv, JClass clazz, @CEntryPoint.IsolateThreadContext long isolateId)
throws GeneralSecurityException {
final Demesne d = demesne.get();
return d == null ? false : d.active();
return d != null && d.active();
}

@CEntryPoint(name = "Java_com_salesforce_apollo_model_demesnes_JniBridge_commit")
Expand Down Expand Up @@ -227,16 +227,6 @@ private static void stop(JNIEnvironment jniEnv, JClass clazz, @CEntryPoint.Isola
}
}

private static JByteArray toByteArray(InceptionEvent rotate) {
// TODO Auto-generated method stub
return null;
}

private static JByteArray toByteArray(RotationEvent rotate) {
// TODO Auto-generated method stub
return null;
}

@CEntryPoint(name = "Java_com_salesforce_apollo_model_demesnes_JniBridge_viewChange")
private static boolean viewChange(JNIEnvironment jniEnv, JClass clazz,
@CEntryPoint.IsolateThreadContext long isolateId, JByteArray vc, int size) {
Expand Down

0 comments on commit 3d600d1

Please sign in to comment.