Guus der Kinderen 925135b424dfc8ff40748b219b3229a437d6daba m
SPARK-2110: Stop using deprecated VCard API
Smack has deprecated parts of the VCard API (primarily the 'load' and 'save' methods). As Spark still used this API at some points, some data doesn't get refereshed / loaded properly. By switching to the new API, these problems disappear.
- core/src/main/java/org/jivesoftware/spark/ui/RosterDialog.java (version 925135b424dfc8ff40748b219b3229a437d6daba)
- core/src/main/java/org/jivesoftware/sparkimpl/profile/VCardEditor.java (version 925135b424dfc8ff40748b219b3229a437d6daba)
- core/src/main/java/org/jivesoftware/sparkimpl/profile/VCardManager.java (version 925135b424dfc8ff40748b219b3229a437d6daba)
Guus der Kinderen 89f16500739f6d73fb678506fd5edf22b21dbd80 m
SPARK-2133: Don't search jar for translations
Instead of specifically looking for i18n-files in the spark.jar file, just check if they're anywhere on the classpath. This is more likely to yield results (especially when Spark isn't ran from a jar file, but from an IDE). I'd not be surprised if it's moderately faster too, as no ZIP file operations are needed).
- core/src/main/java/org/jivesoftware/sparkimpl/plugin/language/LanguagePlugin.java (version 89f16500739f6d73fb678506fd5edf22b21dbd80)