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
Copy file name to clipboardExpand all lines: backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/GsonHttpEntity.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -93,14 +93,14 @@ final class GsonHttpEntity implements HttpEntity, HttpAsyncContentProducer {
93
93
privatelongcontentLength;
94
94
95
95
/**
96
-
* We can lazily compute the contentLenght, but we need to avoid changing the value
96
+
* We can lazily compute the contentLength, but we need to avoid changing the value
97
97
* we report over time as this confuses the Apache HTTP client as it initially defines
98
98
* the encoding strategy based on this, then assumes it can rely on this being
99
99
* a constant.
100
100
* After the {@link #getContentLength()} was invoked at least once, freeze
101
101
* the value.
102
102
*/
103
-
privatebooleancontentlengthWasProvided = false;
103
+
privatebooleancontentLengthWasProvided = false;
104
104
105
105
/**
106
106
* Since flow control might hint to stop producing data,
0 commit comments