Browse Source

move AutoCloseable to top level interface AbstractEngineInterface

JNI-106
heck 2 years ago
parent
commit
9a2c6d9bd2
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/java/foundation/pEp/jniadapter/AbstractEngine.java
  2. +1
    -1
      src/java/foundation/pEp/jniadapter/interfaces/AbstractEngineInterface.java

+ 1
- 1
src/java/foundation/pEp/jniadapter/AbstractEngine.java View File

@ -8,7 +8,7 @@ import foundation.pEp.jniadapter.interfaces.*;
import foundation.pEp.jniadapter.exceptions.*;
abstract class AbstractEngine extends UniquelyIdentifiable implements AbstractEngineInterface, AutoCloseable {
abstract class AbstractEngine extends UniquelyIdentifiable implements AbstractEngineInterface {
static {
System.loadLibrary("pEpJNI");
}


+ 1
- 1
src/java/foundation/pEp/jniadapter/interfaces/AbstractEngineInterface.java View File

@ -3,7 +3,7 @@ package foundation.pEp.jniadapter.interfaces;
import foundation.pEp.jniadapter.Message;
import foundation.pEp.jniadapter.Sync;
public interface AbstractEngineInterface {
public interface AbstractEngineInterface extends AutoCloseable {
public String getVersion();
public String getProtocolVersion();


Loading…
Cancel
Save