]> source.dussan.org Git - jgit.git/commitdiff
LfsStore: Don't invoke toString on String variable 37/83337/2
authorDavid Pursehouse <david.pursehouse@gmail.com>
Mon, 17 Oct 2016 07:18:22 +0000 (16:18 +0900)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 17 Oct 2016 23:06:29 +0000 (01:06 +0200)
Change-Id: I15d234e5d907d0bbb22a95cf781e915798bead30
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java

index c4d95481f12b72403f1d0779f3405c24a3b82df0..c6c58c9931986e61b992b1a2eafe02923da3d421 100644 (file)
@@ -238,7 +238,7 @@ class LfsStore extends TextBuiltin {
                case S3:
                        readAWSKeys();
                        checkOptions();
-                       S3Config config = new S3Config(region.toString(), bucket,
+                       S3Config config = new S3Config(region, bucket,
                                        storageClass.toString(), accessKey, secretKey,
                                        expirationSeconds, disableSslVerify);
                        repository = new S3Repository(config);