iheartradio / open-m3u8

Open Source m3u8 Parser
Other
245 stars 94 forks source link

Fix equals and hashCode methods in PlaylistData #42

Closed carlanton closed 7 years ago

carlanton commented 7 years ago

The equals and hashCode methods for PlaylistData are broken since they use super.hashCode and super.equals, i.e. java.lang.Object. This makes it hard to check equality between Playlists. Here's a fix for that!

Wopple commented 7 years ago

@carlanton Thank you for noticing this bug. It used to have a super class, but no more (thankfully).

@sunglee413 LGTM