@Test void testGetLocationForObjectNameAndBucketAndVersionId() throws Exception { assertThat( getLocationForBucketAndObjectAndVersionId("foo", "bar", "versionIdValue")) .isEqualTo("s3: assertThat(getLocationForBucketAndObjectAndVersionId("foo", "bar/baz", "versionIdValue")).isEqualTo("s3: assertThat(getLocationForBucketAndObjectAndVersionId("foo", "bar/baz.txt", "versionIdValue")).isEqualTo("s3: }
static String getLocationForBucketAndObjectAndVersionId(String bucketName, String objectName, String versionId) { String location = getLocationForBucketAndObject(bucketName, objectName); return new StringBuffer(location).append(VERSION_DELIMITER).append(versionId) .toString(); }
SimpleStorageNameUtils { static String getLocationForBucketAndObjectAndVersionId(String bucketName, String objectName, String versionId) { String location = getLocationForBucketAndObject(bucketName, objectName); return new StringBuffer(location).append(VERSION_DELIMITER).append(versionId) .toString(); } }
SimpleStorageNameUtils { static String getLocationForBucketAndObjectAndVersionId(String bucketName, String objectName, String versionId) { String location = getLocationForBucketAndObject(bucketName, objectName); return new StringBuffer(location).append(VERSION_DELIMITER).append(versionId) .toString(); } private  SimpleStorageNameUtils(); }
SimpleStorageNameUtils { static String getLocationForBucketAndObjectAndVersionId(String bucketName, String objectName, String versionId) { String location = getLocationForBucketAndObject(bucketName, objectName); return new StringBuffer(location).append(VERSION_DELIMITER).append(versionId) .toString(); } private  SimpleStorageNameUtils();  }
SimpleStorageNameUtils { static String getLocationForBucketAndObjectAndVersionId(String bucketName, String objectName, String versionId) { String location = getLocationForBucketAndObject(bucketName, objectName); return new StringBuffer(location).append(VERSION_DELIMITER).append(versionId) .toString(); } private  SimpleStorageNameUtils();   }