boolean collapseNext = stripWhitespace(c.getCurrentStyle(), collapse, tc); if (tc.getText().equals("")) {  continue; } else { stripped.addAll(pendingStylePushes); pendingStylePushes.clear(); stripped.add(tc); collapse = collapseNext; continue;
CalculatedStyle style = c.getCurrentStyle(); boolean collapseNext = stripWhitespace(style, collapse, tc); if (!tc.isRemovableWhitespace()) { allWhitespace = false;
    public static List stripInlineContent(Context c, List inlineContent) {        List stripped = new LinkedList();        List pendingStylePushes = new LinkedList();        boolean collapse = false;        for (Iterator i = inlineContent.iterator(); i.hasNext();) {            Object o = i.next();            if (o instanceof StylePush) {                pendingStylePushes.add(o);                c.pushStyle(((StylePush) o).getStyle());                continue;            }            if (o instanceof TextContent) {                TextContent tc = (TextContent) o;                boolean collapseNext = stripWhitespace(c.getCurrentStyle(), collapse, tc);                if (tc.getText().equals("")) {                    //ignore it, let the next collapse with the previous                    continue;                } else {                    stripped.addAll(pendingStylePushes);                    pendingStylePushes.clear();                    stripped.add(tc);                    collapse = collapseNext;                    continue;                }            }            if (o instanceof StylePop) {                c.popStyle();                if (pendingStylePushes.size() != 0) {                    //redundant style-change                    pendingStylePushes.remove(pendingStylePushes.size() - 1);                } else {                    stripped.add(o);                }                continue;            }            //Here we have some other object, just add it with preceding styles            stripped.addAll(pendingStylePushes);            pendingStylePushes.clear();            stripped.add(o);            collapse = false;//no collapsing of the next one        }        //there may be relevant StylePushes pending, e.g. if this is content of AnonymousBlock        stripped.addAll(pendingStylePushes);                //Uu.p("final stripped = " + stripped);        if(isAllWhitespace(stripped)) {            stripWhitespaceContent(stripped);        }        return stripped;    }