Skip to content

Commit

Permalink
Make targetType in UknownContentTypeException transient
Browse files Browse the repository at this point in the history
Closes gh-31283
  • Loading branch information
rstoyanchev committed Sep 28, 2023
1 parent 957b6b2 commit a2c5fed
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -36,8 +36,8 @@ public class UnknownContentTypeException extends RestClientException {

private static final long serialVersionUID = 2759516676367274084L;

@SuppressWarnings("serial")
private final Type targetType;

private transient final Type targetType;

private final MediaType contentType;

Expand Down

0 comments on commit a2c5fed

Please sign in to comment.