aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/chatconfig
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/chatconfig
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/chatconfig')
-rw-r--r--src/net/java/sip/communicator/plugin/chatconfig/ChatConfigActivator.java16
-rw-r--r--src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigPanel.java1
-rw-r--r--src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigurationTableModel.java3
3 files changed, 12 insertions, 8 deletions
diff --git a/src/net/java/sip/communicator/plugin/chatconfig/ChatConfigActivator.java b/src/net/java/sip/communicator/plugin/chatconfig/ChatConfigActivator.java
index 7e19374..d08fbe3 100644
--- a/src/net/java/sip/communicator/plugin/chatconfig/ChatConfigActivator.java
+++ b/src/net/java/sip/communicator/plugin/chatconfig/ChatConfigActivator.java
@@ -1,6 +1,6 @@
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
- *
+ *
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package net.java.sip.communicator.plugin.chatconfig;
@@ -22,7 +22,7 @@ import org.osgi.framework.*;
/**
* The chat configuration form activator.
- *
+ *
* @author Purvesh Sahoo
*/
public class ChatConfigActivator
@@ -64,7 +64,7 @@ public class ChatConfigActivator
/**
* Starts this bundle.
- *
+ *
* @param bc the BundleContext
* @throws Exception if some of the operations executed in the start method
* fails
@@ -92,7 +92,7 @@ public class ChatConfigActivator
/**
* Stops this bundle.
- *
+ *
* @param bc the bundle context
* @throws Exception if something goes wrong
*/
@@ -100,7 +100,7 @@ public class ChatConfigActivator
/**
* Gets the service giving access to all application resources.
- *
+ *
* @return the service giving access to all application resources.
*/
public static ResourceManagementService getResources()
@@ -113,7 +113,7 @@ public class ChatConfigActivator
/**
* Creates a config section label from the given text.
- *
+ *
* @param labelText the text of the label.
* @return the created label
*/
@@ -134,7 +134,7 @@ public class ChatConfigActivator
/**
* Returns the <tt>ConfigurationService</tt> obtained from the bundle
* context.
- *
+ *
* @return the <tt>ConfigurationService</tt> obtained from the bundle
* context
*/
@@ -157,7 +157,7 @@ public class ChatConfigActivator
/**
* Returns all <tt>ReplacementService</tt>s obtained from the bundle
* context.
- *
+ *
* @return all <tt>ReplacementService</tt> implementation obtained from the
* bundle context
*/
diff --git a/src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigPanel.java b/src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigPanel.java
index e4c1d3e..b28e37f 100644
--- a/src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigPanel.java
+++ b/src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigPanel.java
@@ -239,6 +239,7 @@ public class ReplacementConfigPanel
*/
private static final long serialVersionUID = 0L;
+ @Override
public Component getTableCellRendererComponent(JTable table, Object value,
boolean selected, boolean focused, int row, int column)
{
diff --git a/src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigurationTableModel.java b/src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigurationTableModel.java
index 26f2fd5..b47c2bc 100644
--- a/src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigurationTableModel.java
+++ b/src/net/java/sip/communicator/plugin/chatconfig/replacement/ReplacementConfigurationTableModel.java
@@ -54,6 +54,7 @@ public class ReplacementConfigurationTableModel
* @param columnIndex
* @return the Class of the column. <tt>Boolean</tt> for the first column.
*/
+ @Override
public Class<?> getColumnClass(int columnIndex)
{
return (columnIndex == 0) ? Boolean.class : super
@@ -111,6 +112,7 @@ public class ReplacementConfigurationTableModel
*
* @return boolean; true for first column false otherwise
*/
+ @Override
public boolean isCellEditable(int rowIndex, int columnIndex)
{
return (columnIndex == 0);
@@ -125,6 +127,7 @@ public class ReplacementConfigurationTableModel
* @param rowIndex
* @param columnIndex
*/
+ @Override
public void setValueAt(Object value, int rowIndex, int columnIndex)
{
if ((columnIndex == 0) && (value instanceof Boolean))