Skip to content

Commit f3b7ac2

Browse files
removed unused function valueToString
1 parent 15239be commit f3b7ac2

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/main/java/dev/openfga/sdk/api/client/ApiClient.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,6 @@ public ApiClient(HttpClient.Builder builder, ObjectMapper mapper) {
104104
asyncResponseInterceptor = null;
105105
}
106106

107-
private static String valueToString(Object value) {
108-
if (value == null) {
109-
return "";
110-
}
111-
if (value instanceof OffsetDateTime) {
112-
return ((OffsetDateTime) value).format(DateTimeFormatter.ISO_OFFSET_DATE_TIME);
113-
}
114-
return value.toString();
115-
}
116-
117107
public static HttpRequest.Builder requestBuilder(String method, String path, Configuration configuration)
118108
throws FgaInvalidParameterException {
119109
return requestBuilder(method, path, HttpRequest.BodyPublishers.noBody(), configuration);

0 commit comments

Comments
 (0)