sonos

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

commit 7a26ca4caeb831ecec30dac29e5d6c21d879a811
parent a32eff2e168ada41276dc13979ce7595c977b286
Author: Brian Swetland <swetland@frotz.net>
Date:   Sun,  7 Aug 2011 05:30:56 -0700

XML: remove dead code

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

diff --git a/net/frotz/sonos/XML.java b/net/frotz/sonos/XML.java @@ -39,7 +39,6 @@ public class XML { int count; Matcher mTag; - Matcher mEntity; Matcher mAttr; boolean isOpen; @@ -54,7 +53,6 @@ public class XML { tag = new XMLSequence(); tmp = new XMLSequence(); mTag = pTag.matcher(seq); - mEntity = pEntity.matcher(tmp); mAttr = pAttr.matcher(tmp); xml = new char[size]; buf = CharBuffer.wrap(xml); @@ -273,8 +271,6 @@ public class XML { static Pattern pTag = Pattern.compile("<(/)?([a-zA-Z:_][a-zA-Z0-9:\\-\\._]*)([^>]*)>",Pattern.DOTALL); /* G1: name G2: value */ static Pattern pAttr = Pattern.compile("\\s*([a-zA-Z:_][a-zA-Z0-9:\\-\\._]*)=\"([^\"]*)\""); - /* G1: pretext G2: entity G3: entity body */ - static Pattern pEntity = Pattern.compile("([^&]*)(&([^;]*);)"); static Charset cs = Charset.forName("UTF-8");