]> source.dussan.org Git - jgit.git/commit
[findBugs] Fix calculation of host header in SignerV4 61/73161/2
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 19 May 2016 12:50:12 +0000 (14:50 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 19 May 2016 13:01:05 +0000 (15:01 +0200)
commitc54ff8bf123835e1e9592fcef799bafce9423a94
tree3b40d1413a855b7ee61231bbe1feb3399da645b5
parentbf15a72ea050f5c7f2244f48e1c3e56a266a8da7
[findBugs] Fix calculation of host header in SignerV4

We ignored the returned concatenation of host name and port number. Fix
this and use a StringBuilder to avoid creation of unnecessary String
objects.

Change-Id: I61fac639d4a4c95412eb41a0f9131d0c38aca794
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/s3/SignerV4.java