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/27 13:57:20 UTC

svn commit: r1784563 - /felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java

Author: cziegeler
Date: Mon Feb 27 13:57:20 2017
New Revision: 1784563

URL: http://svn.apache.org/viewvc?rev=1784563&view=rev
Log:
FELIX-5560 : Add change count property to runtime service

Modified:
    felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java

Modified: felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java?rev=1784563&r1=1784562&r2=1784563&view=diff
==============================================================================
--- felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java (original)
+++ felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java Mon Feb 27 13:57:20 2017
@@ -110,7 +110,8 @@ public final class HttpServiceRuntimeImp
             final long count;
             synchronized ( this )
             {
-                count = this.changeCount++;
+                this.changeCount++;
+                count = this.changeCount;
                 this.setAttribute(PROP_CHANGECOUNT, this.changeCount);
                 if ( this.timer == null )
                 {