You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by re...@apache.org on 2013/06/11 08:29:25 UTC
svn commit: r1491696 -
/stanbol/trunk/commons/web/base.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java
Author: reto
Date: Tue Jun 11 06:29:25 2013
New Revision: 1491696
URL: http://svn.apache.org/r1491696
Log:
STANBOL-1103: removing NavigationLinks from list when WebFragment is unbound
Modified:
stanbol/trunk/commons/web/base.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java
Modified: stanbol/trunk/commons/web/base.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java
URL: http://svn.apache.org/viewvc/stanbol/trunk/commons/web/base.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java?rev=1491696&r1=1491695&r2=1491696&view=diff
==============================================================================
--- stanbol/trunk/commons/web/base.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java (original)
+++ stanbol/trunk/commons/web/base.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java Tue Jun 11 06:29:25 2013
@@ -259,6 +259,7 @@ public class JerseyEndpoint {
protected void unbindWebFragment(WebFragment webFragment) throws IOException,
ServletException,
NamespaceException {
+ navigationLinks.removeAll(webFragment.getNavigationLinks());
webFragments.remove(webFragment);
initJersey();
}