mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
IDEA-296486: minor correction (syntax)
fixed remark from review GitOrigin-RevId: cc976db4791656b6429e250b8f3c3895d72724e1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
14d8a5523c
commit
1cdfbcad75
Binary file not shown.
@@ -439,7 +439,7 @@ Java_com_intellij_ui_mac_screenmenu_Menu_nativeRenameAppMenuItems(JNIEnv *env, j
|
||||
JNI_COCOA_ENTER();
|
||||
const int stringCount = (*env)->GetArrayLength(env, jStringArray);
|
||||
if (stringCount < 2) return; // simple protection (just for insurance)
|
||||
__strong NSMutableArray * stringArray = [NSMutableArray arrayWithCapacity:stringCount];
|
||||
NSMutableArray * __strong stringArray = [NSMutableArray arrayWithCapacity:stringCount];
|
||||
for (int i = 0; i < stringCount; i += 2) {
|
||||
jstring jTitle = (jstring) ((*env)->GetObjectArrayElement(env, jStringArray, i));
|
||||
[stringArray addObject:JavaStringToNSString(env, jTitle)];
|
||||
|
||||
Reference in New Issue
Block a user