Browse Source

LfsStore: Don't invoke toString on String variable

Change-Id: I15d234e5d907d0bbb22a95cf781e915798bead30
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-4.6
David Pursehouse 8 years ago committed by Matthias Sohn
parent
commit
08649a9fd0
  1. 2
      org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java

2
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java

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

Loading…
Cancel
Save