aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/contactinfo
diff options
context:
space:
mode:
authorLyubomir Marinov <lyubomir.marinov@jitsi.org>2013-05-23 18:50:35 +0300
committerLyubomir Marinov <lyubomir.marinov@jitsi.org>2013-05-23 18:50:35 +0300
commitb211c26d6c8f51a75d3b64b6092284c3847a3a8a (patch)
treea51b7d816a27f8db492cf9c44f998e2da8176635 /src/net/java/sip/communicator/plugin/contactinfo
parent24e81b82808681c6b5741b14048ef58c4e665e37 (diff)
downloadjitsi-b211c26d6c8f51a75d3b64b6092284c3847a3a8a.zip
jitsi-b211c26d6c8f51a75d3b64b6092284c3847a3a8a.tar.gz
jitsi-b211c26d6c8f51a75d3b64b6092284c3847a3a8a.tar.bz2
Fixes warnings, removes trailing whitespace, adds @Override annotations.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/contactinfo')
-rw-r--r--src/net/java/sip/communicator/plugin/contactinfo/ContactInfoActivator.java2
-rw-r--r--src/net/java/sip/communicator/plugin/contactinfo/ContactInfoContactPanel.java2
-rw-r--r--src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDialog.java1
-rw-r--r--src/net/java/sip/communicator/plugin/contactinfo/ContactInfoMenuItem.java3
4 files changed, 6 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoActivator.java b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoActivator.java
index 3f3eba0..0aeb839 100644
--- a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoActivator.java
+++ b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoActivator.java
@@ -10,7 +10,7 @@ import org.osgi.framework.*;
/**
* The Activator of the Contact Info bundle.
- *
+ *
* @author Adam Goldstein
* @author Yana Stamcheva
*/
diff --git a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoContactPanel.java b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoContactPanel.java
index 3783346..a90e56e 100644
--- a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoContactPanel.java
+++ b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoContactPanel.java
@@ -143,6 +143,7 @@ public class ContactInfoContactPanel
* @param cellHasFocus indicates if the rendered object is in a focused
* cell
*/
+ @Override
public Component getListCellRendererComponent( JList list,
Object value,
int index,
@@ -166,6 +167,7 @@ public class ContactInfoContactPanel
/**
* Paint a round blue border and background when a cell is selected.
*/
+ @Override
public void paintComponent(Graphics g)
{
if (this.isSelected)
diff --git a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDialog.java b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDialog.java
index 69ed2eb..853c3de 100644
--- a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDialog.java
+++ b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDialog.java
@@ -84,6 +84,7 @@ public class ContactInfoDialog
this.detailsPanel.loadContactDetails(contact);
}
+ @Override
protected void close(boolean isEscaped)
{
}
diff --git a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoMenuItem.java b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoMenuItem.java
index d71e8eb..5e3960e 100644
--- a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoMenuItem.java
+++ b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoMenuItem.java
@@ -16,7 +16,7 @@ import net.java.sip.communicator.service.gui.*;
import net.java.sip.communicator.service.gui.Container;
/**
- *
+ *
* @author Adam Goldstein
*/
public class ContactInfoMenuItem
@@ -39,6 +39,7 @@ public class ContactInfoMenuItem
* Sets the currently selected <tt>MetaContact</tt>.
* @param metaContact the currently selected meta contact
*/
+ @Override
public void setCurrentContact(MetaContact metaContact)
{
this.metaContact = metaContact;