mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-12 14:08:38 -05:00
Fixes from audit
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1418 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
f3413e2ceb
commit
93dfeac99c
@ -321,6 +321,7 @@ public class VCalendar extends VObject {
|
||||
|
||||
/**
|
||||
* Return VTimezone object
|
||||
*
|
||||
* @return VTimezone
|
||||
*/
|
||||
public VObject getVTimezone() {
|
||||
@ -361,6 +362,12 @@ public class VCalendar extends VObject {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get property value from first VEVENT in VCALENDAR.
|
||||
*
|
||||
* @param name property name
|
||||
* @return property value
|
||||
*/
|
||||
public String getFirstVeventPropertyValue(String name) {
|
||||
if (firstVevent == null) {
|
||||
return null;
|
||||
@ -386,12 +393,21 @@ public class VCalendar extends VObject {
|
||||
}
|
||||
}
|
||||
|
||||
class Recipients {
|
||||
/**
|
||||
* VCalendar recipients for notifications
|
||||
*/
|
||||
public static class Recipients {
|
||||
String attendees;
|
||||
String optionalAttendees;
|
||||
String organizer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Build recipients value for VCalendar.
|
||||
*
|
||||
* @param isNotification if true, filter recipients that should receive meeting notifications
|
||||
* @return notification/event recipients
|
||||
*/
|
||||
public Recipients getRecipients(boolean isNotification) {
|
||||
|
||||
HashSet<String> attendees = new HashSet<String>();
|
||||
|
@ -225,7 +225,6 @@ public final class DavGatewayTray {
|
||||
*/
|
||||
public static void init() {
|
||||
if (!Settings.getBooleanProperty("davmail.server")) {
|
||||
String javaVersion = System.getProperty("java.specification.version");
|
||||
// first try to load SWT before with Java before 1.7
|
||||
if ("1.7".compareTo(System.getProperty("java.specification.version")) > 0) {
|
||||
ClassLoader classloader = DavGatewayTray.class.getClassLoader();
|
||||
|
Loading…
Reference in New Issue
Block a user