Commit 8f04d36f by aquilescanta Committed by Oliver Woodman

Inline redundant constructor

PiperOrigin-RevId: 376005620
parent 85e4137b
......@@ -31,7 +31,11 @@ import java.util.Arrays;
public static final class ItemData {
/** Holds no media information. */
public static final ItemData EMPTY = new ItemData();
public static final ItemData EMPTY =
new ItemData(
/* durationUs= */ C.TIME_UNSET,
/* defaultPositionUs= */ C.TIME_UNSET,
/* isLive= */ false);
/** The duration of the item in microseconds, or {@link C#TIME_UNSET} if unknown. */
public final long durationUs;
......@@ -42,13 +46,6 @@ import java.util.Arrays;
/** Whether the item is live content, or {@code false} if unknown. */
public final boolean isLive;
private ItemData() {
this(
/* durationUs= */ C.TIME_UNSET,
/* defaultPositionUs= */ C.TIME_UNSET,
/* isLive= */ false);
}
/**
* Creates an instance.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment