Skip to content

Commit 8bd5074

Browse files
authored
chore: update code to v4.1.2 (#73)
1 parent 76fce22 commit 8bd5074

File tree

3 files changed

+71
-131
lines changed

3 files changed

+71
-131
lines changed

code/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
<groupId>com.expediagroup</groupId>
77
<artifactId>rapid-sdk</artifactId>
8-
<version>3.2.2</version>
8+
<version>4.1.2</version>
99
<name>EG Rapid SDK for Java</name>
10-
<description>EG Rapid SDK v3.2.2</description>
10+
<description>EG Rapid SDK v4.1.2</description>
1111
<url>https://github.com/ExpediaGroup/rapid-java-sdk</url>
1212
<inceptionYear>2022</inceptionYear>
1313
<packaging>jar</packaging>

code/src/main/kotlin/com/expediagroup/sdk/core/model/Response.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ open class Response<T>(
4646
)
4747
}
4848

49-
override fun toString(): String = "Response(statusCode=$statusCode, data=$data, headers=$headers)"
49+
override fun toString() = "Response(statusCode=$statusCode, data=$data, headers=$headers)"
50+
51+
@Deprecated("Use getData() instead", replaceWith = ReplaceWith("getData()"))
52+
fun getBody() = data
5053
}
5154

5255
class EmptyResponse(

0 commit comments

Comments
 (0)