From d2a4018d6c354a75e45800f90f45d09469bc4db5 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 8 Jan 2011 20:19:03 +0000 Subject: TUSCANY-3812 - Fixing feed id to avoid generating different md5 hash which is breaking caching git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1056790 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules/binding-atom-runtime/src') diff --git a/sca-java-2.x/trunk/modules/binding-atom-runtime/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java b/sca-java-2.x/trunk/modules/binding-atom-runtime/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java index b5b8763f3c..861ff5d182 100644 --- a/sca-java-2.x/trunk/modules/binding-atom-runtime/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java +++ b/sca-java-2.x/trunk/modules/binding-atom-runtime/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java @@ -520,7 +520,7 @@ class AtomBindingListenerServlet extends HttpServlet { } // All feeds must provide Id and updated elements. // However, some do not, so provide some program protection. - feed.setId( "Feed" + feed.hashCode()); + feed.setId(request.getRequestURI()); Date responseLastModified = new Date( 0 ); // Add entries to the feed -- cgit v1.2.3