We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 791cf64 commit 948e131Copy full SHA for 948e131
README.md
@@ -78,8 +78,7 @@ public class ReadPlaylistExample {
78
System.exit(-1);
79
}
80
specificPlaylist.toPlaylist().getRootSequence().getComponents().forEach(component -> {
81
- if (component instanceof Media) {
82
- Media media = (Media) component;
+ if (component instanceof Media media) {
83
System.out.printf("Media with content-source=%s\n", media.getSource().toString());
84
85
});
0 commit comments