aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/configuration/ConfigurationServiceImpl.java
diff options
context:
space:
mode:
authorWerner Dittmann <wernerd@java.net>2010-04-09 13:11:06 +0000
committerWerner Dittmann <wernerd@java.net>2010-04-09 13:11:06 +0000
commit73cf690b0411b6b48d659c56c423bfd705751dbc (patch)
treeb316a041bf42d68ec4cd4905aa0e5877ca482fc0 /src/net/java/sip/communicator/impl/configuration/ConfigurationServiceImpl.java
parentad827e67f6f897d78c43f3b4de534f97c99fed1e (diff)
downloadjitsi-73cf690b0411b6b48d659c56c423bfd705751dbc.zip
jitsi-73cf690b0411b6b48d659c56c423bfd705751dbc.tar.gz
jitsi-73cf690b0411b6b48d659c56c423bfd705751dbc.tar.bz2
Cleanup PropertyChangeEvent stuff
Use java.beans.PropertyChangeEvent instead of own implementation. This removes some classes from SC and removes ambiguities with respect to PropertyChangeEvent handling. Rename SC's own PropertyVetoException to ConfigPropertyVetoException to show the difference in usage and implementation. ConfigPropertyVetoException is a subclass of Runtime exception (intentionally) to simplify handling.
Diffstat (limited to 'src/net/java/sip/communicator/impl/configuration/ConfigurationServiceImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/configuration/ConfigurationServiceImpl.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/java/sip/communicator/impl/configuration/ConfigurationServiceImpl.java b/src/net/java/sip/communicator/impl/configuration/ConfigurationServiceImpl.java
index f47374b..7be5509 100644
--- a/src/net/java/sip/communicator/impl/configuration/ConfigurationServiceImpl.java
+++ b/src/net/java/sip/communicator/impl/configuration/ConfigurationServiceImpl.java
@@ -8,10 +8,10 @@ package net.java.sip.communicator.impl.configuration;
import java.io.*;
import java.util.*;
+import java.beans.*;
import net.java.sip.communicator.impl.configuration.xml.*;
import net.java.sip.communicator.service.configuration.*;
-import net.java.sip.communicator.service.configuration.event.*;
import net.java.sip.communicator.service.fileaccess.*;
import net.java.sip.communicator.util.*;
import net.java.sip.communicator.util.xml.*;
@@ -78,7 +78,7 @@ public class ConfigurationServiceImpl
* at least one propertychange listener.
*/
public void setProperty(String propertyName, Object property)
- throws PropertyVetoException
+ // throws PropertyVetoException
{
setProperty(propertyName, property, false);
}
@@ -104,7 +104,7 @@ public class ConfigurationServiceImpl
*/
public void setProperty(String propertyName, Object property,
boolean isSystem)
- throws PropertyVetoException
+ // throws PropertyVetoException
{
Object oldValue = getProperty(propertyName);
@@ -144,7 +144,7 @@ public class ConfigurationServiceImpl
* to the disk.
*/
public void setProperties(Map<String, Object> properties)
- throws PropertyVetoException
+ // throws PropertyVetoException
{
//first check whether the changes are ok with everyone
Map<String, Object> oldValues
@@ -254,7 +254,7 @@ public class ConfigurationServiceImpl
* at least one propertychange listener.
*/
public void removeProperty(String propertyName)
- throws PropertyVetoException
+ // throws PropertyVetoException
{
List<String> childPropertyNames =
getPropertyNamesByPrefix(propertyName, false);