Skip to content

Commit ace0189

Browse files
committed
Corrected JavaDoc references
1 parent ab4b358 commit ace0189

File tree

8 files changed

+16
-11
lines changed

8 files changed

+16
-11
lines changed

src/main/java/org/digitalmediaserver/cast/CastDeviceMonitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* projects or to get up and running quickly. If you need more control over the
4545
* network configuration, or the project already has a mDNS instance running,
4646
* use another mDNS instance and use the library to create {@link CastDevice}
47-
* instances when devices that provide {@value CastDevice#SERVICE_TYPE} are
47+
* instances when devices that provide {@link CastDevice#SERVICE_TYPE} are
4848
* found.
4949
*/
5050
public final class CastDeviceMonitor {

src/main/java/org/digitalmediaserver/cast/Session.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public List<MediaStatus> load(@Nonnull Load loadRequest, boolean synchronous) th
211211
* immediately always returning {@code null}.
212212
* @param responseTimeout the response timeout in milliseconds if
213213
* {@code synchronous} is {@code true}. If zero or negative,
214-
* {@value Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
214+
* {@link Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
215215
* @return The resulting {@link List} of {@link MediaStatus}es if
216216
* {@code synchronous} is {@code true}, or {@code null} if
217217
* {@code synchronous} is {@code false}.
@@ -296,7 +296,7 @@ public List<MediaStatus> load(
296296
* return immediately always returning {@code null}.
297297
* @param responseTimeout the response timeout in milliseconds if
298298
* {@code synchronous} is {@code true}. If zero or negative,
299-
* {@value Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
299+
* {@link Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
300300
* @return The resulting {@link List} of {@link MediaStatus}es if
301301
* {@code synchronous} is {@code true}, or {@code null} if
302302
* {@code synchronous} is {@code false}.
@@ -390,7 +390,7 @@ public List<MediaStatus> load(
390390
* immediately always returning {@code null}.
391391
* @param responseTimeout the response timeout in milliseconds if
392392
* {@code synchronous} is {@code true}. If zero or negative,
393-
* {@value Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
393+
* {@link Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
394394
* @return The resulting {@link List} of {@link MediaStatus}es if
395395
* {@code synchronous} is {@code true}, or {@code null} if
396396
* {@code synchronous} is {@code false}.
@@ -503,7 +503,7 @@ public List<MediaStatus> load(
503503
* immediately always returning {@code null}.
504504
* @param responseTimeout the response timeout in milliseconds if
505505
* {@code synchronous} is {@code true}. If zero or negative,
506-
* {@value Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
506+
* {@link Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
507507
* @return The resulting {@link List} of {@link MediaStatus}es if
508508
* {@code synchronous} is {@code true}, or {@code null} if
509509
* {@code synchronous} is {@code false}.
@@ -646,7 +646,7 @@ public List<MediaStatus> load(
646646
* immediately always returning {@code null}.
647647
* @param responseTimeout the response timeout in milliseconds if
648648
* {@code synchronous} is {@code true}. If zero or negative,
649-
* {@value Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
649+
* {@link Channel#DEFAULT_RESPONSE_TIMEOUT} will be used.
650650
* @return The resulting {@link List} of {@link MediaStatus}es if
651651
* {@code synchronous} is {@code true}, or {@code null} if
652652
* {@code synchronous} is {@code false}.
@@ -725,7 +725,7 @@ public List<MediaStatus> play(int mediaSessionId, boolean synchronous) throws IO
725725
* @param mediaSessionId the media session ID for which the play request
726726
* applies.
727727
* @param responseTimeout the response timeout in milliseconds. If zero or
728-
* negative, {@value Channel#DEFAULT_RESPONSE_TIMEOUT} will be
728+
* negative, {@link Channel#DEFAULT_RESPONSE_TIMEOUT} will be
729729
* used.
730730
* @return The resulting {@link List} of {@link MediaStatus}es.
731731
* @throws IOException If the response times out or an error occurs during
@@ -775,7 +775,7 @@ public List<MediaStatus> pause(int mediaSessionId, boolean synchronous) throws I
775775
* @param mediaSessionId the media session ID for which the pause request
776776
* applies.
777777
* @param responseTimeout the response timeout in milliseconds. If zero or
778-
* negative, {@value Channel#DEFAULT_RESPONSE_TIMEOUT} will be
778+
* negative, {@link Channel#DEFAULT_RESPONSE_TIMEOUT} will be
779779
* used.
780780
* @return The resulting {@link List} of {@link MediaStatus}es.
781781
* @throws IOException If the response times out or an error occurs during
@@ -846,7 +846,7 @@ public List<MediaStatus> seek(
846846
* complete. If {@code null}, it will retain the state it had
847847
* before seeking.
848848
* @param responseTimeout the response timeout in milliseconds. If zero or
849-
* negative, {@value Channel#DEFAULT_RESPONSE_TIMEOUT} will be
849+
* negative, {@link Channel#DEFAULT_RESPONSE_TIMEOUT} will be
850850
* used.
851851
* @return The resulting {@link List} of {@link MediaStatus}es.
852852
* @throws IOException If the response times out or an error occurs during
@@ -901,7 +901,7 @@ public List<MediaStatus> stop(int mediaSessionId, boolean synchronous) throws IO
901901
* @param mediaSessionId the media session ID for which the
902902
* {@link MediaVolume} request applies.
903903
* @param responseTimeout the response timeout in milliseconds. If zero or
904-
* negative, {@value Channel#DEFAULT_RESPONSE_TIMEOUT} will be
904+
* negative, {@link Channel#DEFAULT_RESPONSE_TIMEOUT} will be
905905
* used.
906906
* @return The resulting {@link List} of {@link MediaStatus}es.
907907
* @throws IOException If the response times out or an error occurs during

src/main/java/org/digitalmediaserver/cast/event/CastEvent.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import javax.annotation.concurrent.ThreadSafe;
3838
import org.digitalmediaserver.cast.Channel;
3939
import org.digitalmediaserver.cast.message.response.AppAvailabilityResponse;
40+
import org.digitalmediaserver.cast.message.response.CloseResponse;
4041
import org.digitalmediaserver.cast.message.response.DeviceAddedResponse;
4142
import org.digitalmediaserver.cast.message.response.DeviceRemovedResponse;
4243
import org.digitalmediaserver.cast.message.response.DeviceUpdatedResponse;

src/main/java/org/digitalmediaserver/cast/message/entity/Media.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public List<Track> getTracks() {
350350

351351
/**
352352
* @return The {@link MetadataType} defined by the key
353-
* {@link MetadataUtil#METADATA_TYPE} or {@code null}.
353+
* {@link Metadata#METADATA_TYPE} or {@code null}.
354354
*/
355355
@Nullable
356356
@JsonIgnore

src/main/java/org/digitalmediaserver/cast/message/entity/Metadata.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616
package org.digitalmediaserver.cast.message.entity;
1717

18+
import org.digitalmediaserver.cast.message.enumeration.MetadataType;
1819

1920
/**
2021
* A collection of constants for "cast metadata".

src/main/java/org/digitalmediaserver/cast/message/enumeration/ContainerType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
package org.digitalmediaserver.cast.message.enumeration;
1717

1818
import javax.annotation.Nullable;
19+
import org.digitalmediaserver.cast.message.entity.ContainerMetadata;
1920
import com.fasterxml.jackson.annotation.JsonCreator;
2021
import com.fasterxml.jackson.annotation.JsonValue;
2122

src/main/java/org/digitalmediaserver/cast/message/request/StopMedia.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import java.util.Map;
1919
import javax.annotation.Nullable;
20+
import org.digitalmediaserver.cast.message.StandardMessage;
2021
import com.fasterxml.jackson.annotation.JsonInclude;
2122
import com.fasterxml.jackson.annotation.JsonProperty;
2223

src/main/java/org/digitalmediaserver/cast/message/request/VolumeRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import java.util.Map;
1919
import javax.annotation.Nonnull;
2020
import javax.annotation.Nullable;
21+
import org.digitalmediaserver.cast.message.StandardMessage;
2122
import org.digitalmediaserver.cast.message.entity.MediaVolume;
2223
import org.digitalmediaserver.cast.util.Util;
2324
import com.fasterxml.jackson.annotation.JsonInclude;

0 commit comments

Comments
 (0)