Skip to content

Commit

Permalink
Annotate HttpRange with Immutable (#22119)
Browse files Browse the repository at this point in the history
  • Loading branch information
alzimmermsft authored Jun 7, 2021
1 parent ad75273 commit 940c22d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

package com.azure.core.http;

import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;

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

0 comments on commit 940c22d

Please sign in to comment.