You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Bump OpenRewrite to 3.6.1
* Bump OpenRewrite to 3.14.0
* Remove redundant import add/remove
* Add v2 import in S3PojoToV2
* Update unit test for exceptions
Copy file name to clipboardExpand all lines: test/v2-migration-tests/src/test/resources/software/amazon/awssdk/v2migrationtests/gradle/before/init.gradle
Copy file name to clipboardExpand all lines: test/v2-migration-tests/src/test/resources/software/amazon/awssdk/v2migrationtests/maven-nocompile/after/src/main/java/foo/bar/S3EnDateTime.java
for (S3EventNotification.S3EventNotificationRecordrecord : notification.getRecords()) {
28
+
for (S3EventNotificationRecordrecord : notification.getRecords()) {
29
29
DateTimeeventTime = /*AWS SDK for Java v2 migration: getEventTime returns Instant instead of DateTime in v2. AWS SDK v2 does not include org.joda.time as a dependency. If you want to keep using DateTime, you'll need to manually add "org.joda.time:joda-time" dependency to your project after migration.*/newDateTime(record.getEventTime().toEpochMilli());
Copy file name to clipboardExpand all lines: test/v2-migration-tests/src/test/resources/software/amazon/awssdk/v2migrationtests/maven/after/src/main/java/foo/bar/Application.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -70,11 +70,11 @@ public static void main(String... args) {
70
70
71
71
} catch (SqsExceptionexception) {
72
72
System.out.println(String.format("Error code: %s. RequestId: %s. Raw response content: %s",
Copy file name to clipboardExpand all lines: test/v2-migration-tests/src/test/resources/software/amazon/awssdk/v2migrationtests/maven/after/src/main/java/foo/bar/S3.java
Copy file name to clipboardExpand all lines: test/v2-migration-tests/src/test/resources/software/amazon/awssdk/v2migrationtests/maven/after/src/main/java/foo/bar/S3RequestConstructor.java
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -147,8 +147,7 @@ public void requestconstructor() {
Copy file name to clipboardExpand all lines: test/v2-migration-tests/src/test/resources/software/amazon/awssdk/v2migrationtests/maven/after/src/main/java/foo/bar/S3Streaming.java
0 commit comments