bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public MessageProducer createProducer(Destination d) throws JMSException { ProducerDelegate producerDelegate = delegate.createProducerDelegate(d); return new JBossMessageProducer(producerDelegate); }
public MessageProducer createProducer(Destination d) throws JMSException { ProducerDelegate producerDelegate = delegate.createProducerDelegate(d); return new JBossMessageProducer(producerDelegate); }
44,707
void addAsfMessage(MessageProxy m, int consumerID, long channelID, int maxDeliveries);
void addAsfMessage(MessageProxy m, int consumerID, long channelID, int maxDeliveries);
44,708
public void setDefaultCloseOperation(int operation) { if (operation == DO_NOTHING_ON_CLOSE || operation == HIDE_ON_CLOSE || operation == DISPOSE_ON_CLOSE) close_action = operation; else throw new IllegalArgumentException("Default close operation must be one of DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, ...
public void setDefaultCloseOperation(int operation) { if (operation == DO_NOTHING_ON_CLOSE || operation == HIDE_ON_CLOSE || operation == DISPOSE_ON_CLOSE) close_action = operation; else close_action = DO_NOTHING_ON_CLOSE; }
44,709
public void testDefaultSecurityConfiguration() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=DefaultSecurity\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
public void testDefaultSecurityConfiguration() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=DefaultSecurity\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
44,710
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
44,711
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
44,712
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
44,713
public String toString() { StringBuffer sb = new StringBuffer(); if (declaringClass != null) { sb.append(declaringClass); if (methodName != null) sb.append('.'); } if (methodName != null) sb.append(methodName); sb.append(" ("); if (fileName != null) sb.append...
public String toString() { StringBuffer sb = new StringBuffer(); if (declaringClass != null) { sb.append(declaringClass); if (methodName != null) sb.append('.'); } if (methodName != null) sb.append(methodName); sb.append("("); if (fileName != null) sb.append(...
44,715
protected void runRunners(Runner[] runners) throws Exception { Thread[] threads = new Thread[runners.length]; for (int i = 0; i < runners.length; i++) { threads[i] = new Thread(runners[i]); threads[i].start(); } for (int i = 0; i < runners.length; i++) { ...
protected void runRunners(Runner[] runners) throws Exception { Thread[] threads = new Thread[runners.length]; for (int i = 0; i < runners.length; i++) { threads[i] = new Thread(runners[i]); threads[i].start(); } for (int i = 0; i < runners.length; i++) { ...
44,718
public void tearDown() throws Exception { assertEquals(0, LockMap.instance.getSize()); ServerManagement.undeployQueue("Queue1"); ServerManagement.undeployQueue("Queue2"); ServerManagement.undeployQueue("Queue3"); ServerManagement.undeployQueue("Queue4"); ServerManagement.u...
public void tearDown() throws Exception { assertEquals(0, LockMap.instance.getSize()); ServerManagement.undeployQueue("Queue1"); ServerManagement.undeployQueue("Queue2"); ServerManagement.undeployQueue("Queue3"); ServerManagement.undeployQueue("Queue4"); ServerManagement.u...
44,719
public static void cssParse( String msg ) { cssParse( Level.INFO, msg ); }
public static void cssParse( String msg ) { cssParse( Level.INFO, msg ); }
44,721
public ClientConnectionFactoryDelegate(int objectID, String serverLocatorURI, Version serverVersion, String serverID, boolean clientPing) { super(objectID); this.serverLocatorURI = serverLocatorURI; this.serverVersion ...
public ClientConnectionFactoryDelegate(int objectID, String serverLocatorURI, Version serverVersion, int serverID, boolean clientPing) { super(objectID); this.serverLocatorURI = serverLocatorURI; this.serverVersion = s...
44,722
public String getServerID() { return serverID; }
public int getServerID() { return serverID; }
44,723
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws StoreException { int stepId = 0; String stepIdVal = (String) args.get("stepId"); if (stepIdVal != null) { try { stepId = Integer.parseInt(stepIdVal); } catch (Exception ex) { ...
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws StoreException { int stepId = 0; String stepIdVal = (String) args.get("stepId"); if (stepIdVal != null) { try { stepId = Integer.parseInt(stepIdVal); } catch (Exception ex) { ...
44,724
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws StoreException { int stepId = 0; String stepIdVal = (String) args.get("stepId"); if (stepIdVal != null) { try { stepId = Integer.parseInt(stepIdVal); } catch (Exception ex) { ...
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws StoreException { int stepId = 0; String stepIdVal = (String) args.get("stepId"); if (stepIdVal != null) { try { stepId = Integer.parseInt(stepIdVal); } catch (Exception ex) { ...
44,725
public boolean selfTest() { if (valid == null) { boolean result = super.selfTest(); // do symmetry tests if (result) { result = testKat(KAT_KEY, KAT_CT); } valid = new Boolean(result); } return valid.booleanValue(); }
public boolean selfTest() { if (valid == null) { boolean result = super.selfTest(); // do symmetry tests if (result) { result = testKat(KAT_KEY, KAT_CT); } valid = Boolean.valueOf(result); } return valid.booleanValue(); }
44,726
public void setParser(BytecodeParser parser) { // Nothing to do here }
publicthis.parser = parser; voidthis.parser = parser; setParser(BytecodeParserthis.parser = parser; parser)this.parser = parser; { //this.parser = parser; Nothingthis.parser = parser; tothis.parser = parser; dothis.parser = parser; here }
44,727
private final void writeInitializeClass(VmConstFieldRef fieldRef) { // Get fieldRef via constantpool to avoid direct object references in // the native code final VmType<?> declClass = fieldRef.getResolvedVmField() .getDeclaringClass(); if (!declClass.isInitialized()) { final Label curInstrLabel = ge...
private final void writeInitializeClass(VmConstFieldRef fieldRef) { // Get fieldRef via constantpool to avoid direct object references in // the native code final VmType<?> declClass = fieldRef.getResolvedVmField() .getDeclaringClass(); if (!declClass.isInitialized()) { final Label curInstrLabel = ge...
44,729
private final void wstore(int jvmType, int index) { final int disp = stackFrame.getEbpOffset(typeSizeInfo, index); wstoreReg = null; // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); // Load final WordItem val = (WordItem) vstack.pop(jvmType); final boolean vconst = val.i...
private final void wstore(int jvmType, int index) { final int disp = stackFrame.getEbpOffset(typeSizeInfo, index); wstoreReg = null; // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); // Load final WordItem val = (WordItem) vstack.pop(jvmType); final boolean vconst = val.i...
44,730
private final void wstore(int jvmType, int index) { final int disp = stackFrame.getEbpOffset(typeSizeInfo, index); wstoreReg = null; // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); // Load final WordItem val = (WordItem) vstack.pop(jvmType); final boolean vconst = val.i...
private final void wstore(int jvmType, int index) { final int disp = stackFrame.getEbpOffset(typeSizeInfo, index); wstoreReg = null; // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); // Load final WordItem val = (WordItem) vstack.pop(jvmType); final boolean vconst = val.i...
44,731
public static int[] getArgumentTypes(String signature) { final int len = signature.length(); int[] types = new int[ len - 3]; // '(, ')', return are skipped int cnt = 0; for (int i = 1; i < len; i++) { final int t; switch (signature.charAt(i)) { case 'Z':...
public static int[] getArgumentTypes(String signature) { final int len = signature.length(); int[] types = new int[ len - 3]; // '(, ')', return are skipped int cnt = 0; for (int i = 1; i < len; i++) { final int t; switch (signature.charAt(i)) { case 'Z':...
44,732
public DestinationManagerImpl(ServerPeer serverPeer) throws Exception { this.serverPeer = serverPeer; //TODO close this inital context when DestinationManager stops initialContext = new InitialContext(); coreDestinationManager = new CoreDestinationManager(this); queueNameToJNDI = new HashM...
public DestinationManagerImpl(ServerPeer serverPeer) throws Exception { this.serverPeer = serverPeer; //TODO close this inital context when DestinationManager stops initialContext = new InitialContext(); coreDestinationManager = new CoreDestinationManager(this); queueNameToJNDI = new HashM...
44,733
public void addTemporaryDestination(Destination jmsDestination) throws JMSException { coreDestinationManager.addCoreDestination(jmsDestination); }
public synchronized void addTemporaryDestination(Destination jmsDestination) throws JMSException { coreDestinationManager.addCoreDestination(jmsDestination); }
44,734
public static String elementToString(Node n) throws Exception { String name = n.getNodeName(); if (name.startsWith("#")) { return ""; } StringBuffer sb = new StringBuffer(); sb.append('<').append(name); NamedNodeMap attrs = n.getAttributes(); if (attrs != null) ...
public static String elementToString(Node n) throws Exception { String name = n.getNodeName(); if (name.startsWith("#")) { return ""; } StringBuffer sb = new StringBuffer(); sb.append('<').append(name); NamedNodeMap attrs = n.getAttributes(); if (attrs != null) ...
44,736
public static Hashtable getJNDIEnvironment(int serverIndex) { log.info("Returning remote context... server index:" + serverIndex); Hashtable env = new Hashtable(); env.put("java.naming.factory.initial", "org.jboss.test.messaging.tools.jndi.RemoteInitialContextFactory"); env.p...
public static Hashtable getJNDIEnvironment(int serverIndex) { Hashtable env = new Hashtable(); env.put("java.naming.factory.initial", "org.jboss.test.messaging.tools.jndi.RemoteInitialContextFactory"); env.put("java.naming.provider.url", ""); env.put("java.naming.factory....
44,737
public RegisterDescriptor(Element register) { init(register); }
public RegisterDescriptor(Element register) { init(register); }
44,739
public StepDescriptor(Element step, AbstractDescriptor parent) { setParent(parent); init(step); }
public StepDescriptor(Element step, AbstractDescriptor parent) { setParent(parent); init(step); }
44,740
public JoinDescriptor(Element join) { init(join); }
public JoinDescriptor(Element join) { init(join); }
44,741
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); StringBuffer buf = new StringBuffer("<action id=\""); buf.append(getId()); buf.append("\""); if ((name != null) && (name.length() > 0)) { buf.append(" name=\""); buf.appen...
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); StringBuffer buf = new StringBuffer("<action id=\""); buf.append(getId()); buf.append("\""); if ((name != null) && (name.length() > 0)) { buf.append(" name=\""); buf.appen...
44,742
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); StringBuffer buf = new StringBuffer("<action id=\""); buf.append(getId()); buf.append("\""); if ((name != null) && (name.length() > 0)) { buf.append(" name=\""); buf.appen...
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); StringBuffer buf = new StringBuffer("<action id=\""); buf.append(getId()); buf.append("\""); if ((name != null) && (name.length() > 0)) { buf.append(" name=\""); buf.appen...
44,743
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); StringBuffer buf = new StringBuffer("<action id=\""); buf.append(getId()); buf.append("\""); if ((name != null) && (name.length() > 0)) { buf.append(" name=\""); buf.appen...
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); StringBuffer buf = new StringBuffer("<action id=\""); buf.append(getId()); buf.append("\""); if ((name != null) && (name.length() > 0)) { buf.append(" name=\""); buf.appen...
44,744
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); StringBuffer buf = new StringBuffer("<action id=\""); buf.append(getId()); buf.append("\""); if ((name != null) && (name.length() > 0)) { buf.append(" name=\""); buf.appen...
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); StringBuffer buf = new StringBuffer("<action id=\""); buf.append(getId()); buf.append("\""); if ((name != null) && (name.length() > 0)) { buf.append(" name=\""); buf.appen...
44,745
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); out.print("<step id=\"" + getId() + "\""); if ((name != null) && (name.length() > 0)) { out.print(" name=\"" + name + "\""); } out.println(">"); Iterator iter = metaAttributes...
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); out.print("<step id=\"" + getId() + "\""); if ((name != null) && (name.length() > 0)) { out.print(" name=\"" + XMLUtil.encode(name) + "\""); } out.println(">"); Iterator iter ...
44,746
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
int starty = (int) Math.ceil((double)(top_insets+yoff)/ih); int endy = (int) Math.ceil((double)(back_height+top_insets+yoff)/ih); int startx = (int) Math.ceil((double)(left_insets)/iw); int endx = (int) Math.ceil((double)(back_width+left_insets)/iw); int starty = (int) Math.ceil((double)(top_insets+yoff)/ih); int ...
44,747
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
44,748
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
44,749
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
44,750
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
44,751
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
publicstaticvoidpaint(Contextc,Boxblock){Rectanglebox=newRectangle(block.x+block.margin.left+block.border.left,block.y+block.margin.top+block.border.top,block.width-block.margin.left-block.margin.right-block.border.left-block.border.right,block.height-block.margin.top-block.border.top-block.border.bottom-block.margin.b...
44,752
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc...
public static void paint(Context c, Box block) { Rectangle box = new Rectangle(block.x + block.margin.left + block.border.left,block.y + block.margin.top + block.border.top,block.width - block.margin.left - block.margin.right - block.border.left - block.border.right,block.height - block.margin.top - block.border.top - ...
44,753
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,754
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,755
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,756
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,757
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,758
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,759
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,760
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,761
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,762
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,763
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,764
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,765
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,766
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,767
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,768
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,769
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,770
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,771
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,772
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,773
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,774
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,775
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,776
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,777
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,778
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,779
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,780
private static void tileFill(Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert) { int iwidth = img.getWidth(null); int iheight = img.getHeight(null); int rwidth = rect.width; int rheight = rect.height; if(!horiz) { rwidth = i...
privatestaticvoidtileFill(Graphicsg,Imageimg,Rectanglerect,intxoff,intyoff,booleanhoriz,booleanvert){intiwidth=img.getWidth(null);intiheight=img.getHeight(null);intrwidth=rect.width;intrheight=rect.height;if(!horiz){rwidth=iwidth;}if(!vert){rheight=iheight;}if(horiz){xoff=xoff%iwidth-iwidth;rwidth+=iwidth;}if(vert){yof...
44,781
public void setMarginTopOverride(float marginTopOverride) { _marginTopOverride = marginTopOverride; _marginTopOverrideSet = true; }
public void setMarginTopOverride(float marginTopOverride) { _marginTopOverride = marginTopOverride; _marginTopOverrideSet = true; }
44,782
public void updateUI() { TextUI b = (TextUI)UIManager.getUI(this); setUI(b); }
public void updateUI() { TextUI b = (TextUI)UIManager.getUI(this); setUI(b); }
44,783
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); String position = style.getStringProperty(CSSName.POSITION); if (position.equals("absolute")) { if (style.hasProperty("right")) { //Uu.p("prop = " + c.css.getProperty(bo...
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); String position = style.getStringProperty(CSSName.POSITION); if (position.equals("absolute")) { if (style.hasProperty("right")) { //Uu.p("prop = " + c.css.getProperty(bo...
44,785
public JCheckBox() { super(); init(); }
public JCheckBox() { super(); init(); }
44,786
public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); ic = new InitialContext(ServerManagement.getJNDIEnvironment()); ServerManagement.deployTopic("Topic"); ServerManagement.deployQueue("Queue"); log.debug("setup done"); }
public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); ic = new InitialContext(ServerManagement.getJNDIEnvironment()); ServerManagement.deployTopic("Topic"); ServerManagement.deployQueue("Queue"); log.debug("setup done"); }
44,787
public void tearDown() throws Exception { ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ic.close(); super.tearDown(); }
public void tearDown() throws Exception { ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ic.close(); super.tearDown(); }
44,788
public void test_NonPersistent_NonTransactional() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); Connection conn = cf.createConnection(); Session session = conn.createSession(false, Session.AUTO_ACKNO...
public void test_NonPersistent_NonTransactional() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/JMSTestQueue"); Connection conn = cf.createConnection(); Session session = conn.createSession(false, Session.AUT...
44,789
public void test_NonPersistent_Transactional() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); Connection conn = cf.createConnection(); Session session = conn.createSession(true, Session.SESSION_TRANSA...
public void test_NonPersistent_Transactional() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/JMSTestQueue"); Connection conn = cf.createConnection(); Session session = conn.createSession(true, Session.SESSION...
44,790
public void test_Persistent_NonTransactional() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); Connection conn = cf.createConnection(); Session session = conn.createSession(false, Session.AUTO_ACKNOWLE...
public void test_Persistent_NonTransactional() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/JMSTestQueue"); Connection conn = cf.createConnection(); Session session = conn.createSession(false, Session.AUTO_A...
44,791
private void expandEntity(String name) throws IOException, XMLStreamException { if (doctype != null) { Object value = doctype.entities.get(name); if (value != null) { if (value instanceof String) pushInput(name, (String) value); else p...
private void expandEntity(String name, boolean inAttr) throws IOException, XMLStreamException { if (doctype != null) { Object value = doctype.entities.get(name); if (value != null) { if (value instanceof String) pushInput(name, (String) value); els...
44,796
private void expandEntity(String name) throws IOException, XMLStreamException { if (doctype != null) { Object value = doctype.entities.get(name); if (value != null) { if (value instanceof String) pushInput(name, (String) value); else p...
private void expandEntity(String name) throws IOException, XMLStreamException { if (doctype != null) { Object value = doctype.getEntity(name); if (value != null) { if (value instanceof String) pushInput(name, (String) value); else push...
44,797
private void expandEntity(String name) throws IOException, XMLStreamException { if (doctype != null) { Object value = doctype.entities.get(name); if (value != null) { if (value instanceof String) pushInput(name, (String) value); else p...
private void expandEntity(String name) throws IOException, XMLStreamException { if (doctype != null) { Object value = doctype.entities.get(name); if (value != null) { if (value instanceof String) { String text = (String) value; if (inAttr && text.indexOf('<')...
44,798
private void expandEntity(String name) throws IOException, XMLStreamException { if (doctype != null) { Object value = doctype.entities.get(name); if (value != null) { if (value instanceof String) pushInput(name, (String) value); else p...
private void expandEntity(String name) throws IOException, XMLStreamException { if (doctype != null) { Object value = doctype.entities.get(name); if (value != null) { if (value instanceof String) pushInput(name, (String) value); else p...
44,799
public Location getLocation() { return this; }
public Location getLocation() { return input; }
44,800
boolean isAttributeDeclared(int index) { if (doctype == null) return false; Attribute a = (Attribute) attrs.get(index); String qn = ("".equals(a.prefix)) ? a.localName : a.prefix + ":" + a.localName; String elementName = buf.toString(); LinkedHashMap attlist = (LinkedHashMap) doctype.attlist...
boolean isAttributeDeclared(int index) { if (doctype == null) return false; Attribute a = (Attribute) attrs.get(index); String qn = ("".equals(a.prefix)) ? a.localName : a.prefix + ":" + a.localName; String elementName = buf.toString(); LinkedHashMap attlist = (LinkedHashMap) doctype.attlist...
44,801
public int next() throws XMLStreamException { if (lookahead) { lookahead = false; return event; } if (event == XMLStreamConstants.END_ELEMENT) { // Pop namespace context if (namespaceAware) namespaces.removeFirst(); // Pop base context if (ba...
public int next() throws XMLStreamException if (lookahead) lookahead = false; return event; } if (event == XMLStreamConstants.END_ELEMENT) // Pop namespace context if (namespaceAware) namespaces.removeFirst(); // Pop base context if (baseAwar...
44,802
public int next() throws XMLStreamException { if (lookahead) { lookahead = false; return event; } if (event == XMLStreamConstants.END_ELEMENT) { // Pop namespace context if (namespaceAware) namespaces.removeFirst(); // Pop base context if (ba...
public int next() throws XMLStreamException { if (lookahead) { lookahead = false; return event; } if (event == XMLStreamConstants.END_ELEMENT) { // Pop namespace context if (namespaceAware) namespaces.removeFirst(); // Pop base context if (ba...
44,803
public int next() throws XMLStreamException { if (lookahead) { lookahead = false; return event; } if (event == XMLStreamConstants.END_ELEMENT) { // Pop namespace context if (namespaceAware) namespaces.removeFirst(); // Pop base context if (ba...
public int next() throws XMLStreamException { if (lookahead) { lookahead = false; return event; } if (event == XMLStreamConstants.END_ELEMENT) { // Pop namespace context if (namespaceAware) namespaces.removeFirst(); // Pop base context if (ba...
44,804
private void normalize() { StringBuffer acc = new StringBuffer(); int len = buf.length(); int avState = 0; for (int i = 0; i < len; i++) { char c = buf.charAt(i); if (c == ' ') avState = (avState == 0) ? 0 : 1; else { if (avState == 1) a...
private StringBuffer normalize(StringBuffer buf) { StringBuffer acc = new StringBuffer(); int len = buf.length(); int avState = 0; for (int i = 0; i < len; i++) { char c = buf.charAt(i); if (c == ' ') avState = (avState == 0) ? 0 : 1; else { if (avSt...
44,806
private void normalize() { StringBuffer acc = new StringBuffer(); int len = buf.length(); int avState = 0; for (int i = 0; i < len; i++) { char c = buf.charAt(i); if (c == ' ') avState = (avState == 0) ? 0 : 1; else { if (avState == 1) a...
private void normalize() { StringBuffer acc = new StringBuffer(); int len = buf.length(); int avState = 0; for (int i = 0; i < len; i++) { char c = buf.charAt(i); if (c == ' ') avState = (avState == 0) ? 0 : 1; else { if (avState == 1) a...
44,807
private void normalizeCRLF() { int len = buf.length() - 1; for (int i = 0; i < len; i++) { char c = buf.charAt(i); if (c == '\r' && buf.charAt(i + 1) == '\n') { buf.deleteCharAt(i--); len--; } } }
private void normalizeCRLF(StringBuffer buf) { int len = buf.length() - 1; for (int i = 0; i < len; i++) { char c = buf.charAt(i); if (c == '\r' && buf.charAt(i + 1) == '\n') { buf.deleteCharAt(i--); len--; } } }
44,808
private void parsePEReference() throws IOException, XMLStreamException { String name = readNmtoken(true); require(';'); if (doctype != null) { Object entity = doctype.entities.get("%" + name); if (entity != null) { if (entity instanceof String) pushInpu...
private void parsePEReference() throws IOException, XMLStreamException { String name = readNmtoken(true); require(';'); if (doctype != null) { String entityName = "%" + name; Object entity = doctype.getEntity(entityName); if (entity != null) { if (entity instanceof ...
44,809
private void parsePEReference() throws IOException, XMLStreamException { String name = readNmtoken(true); require(';'); if (doctype != null) { Object entity = doctype.entities.get("%" + name); if (entity != null) { if (entity instanceof String) pushInpu...
private void parsePEReference() throws IOException, XMLStreamException { String name = readNmtoken(true); require(';'); if (doctype != null) { Object entity = doctype.entities.get("%" + name); if (entity != null) { if (entity instanceof String) pushInpu...
44,810
private void popInput() { Input old = (Input) inputStack.removeLast(); if (startEntityStack.contains(old.name)) endEntityStack.addFirst(old.name); input = (Input) inputStack.getLast(); //System.out.print("\n(-input:"+input.systemId+")"); //System.out.println("popInput "+old.name); }
private void popInput() { Input old = (Input) inputStack.removeLast(); if (!"".equals(old.name)) endEntityStack.addFirst(old.name); input = (Input) inputStack.getLast(); //System.out.print("\n(-input:"+input.systemId+")"); //System.out.println("popInput "+old.name); }
44,812
private void readAttribute(String elementName) throws IOException, XMLStreamException { //System.err.println("readAttribute"); // Read attribute name String attributeName = readNmtoken(true); String type = getAttributeType(elementName, attributeName); readEq(); // Read literal final int flags...
private void readAttribute(String elementName) throws IOException, XMLStreamException { //System.err.println("readAttribute"); // Read attribute name String attributeName = readNmtoken(true); String type = getAttributeType(elementName, attributeName); readEq(); // Read literal final int flags...
44,814
private void readAttribute(String elementName) throws IOException, XMLStreamException { //System.err.println("readAttribute"); // Read attribute name String attributeName = readNmtoken(true); String type = getAttributeType(elementName, attributeName); readEq(); // Read literal final int flags...
private void readAttribute(String elementName) throws IOException, XMLStreamException { //System.err.println("readAttribute"); // Read attribute name String attributeName = readNmtoken(true); String type = getAttributeType(elementName, attributeName); readEq(); // Read literal final int flags...
44,815
private void readAttribute(String elementName) throws IOException, XMLStreamException { //System.err.println("readAttribute"); // Read attribute name String attributeName = readNmtoken(true); String type = getAttributeType(elementName, attributeName); readEq(); // Read literal final int flags...
private void readAttribute(String elementName) throws IOException, XMLStreamException { //System.err.println("readAttribute"); // Read attribute name String attributeName = readNmtoken(true); String type = getAttributeType(elementName, attributeName); readEq(); // Read literal final int flags...
44,816
private char readCh() throws IOException, XMLStreamException { int c = read(); /*if (c == -1) { if (inputStack.size() > 1) { popInput(); return readCh(); } return (char) -1; }*/ char ret = (char) c; if (expandPE && c == '%') { ...
private char readCh() throws IOException, XMLStreamException { int c = read(); /*if (c == -1) { if (inputStack.size() > 1) { popInput(); return readCh(); } return (char) -1; }*/ char ret = (char) c; if (expandPE && c == '%') { ...
44,818
private char readCh() throws IOException, XMLStreamException { int c = read(); /*if (c == -1) { if (inputStack.size() > 1) { popInput(); return readCh(); } return (char) -1; }*/ char ret = (char) c; if (expandPE && c == '%') { ...
private char readCh() throws IOException, XMLStreamException { int c = read(); /*if (c == -1) { if (inputStack.size() > 1) { popInput(); return readCh(); } return (char) -1; }*/ char ret = (char) c; if (expandPE && c == '%') { ...
44,819
private int readCharData(String prefix) throws IOException, XMLStreamException { boolean white = true; buf.setLength(0); if (prefix != null) buf.append(prefix); boolean done = false; boolean entities = false; //System.out.println("readCharData input="+input.name+" line="+input.line+" col="+...
private int readCharData(String prefix) throws IOException, XMLStreamException { boolean white = true; buf.setLength(0); if (prefix != null) buf.append(prefix); boolean done = false; boolean entities = false; //System.out.println("readCharData input="+input.name+" line="+input.line+" col="+...
44,820
private int readCharData(String prefix) throws IOException, XMLStreamException { boolean white = true; buf.setLength(0); if (prefix != null) buf.append(prefix); boolean done = false; boolean entities = false; //System.out.println("readCharData input="+input.name+" line="+input.line+" col="+...
private int readCharData(String prefix) throws IOException, XMLStreamException { boolean white = true; buf.setLength(0); if (prefix != null) buf.append(prefix); boolean done = false; boolean entities = false; //System.out.println("readCharData input="+input.name+" line="+input.line+" col="+...
44,821
private char[] readCharacterRef(int base) throws IOException, XMLStreamException { StringBuffer b = new StringBuffer(); for (char c = readCh(); c != ';'; c = readCh()) b.append(c); try { int ord = Integer.parseInt(b.toString(), base); if ((ord < 0x20 && !(ord == 0x0a || ord == 0x0...
private char[] readCharacterRef(int base) throws IOException, XMLStreamException { StringBuffer b = new StringBuffer(); for (char c = readCh(); c != ';' && c != '\uffff'; c = readCh()) b.append(c); try { int ord = Integer.parseInt(b.toString(), base); if ((ord < 0x20 && !(ord == 0...
44,822