mirror of
https://github.com/RfidResearchGroup/RFIDtools.git
synced 2026-05-12 11:19:59 -07:00
clean up.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package cn.rrg.com;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import cn.dxl.common.posixio.Communication;
|
||||
|
||||
@@ -67,7 +68,10 @@ public class UniversalDriver implements Communication {
|
||||
* @param data the new data from write fun
|
||||
* @return your process ret
|
||||
*/
|
||||
public int onWriteData(byte[] data, int offset, int length, int timeout) {
|
||||
public int onWriteData(byte[] data,
|
||||
int offset,
|
||||
int length,
|
||||
int timeout) throws IOException {
|
||||
return data.length;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,7 +241,7 @@ jboolean testNested(JNIEnv *env, jobject instance) {
|
||||
return true;
|
||||
}
|
||||
|
||||
jboolean testHardnested(JNIEnv *env, jobject instance, nfc_device *pnd, nfc_target_info *target) {
|
||||
jboolean testHardnested(JNIEnv *env, jobject instance) {
|
||||
return (jboolean) !testNested(env, instance);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user