Skip to content

Commit 940c22d

Browse files
authored
Annotate HttpRange with Immutable (Azure#22119)
1 parent ad75273 commit 940c22d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk/core/azure-core/src/main/java/com/azure/core/http/HttpRange.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
package com.azure.core.http;
55

6+
import com.azure.core.annotation.Immutable;
67
import com.azure.core.util.logging.ClientLogger;
78

89
import java.util.Objects;
@@ -15,6 +16,7 @@
1516
* <p>
1617
* If {@link #getLength() length} is unspecified, null, then the range extends to the end of the HTTP resource.
1718
*/
19+
@Immutable
1820
public final class HttpRange {
1921
private final long offset;
2022
private final Long length;

0 commit comments

Comments
 (0)