From f789b9b7ef3c9e6dfebf3cb7c4da02786c7cdec9 Mon Sep 17 00:00:00 2001 From: Romain Kuntz Date: Mon, 18 Jun 2007 16:14:58 +0000 Subject: [PATCH] Cosmetics: commented currently unused code in growl plugin --- .../GrowlNotificationServiceImpl.java | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/src/net/java/sip/communicator/impl/growlnotification/GrowlNotificationServiceImpl.java b/src/net/java/sip/communicator/impl/growlnotification/GrowlNotificationServiceImpl.java index 9b32969d6..b9c31d008 100644 --- a/src/net/java/sip/communicator/impl/growlnotification/GrowlNotificationServiceImpl.java +++ b/src/net/java/sip/communicator/impl/growlnotification/GrowlNotificationServiceImpl.java @@ -43,7 +43,7 @@ public class GrowlNotificationServiceImpl private Growl notifier; /** - * The noifyGrowlOf/setAllowedNotifications/setDefaultNotifications + * The notifyGrowlOf/setAllowedNotifications/setDefaultNotifications * methods of the growl class. We use reflection to access them * in order to avoid compilation errors on non mac platforms. */ @@ -203,20 +203,15 @@ public void stop(BundleContext bc) */ public void messageReceived(MessageReceivedEvent evt) { -// byte[] contactImage = null; -// NSData NSContactImage = null; - -// try -// { -// contactImage = evt.getSourceContact().getImage(); -// } -// catch (Exception ex) -// { -// logger.error("Failed to load contact photo for Growl", ex); -// } - -// if (contactImage != null) -// NSContactImage = new NSData(contactImage); + //byte[] contactImage = null; + //try + //{ + // contactImage = evt.getSourceContact().getImage(); + //} + //catch (Exception ex) + //{ + // logger.error("Failed to load contact photo for Growl", ex); + //} try {