sonos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 3bc003d1c2e96b4ef3c292fbec94ce3bce339b6b
parent 86d46616c0daab26e9a62794f786165b9370572b
Author: Brian Swetland <swetland@frotz.net>
Date:   Sun,  7 Aug 2011 08:00:08 -0700

Sonos: more copy-avoidance for Android

Diffstat:
Mnet/frotz/sonos/Sonos.java | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net/frotz/sonos/Sonos.java b/net/frotz/sonos/Sonos.java @@ -257,19 +257,19 @@ public class Sonos { thing = "container"; } while (result.tryRead(name,value)) { - if ("dc:title".contentEquals(name)) { + if (name.eq("dc:title")) { item.title.init(value.unescape()); continue; } - if ("dc:creator".contentEquals(name)) { + if (name.eq("dc:creator")) { item.artist.init(value.unescape()); continue; } - if ("upnp:album".contentEquals(name)) { + if (name.eq("upnp:album")) { item.album.init(value.unescape()); continue; } - if ("res".contentEquals(name)) { + if (name.eq("res")) { item.playURI.init(value.unescape()); continue; }