Skip to content

Commit

Permalink
Naming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
litetex committed Jun 21, 2022
1 parent c0f1777 commit 60488db
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public interface DASHManifestDeliveryData extends DASHDeliveryData {
@Nonnull
DashManifestCreator getDashManifestCreator();
DashManifestCreator dashManifestCreator();

String getCachedDashManifestAsString();
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ public SimpleDASHManifestDeliveryDataImpl(

@Override
@Nonnull
public DashManifestCreator getDashManifestCreator() {
public DashManifestCreator dashManifestCreator() {
return dashManifestCreator;
}

@Override
public String getCachedDashManifestAsString() {
if (cachedDashManifest == null) {
cachedDashManifest = getDashManifestCreator().generateManifest();
cachedDashManifest = dashManifestCreator().generateManifest();
}
return cachedDashManifest;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ private void checkDeliveryData(final DeliveryData deliveryData) {
} else if (deliveryData instanceof DASHManifestDeliveryData) {
final DASHManifestDeliveryData dashManifestDD =
(DASHManifestDeliveryData) deliveryData;
assertNotNull(dashManifestDD.getDashManifestCreator());
assertNotNull(dashManifestDD.dashManifestCreator());
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private void checkGeneratedManifest(
}

final DashManifestCreator dashManifestCreator =
((DASHManifestDeliveryData) stream.deliveryData()).getDashManifestCreator();
((DASHManifestDeliveryData) stream.deliveryData()).dashManifestCreator();
if (dashManifestCreator instanceof YoutubeOtfDashManifestCreator) {
asserts.add(() -> assertSegmentTemplateElement(document));
asserts.add(() -> assertSegmentTimelineAndSElements(document));
Expand Down

0 comments on commit 60488db

Please sign in to comment.