You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2017/02/09 22:34:14 UTC
svn commit: r1782410 -
/felix/trunk/osgi-r7/configadmin/src/main/java/org/osgi/service/cm/Configuration.java
Author: cziegeler
Date: Thu Feb 9 22:34:14 2017
New Revision: 1782410
URL: http://svn.apache.org/viewvc?rev=1782410&view=rev
Log:
Update to latest R7 API. Commit id in OSGi git repo: 4dc2314
Modified:
felix/trunk/osgi-r7/configadmin/src/main/java/org/osgi/service/cm/Configuration.java
Modified: felix/trunk/osgi-r7/configadmin/src/main/java/org/osgi/service/cm/Configuration.java
URL: http://svn.apache.org/viewvc/felix/trunk/osgi-r7/configadmin/src/main/java/org/osgi/service/cm/Configuration.java?rev=1782410&r1=1782409&r2=1782410&view=diff
==============================================================================
--- felix/trunk/osgi-r7/configadmin/src/main/java/org/osgi/service/cm/Configuration.java (original)
+++ felix/trunk/osgi-r7/configadmin/src/main/java/org/osgi/service/cm/Configuration.java Thu Feb 9 22:34:14 2017
@@ -228,6 +228,9 @@ public interface Configuration {
* identical to the {@link #update(Dictionary)} method.
*
* @param properties The new set of properties for this configuration.
+ * @return If the properties are different and the configuration is updated
+ * {@code true} is returned. If the properties are the same,
+ * {@code false} is returned.
* @throws ReadOnlyConfigurationException If the configuration is
* {@link ConfigurationAttribute#READ_ONLY read only}.
* @throws IOException If update cannot be made persistent.
@@ -237,7 +240,7 @@ public interface Configuration {
* @throws IllegalStateException If this configuration has been deleted.
* @since 1.6
*/
- public void updateIfDifferent(Dictionary<String, ? > properties)
+ public boolean updateIfDifferent(Dictionary<String, ? > properties)
throws IOException;
/**