Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "bugfix",
"category": "AWS SDK for Java v2 Migration Tool",
"contributor": "MBoegers",
"description": "Fix OpenRewrite recipe MethodMatcher"
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
public class S3AddImportsAndComments extends Recipe {

private static final MethodMatcher CREATE_BUCKET = v1S3MethodMatcher("createBucket(String, "
+ V1_S3_MODEL_PKG + "Region");
+ V1_S3_MODEL_PKG + "Region)");
private static final MethodMatcher LIST_NEXT_BATCH_OBJECTS = v1S3MethodMatcher("listNextBatchOfObjects(..)");
private static final MethodMatcher LIST_NEXT_BATCH_VERSIONS = v1S3MethodMatcher("listNextBatchOfVersions(..)");
private static final MethodMatcher GET_METADATA = v1S3MethodMatcher("getCachedResponseMetadata(..)");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class TransferManagerMethodsToV2 extends Recipe {
private static final MethodMatcher COPY_REQUEST =
v2TmMethodMatcher(String.format("copy(%sCopyObjectRequest)", V2_S3_MODEL_PKG));
private static final MethodMatcher COPY_BUCKET_KEY =
v2TmMethodMatcher("copy(String, String, String, String");
v2TmMethodMatcher("copy(String, String, String, String)");

private static final MethodMatcher DOWNLOAD_DIR = v2TmMethodMatcher("downloadDirectory(String, String, java.io.File)");

Expand Down
Loading