From 1bd1bc98d1acee104d7b8a7ba2e6945ed4532b0e Mon Sep 17 00:00:00 2001 From: fjy Date: Wed, 16 Oct 2013 13:21:54 -0700 Subject: [PATCH] update s3 calls to not use deprecated fns --- .../src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java b/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java index 12312cb0e52..ff286e262ac 100644 --- a/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java +++ b/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java @@ -93,7 +93,7 @@ public class S3DataSegmentPuller implements DataSegmentPuller S3Object s3Obj = null; try { - s3Obj = s3Client.getObject(new S3Bucket(s3Coords.bucket), s3Coords.path); + s3Obj = s3Client.getObject(s3Coords.bucket, s3Coords.path); InputStream in = null; try {