rename Node.networks -> Node.networkConfigs

This commit is contained in:
Brenton Bostick 2023-02-16 12:41:27 -05:00
parent 7f996ea6d5
commit 8d74d34f2a
3 changed files with 7 additions and 7 deletions

View File

@ -1348,10 +1348,10 @@ JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_peers(
/*
* Class: com_zerotier_sdk_Node
* Method: networks
* Method: networkConfigs
* Signature: (J)[Lcom/zerotier/sdk/VirtualNetworkConfig;
*/
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networks(
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networkConfigs(
JNIEnv *env, jobject obj, jlong id)
{
int64_t nodeId = (int64_t) id;

View File

@ -129,10 +129,10 @@ JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_peers
/*
* Class: com_zerotier_sdk_Node
* Method: networks
* Method: networkConfigs
* Signature: (J)[Lcom/zerotier/sdk/VirtualNetworkConfig;
*/
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networks
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networkConfigs
(JNIEnv *, jobject, jlong);
#ifdef __cplusplus

View File

@ -367,8 +367,8 @@ public class Node {
*
* @return List of networks or NULL on failure
*/
public VirtualNetworkConfig[] networks() {
return networks(nodeId);
public VirtualNetworkConfig[] networkConfigs() {
return networkConfigs(nodeId);
}
/**
@ -456,5 +456,5 @@ public class Node {
private native Peer[] peers(long nodeId);
private native VirtualNetworkConfig[] networks(long nodeId);
private native VirtualNetworkConfig[] networkConfigs(long nodeId);
}