Skip to content

Commit 72938a4

Browse files
committed
removing client flags from api calls in java wrapper
1 parent 7f13f6e commit 72938a4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/wrappers/java/idam_jni.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ JNIEXPORT void JNICALL Java_jIdam_Idam_resetIdamPrivateFlag(JNIEnv* env, jobject
9595

9696
JNIEXPORT void JNICALL Java_jIdam_Idam_setIdamClientFlag(JNIEnv* env, jobject obj, jint flag)
9797
{
98-
setIdamClientFlag(udaClientFlags(), (unsigned int)flag);
98+
setIdamClientFlag((unsigned int)flag);
9999
}
100100

101101
JNIEXPORT void JNICALL Java_jIdam_Idam_resetIdamClientFlag(JNIEnv* env, jobject obj, jint flag)
102102
{
103-
resetIdamClientFlag(udaClientFlags(), (unsigned int)flag);
103+
resetIdamClientFlag((unsigned int)flag);
104104
}
105105

106106
//--------------------------------------------------------------
@@ -110,15 +110,15 @@ JNIEXPORT void JNICALL Java_jIdam_Idam_setIdamProperty(JNIEnv* env, jobject obj,
110110
{
111111
const char* property = (*env)->GetStringUTFChars(env, _property, NULL);
112112
if (property == NULL) return;
113-
setIdamProperty(property, udaClientFlags());
113+
setIdamProperty(property);
114114
(*env)->ReleaseStringUTFChars(env, _property, property);
115115
}
116116

117117
JNIEXPORT jint JNICALL Java_jIdam_Idam_getIdamProperty(JNIEnv* env, jobject obj, jstring _property)
118118
{
119119
const char* property = (*env)->GetStringUTFChars(env, _property, NULL);
120120
if (property == NULL) return 0;
121-
jint value = (jint)getIdamProperty(property, udaClientFlags());
121+
jint value = (jint)getIdamProperty(property);
122122
(*env)->ReleaseStringUTFChars(env, _property, property);
123123
return (value);
124124
}
@@ -127,13 +127,13 @@ JNIEXPORT void JNICALL Java_jIdam_Idam_resetIdamProperty(JNIEnv* env, jobject ob
127127
{
128128
const char* property = (*env)->GetStringUTFChars(env, _property, NULL);
129129
if (property == NULL) return;
130-
resetIdamProperty(property, udaClientFlags());
130+
resetIdamProperty(property);
131131
(*env)->ReleaseStringUTFChars(env, _property, property);
132132
}
133133

134134
JNIEXPORT void JNICALL Java_jIdam_Idam_resetIdamProperties(JNIEnv* env, jobject obj)
135135
{
136-
resetIdamProperties(udaClientFlags());
136+
resetIdamProperties();
137137
}
138138

139139
//--------------------------------------------------------------
@@ -257,7 +257,7 @@ JNIEXPORT jint JNICALL Java_jIdam_Idam_getIdamDataStatus(JNIEnv* env, jobject ob
257257

258258
JNIEXPORT jint JNICALL Java_jIdam_Idam_getIdamLastHandle(JNIEnv* env, jobject obj)
259259
{
260-
return (jint)getIdamLastHandle(udaClientFlags());
260+
return (jint)getIdamLastHandle();
261261
}
262262

263263

0 commit comments

Comments
 (0)