bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public synchronized void setHelpMenu(Menu menu) { if (helpMenu != null) { helpMenu.removeNotify(); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove(menu); menu.parent = this; MenuBarPeer myPeer = (MenuBarPeer) getPeer (); if (myPeer != null) {...
public synchronized void setHelpMenu(Menu menu) { if (helpMenu != null) { helpMenu.removeNotify(); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove(menu); menu.parent = this; if (myPeer != null) { menu.addNotify(); myPeer.addHelpMe...
16,576
private void setOffset(int offset) { this.offset = this.offset >= 0 ? offset : -1; }
void setOffset(int offset) { this.offset = this.offset >= 0 ? offset : -1; }
16,578
private void checkLocation(int where, int len) throws BadLocationException { if (where < 0) throw new BadLocationException("Invalid location", 1); else if (where > this.count) throw new BadLocationException("Invalid location", this.count); else if ((where + len)>this.count) throw new BadLocat...
void checkLocation(int where, int len) throws BadLocationException { if (where < 0) throw new BadLocationException("Invalid location", 1); else if (where > this.count) throw new BadLocationException("Invalid location", this.count); else if ((where + len)>this.count) throw new BadLocationExcep...
16,579
public DataBufferByte(int size, int numBanks) { super(TYPE_BYTE, size, numBanks); bankData = new byte[numBanks][size]; data = bankData[0]; }
public DataBufferByte(int size) { super(TYPE_BYTE, size, numBanks); bankData = new byte[numBanks][size]; data = bankData[0]; }
16,580
public DataBufferByte(int size, int numBanks) { super(TYPE_BYTE, size, numBanks); bankData = new byte[numBanks][size]; data = bankData[0]; }
public DataBufferByte(int size, int numBanks) { super(TYPE_BYTE, size, numBanks); bankData = new byte[numBanks][size]; data = bankData[0]; }
16,581
protected DataBuffer(int dataType, int size, int numBanks, int offset) { this(dataType, size, numBanks); java.util.Arrays.fill(offsets, offset); this.offset = offset; }
protected DataBuffer(int dataType, int size, int numBanks, int offset) { this(dataType, size, numBanks); java.util.Arrays.fill(offsets, offset); this.offset = offset; }
16,582
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) { throw new Error("not implemented"); }
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) { Point2D xp1 = xform.transform(getPoint1(), null); Point2D xp2 = x...
16,583
public int getTransparency() { throw new Error("not implemented"); }
public int getTransparency() { if (c1.getAlpha() == 255 && c2.getAlpha() == 255) return Transparency.OPAQUE; else return Transparency.TRANSLUCENT; }
16,584
public abstract int getVisibleChildCount(TreePath value0);
public abstract int getVisibleChildCount(TreePath value0);
16,585
protected void changeUpdate() { // Split up the element at the start offset if necessary. Element el = getCharacterElement(offset); Element[] res = split(el, offset, 0); BranchElement par = (BranchElement) el.getParentElement(); if (res[1] != null) { int index = par.getEl...
protected void changeUpdate() { // Split up the element at the start offset if necessary. Element el = getCharacterElement(offset); Element[] res = split(el, offset, 0); BranchElement par = (BranchElement) el.getParentElement(); if (res[1] != null) { int index = par.getEl...
16,586
protected void changeUpdate() { // Split up the element at the start offset if necessary. Element el = getCharacterElement(offset); Element[] res = split(el, offset, 0); BranchElement par = (BranchElement) el.getParentElement(); if (res[1] != null) { int index = par.getEl...
protected void changeUpdate() { // Split up the element at the start offset if necessary. Element el = getCharacterElement(offset); Element[] res = split(el, offset, 0); BranchElement par = (BranchElement) el.getParentElement(); if (res[1] != null) { int index = par.getEl...
16,587
public void insert(int offset, int length, ElementSpec[] data, DefaultDocumentEvent ev) { if (length == 0) return; this.offset = offset; this.length = length; this.endOffset = offset + length; documentEvent = ev; // Push the root and the paragraph at off...
public void insert(int offset, int length, ElementSpec[] data, DefaultDocumentEvent ev) { if (length == 0) return; this.offset = offset; this.length = length; this.endOffset = offset + length; documentEvent = ev; // Push the root and the paragraph at off...
16,588
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
private void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a JoinPrevious insertion ...
16,590
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
16,591
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
16,592
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
16,593
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
privatevoidinsertContentTag(ElementSpectag){prepareContentInsertion();intlen=tag.getLength();intdir=tag.getDirection();AttributeSettagAtts=tag.getAttributes();if(dir==ElementSpec.JoinPreviousDirection){//ThemauveteststothisclassshowthataJoinPreviousinsertion//doesnotaddanyeditstothedocumentevent.Tomethismeans//thatnoth...
16,594
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
16,595
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
16,596
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
private void insertContentTag(ElementSpec tag) { prepareContentInsertion(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a Jo...
16,597
private Element insertParagraph(BranchElement par, int offset) { Element current = par.getElement(par.getElementIndex(offset)); Element[] res = split(current, offset, 0); int index = par.getElementIndex(offset); Element ret; if (res[1] != null) { Element[] removed; ...
private Element insertParagraph(BranchElement par, int offset) { Element current = par.getElement(par.getElementIndex(offset)); Element[] res = split(current, offset, 0); int index = par.getElementIndex(offset); Element ret; if (res[1] != null) { Element[] removed; ...
16,598
private Element insertParagraph(BranchElement par, int offset) { Element current = par.getElement(par.getElementIndex(offset)); Element[] res = split(current, offset, 0); int index = par.getElementIndex(offset); Element ret; if (res[1] != null) { Element[] removed; ...
private Element insertParagraph(BranchElement par, int offset) { Element current = par.getElement(par.getElementIndex(offset)); Element[] res = split(current, offset, 0); int index = par.getElementIndex(offset); Element ret; if (res[1] != null) { Element[] removed; ...
16,599
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ...
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: switch (data[i].getDirection()) { case ElementSpec.JoinFractureDirection: insertFracture(data[i]); break; c...
16,600
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ...
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: elementStack.pop()...
16,601
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ...
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ...
16,602
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ...
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ...
16,603
private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ...
private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ...
16,604
private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ...
private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ...
16,605
public String toString() { StringBuilder b = new StringBuilder(); b.append('<'); switch (type) { case StartTagType: b.append("StartTag"); break; case EndTagType: b.append("EndTag"); break; case ContentType: b.append("Content"...
public String toString() { StringBuilder b = new StringBuilder(); switch (type) { case StartTagType: b.append("StartTag"); break; case EndTagType: b.append("EndTag"); break; case ContentType: b.append("Content"); bre...
16,606
protected AbstractDocument.AbstractElement createDefaultRoot() { Element[] tmp; // FIXME: Create a SecionElement here instead of a BranchElement. // Use createBranchElement() and createLeafElement instead. SectionElement section = new SectionElement(); BranchElement paragraph = new BranchElement(secti...
protected AbstractDocument.AbstractElement createDefaultRoot(){Element[] tmp;// FIXME: Create a SecionElement here instead of a BranchElement.// Use createBranchElement() and createLeafElement instead.SectionElement section = new SectionElement();BranchElement paragraph = new BranchElement(section, null);paragraph.setR...
16,607
protected AbstractDocument.AbstractElement createDefaultRoot() { Element[] tmp; // FIXME: Create a SecionElement here instead of a BranchElement. // Use createBranchElement() and createLeafElement instead. SectionElement section = new SectionElement(); BranchElement paragraph = new BranchElement(secti...
protected AbstractDocument.AbstractElement createDefaultRoot() { Element[] tmp; // FIXME: Create a SecionElement here instead of a BranchElement. // Use createBranchElement() and createLeafElement instead. SectionElement section = new SectionElement(); BranchElement paragraph = new BranchElement(secti...
16,608
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { try { // writeLock() and writeUnlock() should always be in a try/finally // block so that locking balance is guaranteed even if some // exception is thrown. writeLock(); // First we ...
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { try { // writeLock() and writeUnlock() should always be in a try/finally // block so that locking balance is guaranteed even if some // exception is thrown. writeLock(); // First we ...
16,609
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
ElementSpec finalStartTag = null; short finalStartDirection = ElementSpec.OriginateDirection; boolean prevCharWasNewline = false; ElementSpec finalStartTag = null; short finalStartDirection = ElementSpec.OriginateDirection; boolean prevCharWasNewline = false; protectedElementSpec finalStartTag = null; short finalStartD...
16,611
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
16,612
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
16,613
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
16,614
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
16,615
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs...
16,616
public void setLogicalStyle(int position, Style style) { Element el = getParagraphElement(position); // getParagraphElement doesn't return null but subclasses might so // we check for null here. if (el == null) return; try { writeLock(); if (el instanceof AbstractElement) { ...
public void setLogicalStyle(int position, Style style) { Element el = getParagraphElement(position); // getParagraphElement doesn't return null but subclasses might so // we check for null here. if (el == null) return; try { writeLock(); if (el instanceof AbstractElement) { ...
16,617
public void setLogicalStyle(int position, Style style) { Element el = getParagraphElement(position); // getParagraphElement doesn't return null but subclasses might so // we check for null here. if (el == null) return; try { writeLock(); if (el instanceof AbstractElement) { ...
publicvoidsetLogicalStyle(intposition,Stylestyle){Elementel=getParagraphElement(position);//getParagraphElementdoesn'treturnnullbutsubclassesmightso//wecheckfornullhere.if(el==null)return;try{writeLock();if(elinstanceofAbstractElement){AbstractElementael=(AbstractElement)el;ael.setResolveParent(style);intstart=el.getSt...
16,618
public GapContent(int size) { buf.append("\n"); }
public GapContent() { buf.append("\n"); }
16,620
public GapContent(int size) { buf.append("\n"); }
public GapContent(int size) { this(10); }
16,621
protected AbstractDocument(Content doc, AttributeContext ctx) { content = doc; context = ctx; }
protected AbstractDocument(Content doc) { content = doc; context = ctx; }
16,622
protected AbstractDocument(Content doc, AttributeContext ctx) { content = doc; context = ctx; }
protected AbstractDocument(Content doc, AttributeContext ctx) { content = doc; context = ctx; }
16,623
public Color getBackground(AttributeSet set);
public Color getBackground(AttributeSet set);
16,624
public Font getFont(AttributeSet set);
public Font getFont(AttributeSet set);
16,625
public Color getForeground(AttributeSet set);
public Color getForeground(AttributeSet set);
16,626
public void getText(int offset, int length, Segment segment) throws BadLocationException { content.getChars(offset, length, segment); }
public void getText(int offset, int length, Segment segment) throws BadLocationException { content.getChars(offset, length, segment); }
16,627
public void setParagraphAttributes(int offset, int length, AttributeSet set, boolean replace);
public void setParagraphAttributes(int offset, int length, AttributeSet set, boolean replace);
16,628
protected void addImpl(Component comp, Object constraints, int index) { int left = 0; int right = 1; int div = 2; int place; if (constraints == null) { if (leftComponent == null) constraints = LEFT; else if (rightComponent == null) constraints = RIGHT; } if (constraints instanceof Str...
protected void addImpl(Component comp, Object constraints, int index) { int left = 0; int right = 1; int div = 2; int place; if (constraints == null) { if (leftComponent == null) constraints = LEFT; else if (rightComponent == null) constraints = RIGHT; } if (constraints instanceof Str...
16,629
private void resetSelectedValue() { if (inputComponent != null) { Object init = optionPane.getInitialSelectionValue(); if (init == null) return; if (inputComponent instanceof JTextField) ((JTextField) inputComponent).setText((String) init); else if (inputComponent instanceof JComboBox) ((JComboBox) inp...
void resetSelectedValue() { if (inputComponent != null) { Object init = optionPane.getInitialSelectionValue(); if (init == null) return; if (inputComponent instanceof JTextField) ((JTextField) inputComponent).setText((String) init); else if (inputComponent instanceof JComboBox) ((JComboBox) inputCompon...
16,630
Object invoke (Remote obj, Method method, Object[] params, long opnum) throws Exception;
Object invoke (Remote obj, Method method, Object[] params, long opnum) throws Exception;
16,631
public void update (int bval);
public void update (int bval);
16,632
public DataFormatException(String msg) { super(msg); }
public DataFormatException() { super(msg); }
16,633
public DataFormatException(String msg) { super(msg); }
public DataFormatException(String msg) { }
16,634
protected SelectionKey () { }
protected SelectionKey() { }
16,635
public final Object attachment () { return attached; }
public final Object attachment() { return attached; }
16,636
public abstract void cancel ();
public abstract void cancel();
16,637
public abstract SelectableChannel channel ();
public abstract SelectableChannel channel ();
16,638
public abstract int interestOps ();
public abstract int interestOps ();
16,639
public final boolean isAcceptable () { return (readyOps () & OP_ACCEPT) != 0; }
public final boolean isAcceptable() { return (readyOps () & OP_ACCEPT) != 0; }
16,640
public final boolean isAcceptable () { return (readyOps () & OP_ACCEPT) != 0; }
public final boolean isAcceptable () { return (readyOps() & OP_ACCEPT) != 0; }
16,641
public final boolean isConnectable () { return (readyOps () & OP_CONNECT) != 0; }
public final boolean isConnectable() { return (readyOps () & OP_CONNECT) != 0; }
16,642
public final boolean isConnectable () { return (readyOps () & OP_CONNECT) != 0; }
public final boolean isConnectable () { return (readyOps() & OP_CONNECT) != 0; }
16,643
public final boolean isReadable () { return (readyOps () & OP_READ) != 0; }
public final boolean isReadable() { return (readyOps () & OP_READ) != 0; }
16,644
public final boolean isReadable () { return (readyOps () & OP_READ) != 0; }
public final boolean isReadable () { return (readyOps() & OP_READ) != 0; }
16,645
public abstract boolean isValid ();
public abstract boolean isValid ();
16,646
public final boolean isWritable () { return (readyOps () & OP_WRITE) != 0; }
public final boolean isWritable() { return (readyOps () & OP_WRITE) != 0; }
16,647
public final boolean isWritable () { return (readyOps () & OP_WRITE) != 0; }
public final boolean isWritable () { return (readyOps() & OP_WRITE) != 0; }
16,648
public abstract int readyOps ();
public abstract int readyOps ();
16,649
public abstract Selector selector ();
public abstract Selector selector ();
16,650
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { re...
TemplateNode clone(Stylesheet stylesheet) TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) ret.children = children.clone(stylesheet); } if (next != null) ret.next...
16,651
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { re...
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); if (next != null) { ret....
16,652
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { re...
TemplateNode clone(Stylesheet stylesheet) TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) ret.children = children.clone(stylesheet); } if (next != null) ret.next...
16,653
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { re...
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); if (next != null) { ret....
16,654
public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ...
public int compareTo(Object other) if (other instanceof ParameterNode) ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) throw new IllegalArgumentException("circular definitions"); ...
16,655
public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ...
public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ...
16,656
public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ...
public int compareTo(Object other) if (other instanceof ParameterNode) ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) throw new IllegalArgumentException("circular definitions"); ...
16,657
public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ...
public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ...
16,658
public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ...
public int compareTo(Object other) if (other instanceof ParameterNode) ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) throw new IllegalArgumentException("circular definitions"); ...
16,659
public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ...
public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ...
16,660
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, cont...
16,661
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co...
16,662
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, cont...
16,663
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co...
16,664
Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); } else if (children != null) { Document doc = (context instanceof Document) ? (Docum...
Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException if (select != null) return select.evaluate(context, pos, len); } else if (children != null) Document doc = (context instanceof Document) ? (Document) c...
16,665
Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); } else if (children != null) { Document doc = (context instanceof Document) ? (Docum...
Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); else if (children != null) { Document doc = (context instanceof Document) ? (Documen...
16,666
Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); } else if (children != null) { Document doc = (context instanceof Document) ? (Docum...
Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException if (select != null) return select.evaluate(context, pos, len); } else if (children != null) Document doc = (context instanceof Document) ? (Document) c...
16,667
Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); } else if (children != null) { Document doc = (context instanceof Document) ? (Docum...
Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); else if (children != null) { Document doc = (context instanceof Document) ? (Documen...
16,668
public boolean references(QName var) { if (select != null && select.references(var)) { return true; } return super.references(var); }
public boolean references(QName var) if (select != null && select.references(var)) return true; } return super.references(var); }
16,669
public boolean references(QName var) { if (select != null && select.references(var)) { return true; } return super.references(var); }
public boolean references(QName var) { if (select != null && select.references(var)) { return true; return super.references(var); }
16,670
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("name="); buf.append(name); if (select != null) { buf.append(",select="); buf.append(select); } buf.append(",type="); switch (type) { case Bindings....
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("name="); buf.append(name); if (select != null) { buf.append(",select="); buf.append(select); } buf.append(",type="); switch (type) { case Bindings....
16,671
public XMLFormatter() { }
public XMLFormatter() { }
16,673
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
16,674
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
16,675
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
16,676
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
16,677
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
16,678
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
16,679
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an...
16,680