Skip to content

Commit e2349b4

Browse files
authored
Remove deprecated contentTypeLocked field
Removed deprecated contentTypeLocked field to improve code clarity.
1 parent 0eff84c commit e2349b4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

client/src/main/java/org/asynchttpclient/RequestBuilderBase.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@ public abstract class RequestBuilderBase<T extends RequestBuilderBase<T>> {
9393
protected @Nullable Charset charset;
9494
protected ChannelPoolPartitioning channelPoolPartitioning = ChannelPoolPartitioning.PerHostChannelPoolPartitioning.INSTANCE;
9595
protected NameResolver<InetAddress> nameResolver = DEFAULT_NAME_RESOLVER;
96-
// Flag to track if Content-Type was explicitly set by user (should not be modified)
97-
// Keep this field protected for binary compatibility with subclasses compiled
98-
// against earlier versions that may have accessed the field directly. New
99-
// code should use the doContentTypeLock/resetContentTypeLock/isContentTypeLocked
100-
// API instead.
101-
@Deprecated
10296
protected boolean contentTypeLocked;
10397

10498
/**

0 commit comments

Comments
 (0)