Michael Pasternak has posted comments on this change.
Change subject: sdk: do not append extra slash
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/utils/UrlHelper.java
Line 47: if (path.startsWith(this.root)) {
Line 48: return this.effectiveUri + path;
Line 49: }
Line 50: if (this.root.startsWith(SLASH))
Line 51: return this.effectiveUri + this.root + path;
this.root never ends with SLASH as this is an entry point for the root resource
and we
remove trailing slashes in our api
Line 52: return this.effectiveUri + SLASH + this.root + path;
Line 53: }
Line 54:
Line 55: /**
--
To view, visit http://gerrit.ovirt.org/12704
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I1d81808f870a1ce0cd1f048b393cec33ded36fd7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Aravinda VK <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches