diff --git a/src/native/macosx/sparkle/net_java_sip_communicator_impl_sparkle_SparkleActivator.m b/src/native/macosx/sparkle/net_java_sip_communicator_impl_sparkle_SparkleActivator.m index 973b24251..a7073a440 100644 --- a/src/native/macosx/sparkle/net_java_sip_communicator_impl_sparkle_SparkleActivator.m +++ b/src/native/macosx/sparkle/net_java_sip_communicator_impl_sparkle_SparkleActivator.m @@ -43,7 +43,7 @@ Java_net_java_sip_communicator_impl_sparkle_SparkleActivator_initSparkle //Class suUpdaterClass = [bundle classNamed:@"SUUpdater"]; //id suUpdater = [[suUpdaterClass alloc] init]; - SUUpdater *suUpdater = [SUUpdater alloc]; + SUUpdater *suUpdater = [SUUpdater alloc]; (*env)->ReleaseStringUTFChars(env, pathToSparkleFramework, path); @@ -62,10 +62,10 @@ Java_net_java_sip_communicator_impl_sparkle_SparkleActivator_initSparkle // 0 => top, 1 => after "About..." [applicationMenu insertItem:checkForUpdatesMenuItem atIndex:1]; - // Check at Startup (SUCheckAtStartup and SUScheduledCheckInterval - // specified in the Info.plist does not seem to work) - if (updateAtStartup == JNI_TRUE) - [suUpdater checkForUpdatesInBackground]; + // Check at Startup (SUCheckAtStartup and SUScheduledCheckInterval + // specified in the Info.plist does not seem to work) + if (updateAtStartup == JNI_TRUE) + [suUpdater checkForUpdatesInBackground]; - [suUpdater scheduleCheckWithInterval:checkInterval]; + [suUpdater scheduleCheckWithInterval:checkInterval]; } diff --git a/src/net/java/sip/communicator/impl/sparkle/SparkleActivator.java b/src/net/java/sip/communicator/impl/sparkle/SparkleActivator.java index cc1a9f97c..85c953e38 100644 --- a/src/net/java/sip/communicator/impl/sparkle/SparkleActivator.java +++ b/src/net/java/sip/communicator/impl/sparkle/SparkleActivator.java @@ -32,11 +32,11 @@ public native static void initSparkle(String pathToSparkleFramework, private boolean updateAtStartup = true; /** - * Whether updates are checked at startup + * Check interval period, in seconds */ private int checkInterval = 86400; // 1 day - /** + /** * Dynamically loads JNI object. Will fail if non-MacOSX * or when libinit_sparkle.dylib is outside of the LD_LIBRARY_PATH */