felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1782410 - /felix/trunk/osgi-r7/configadmin/src/main/java/org/osgi/service/cm/Configuration.java
Date Thu, 09 Feb 2017 22:34:14 GMT
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;
 
     /**



Mime
View raw message