directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1649207 - /directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/handlers/MetaAttributeHandler.java
Date Sat, 03 Jan 2015 14:33:49 GMT
Author: kayyagari
Date: Sat Jan  3 14:33:48 2015
New Revision: 1649207

URL: http://svn.apache.org/r1649207
Log:
removed an extra / char

Modified:
    directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/handlers/MetaAttributeHandler.java

Modified: directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/handlers/MetaAttributeHandler.java
URL: http://svn.apache.org/viewvc/directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/handlers/MetaAttributeHandler.java?rev=1649207&r1=1649206&r2=1649207&view=diff
==============================================================================
--- directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/handlers/MetaAttributeHandler.java
(original)
+++ directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/handlers/MetaAttributeHandler.java
Sat Jan  3 14:33:48 2015
@@ -101,6 +101,7 @@ public class MetaAttributeHandler extend
             
             SimpleAttribute location = new SimpleAttribute( "location" );
             String locationVal = ctx.getUriInfo().getBaseUri().toString();
+            locationVal = locationVal.substring( 0, locationVal.length() - 1 );
             locationVal = locationVal + resourceUri + resource.getId();
             
             location.setValue( locationVal );



Mime
View raw message