bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public JoinDescriptor(Element join) { init(join); } | public JoinDescriptor(Element join) { init(join); } | 28,472 |
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... | 28,473 |
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... | 28,474 |
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... | 28,475 |
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... | 28,476 |
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 ... | 28,477 |
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... | 28,479 |
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... | 28,480 |
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... | 28,481 |
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... | 28,482 |
public void setMarginTopOverride(float marginTopOverride) { _marginTopOverride = marginTopOverride; _marginTopOverrideSet = true; } | public void setMarginTopOverride(float marginTopOverride) { _marginTopOverride = marginTopOverride; _marginTopOverrideSet = true; } | 28,483 |
public void updateUI() { TextUI b = (TextUI)UIManager.getUI(this); setUI(b); } | public void updateUI() { TextUI b = (TextUI)UIManager.getUI(this); setUI(b); } | 28,484 |
public JCheckBox() { super(); init(); } | public JCheckBox() { super(); init(); } | 28,485 |
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"); } | 28,486 |
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(); } | 28,487 |
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... | 28,488 |
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... | 28,489 |
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... | 28,490 |
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... | 28,495 |
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... | 28,496 |
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('<')... | 28,497 |
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... | 28,498 |
public Location getLocation() { return this; } | public Location getLocation() { return input; } | 28,499 |
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... | 28,500 |
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 (baseA... | 28,501 |
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... | 28,502 |
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... | 28,503 |
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... | 28,505 |
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... | 28,506 |
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--; } } } | 28,507 |
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 ... | 28,508 |
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... | 28,509 |
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); } | 28,511 |
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... | 28,513 |
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... | 28,514 |
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... | 28,515 |
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 == '%') { ... | 28,517 |
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 == '%') { ... | 28,518 |
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="+... | 28,519 |
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="+... | 28,520 |
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... | 28,521 |
private void readContentspec(String elementName) throws IOException, XMLStreamException { if (tryRead("EMPTY")) doctype.elements.put(elementName, "EMPTY"); else if (tryRead("ANY")) doctype.elements.put(elementName, "ANY"); else { StringBuffer acc = new StringBuffer(); require... | private void readContentspec(String elementName) throws IOException, XMLStreamException { if (tryRead("EMPTY")) doctype.addElementDecl(elementName, "EMPTY"); else if (tryRead("ANY")) doctype.elements.put(elementName, "ANY"); else { StringBuffer acc = new StringBuffer(); requi... | 28,522 |
private void readContentspec(String elementName) throws IOException, XMLStreamException { if (tryRead("EMPTY")) doctype.elements.put(elementName, "EMPTY"); else if (tryRead("ANY")) doctype.elements.put(elementName, "ANY"); else { StringBuffer acc = new StringBuffer(); require... | private void readContentspec(String elementName) throws IOException, XMLStreamException { if (tryRead("EMPTY")) doctype.elements.put(elementName, "EMPTY"); else if (tryRead("ANY")) doctype.addElementDecl(elementName, "ANY"); else { StringBuffer acc = new StringBuffer(); requi... | 28,523 |
private void readContentspec(String elementName) throws IOException, XMLStreamException { if (tryRead("EMPTY")) doctype.elements.put(elementName, "EMPTY"); else if (tryRead("ANY")) doctype.elements.put(elementName, "ANY"); else { StringBuffer acc = new StringBuffer(); require... | private void readContentspec(String elementName) throws IOException, XMLStreamException { if (tryRead("EMPTY")) doctype.elements.put(elementName, "EMPTY"); else if (tryRead("ANY")) doctype.elements.put(elementName, "ANY"); else { StringBuffer acc = new StringBuffer(); require... | 28,524 |
private void readDefault(String elementName, String name, String type, String enumeration) throws IOException, XMLStreamException { int valueType = ATTRIBUTE_DEFAULT_SPECIFIED; int flags = LIT_ATTRIBUTE; String value = null, defaultType = null; boolean saved = expandPE; ... | private void readDefault(String elementName, String name, String type, String enumeration) throws IOException, XMLStreamException { int valueType = ATTRIBUTE_DEFAULT_SPECIFIED; int flags = LIT_ATTRIBUTE; String value = null, defaultType = null; boolean saved = expandPE; ... | 28,525 |
private void readDefault(String elementName, String name, String type, String enumeration) throws IOException, XMLStreamException { int valueType = ATTRIBUTE_DEFAULT_SPECIFIED; int flags = LIT_ATTRIBUTE; String value = null, defaultType = null; boolean saved = expandPE; ... | private void readDefault(String elementName, String name, String type, String enumeration) throws IOException, XMLStreamException { int valueType = ATTRIBUTE_DEFAULT_SPECIFIED; int flags = LIT_ATTRIBUTE; String value = null, defaultType = null; boolean saved = expandPE; ... | 28,526 |
private void readDoctypeDecl() throws IOException, XMLStreamException { if (!supportDTD) error("parser was configured not to support DTDs"); requireWhitespace(); String rootName = readNmtoken(true); skipWhitespace(); ExternalIds ids = readExternalIds(false, true); doctype = this.new Do... | private void readDoctypeDecl() throws IOException, XMLStreamException { if (!supportDTD) error("parser was configured not to support DTDs"); requireWhitespace(); String rootName = readNmtoken(true); skipWhitespace(); ExternalIds ids = readExternalIds(false, true); doctype = this.new Do... | 28,527 |
private void readDoctypeDecl() throws IOException, XMLStreamException { if (!supportDTD) error("parser was configured not to support DTDs"); requireWhitespace(); String rootName = readNmtoken(true); skipWhitespace(); ExternalIds ids = readExternalIds(false, true); doctype = this.new Do... | private void readDoctypeDecl() throws IOException, XMLStreamException { if (!supportDTD) error("parser was configured not to support DTDs"); requireWhitespace(); String rootName = readNmtoken(true); skipWhitespace(); ExternalIds ids = readExternalIds(false, true); doctype = this.new Do... | 28,528 |
private void readDoctypeDecl() throws IOException, XMLStreamException { if (!supportDTD) error("parser was configured not to support DTDs"); requireWhitespace(); String rootName = readNmtoken(true); skipWhitespace(); ExternalIds ids = readExternalIds(false, true); doctype = this.new Do... | private void readDoctypeDecl() throws IOException, XMLStreamException { if (!supportDTD) error("parser was configured not to support DTDs"); requireWhitespace(); String rootName = readNmtoken(true); skipWhitespace(); ExternalIds ids = readExternalIds(false, true); doctype = this.new Do... | 28,529 |
private void readEntityDecl() throws IOException, XMLStreamException { int flags = 0; // Check if parameter entity boolean peFlag = false; expandPE = false; requireWhitespace(); if (tryRead('%')) { peFlag = true; requireWhitespace(); } expandPE = true; // Read entit... | private void readEntityDecl(boolean inExternalSubset) throws IOException, XMLStreamException { int flags = 0; // Check if parameter entity boolean peFlag = false; expandPE = false; requireWhitespace(); if (tryRead('%')) { peFlag = true; requireWhitespace(); } expandPE ... | 28,530 |
private void readEntityDecl() throws IOException, XMLStreamException { int flags = 0; // Check if parameter entity boolean peFlag = false; expandPE = false; requireWhitespace(); if (tryRead('%')) { peFlag = true; requireWhitespace(); } expandPE = true; // Read entit... | private void readEntityDecl() throws IOException, XMLStreamException { int flags = 0; // Check if parameter entity boolean peFlag = false; expandPE = false; requireWhitespace(); if (tryRead('%')) { peFlag = true; requireWhitespace(); } expandPE = true; // Read entit... | 28,531 |
private void readEntityDecl() throws IOException, XMLStreamException { int flags = 0; // Check if parameter entity boolean peFlag = false; expandPE = false; requireWhitespace(); if (tryRead('%')) { peFlag = true; requireWhitespace(); } expandPE = true; // Read entit... | private void readEntityDecl() throws IOException, XMLStreamException { int flags = 0; // Check if parameter entity boolean peFlag = false; expandPE = false; requireWhitespace(); if (tryRead('%')) { peFlag = true; requireWhitespace(); } expandPE = true; // Read entit... | 28,532 |
private void readEntityDecl() throws IOException, XMLStreamException { int flags = 0; // Check if parameter entity boolean peFlag = false; expandPE = false; requireWhitespace(); if (tryRead('%')) { peFlag = true; requireWhitespace(); } expandPE = true; // Read entit... | private void readEntityDecl() throws IOException, XMLStreamException { int flags = 0; // Check if parameter entity boolean peFlag = false; expandPE = false; requireWhitespace(); if (tryRead('%')) { peFlag = true; requireWhitespace(); } expandPE = true; // Read entit... | 28,533 |
private ExternalIds readExternalIds(boolean inNotation, boolean isSubset) throws IOException, XMLStreamException { char c; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; ExternalIds ids = new ExternalIds(); if (tryRead("PUBLIC")) { requireWhitespace(); ids.pub... | private ExternalIds readExternalIds(boolean inNotation, boolean isSubset) throws IOException, XMLStreamException { char c; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; ExternalIds ids = new ExternalIds(); if (tryRead("PUBLIC")) { requireWhitespace(); ids.pub... | 28,534 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); literalBuf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = ... | 28,535 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | 28,536 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | 28,537 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | 28,538 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | 28,539 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | 28,540 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | 28,541 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | 28,542 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | 28,543 |
private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | private String readLiteral(int flags) throws IOException, XMLStreamException { boolean saved = expandPE; char delim = readCh(); if (delim != '\'' && delim != '"') error("expected '\"' or \"'\"", new Character(delim)); buf.setLength(0); if ((flags & LIT_DISABLE_PE) != 0) expandPE = false; ... | 28,544 |
private void readMarkupdecl() throws IOException, XMLStreamException { boolean saved = expandPE; mark(1); require('<'); reset(); expandPE = false; if (tryRead(TEST_ELEMENT_DECL)) { expandPE = saved; readElementDecl(); } else if (tryRead(TEST_ATTLIST_DECL)) { ... | private void readMarkupdecl(boolean inExternalSubset) throws IOException, XMLStreamException { boolean saved = expandPE; mark(1); require('<'); reset(); expandPE = false; if (tryRead(TEST_ELEMENT_DECL)) { expandPE = saved; readElementDecl(); } else if (tryRead(TEST_ATT... | 28,545 |
private void readMarkupdecl() throws IOException, XMLStreamException { boolean saved = expandPE; mark(1); require('<'); reset(); expandPE = false; if (tryRead(TEST_ELEMENT_DECL)) { expandPE = saved; readElementDecl(); } else if (tryRead(TEST_ATTLIST_DECL)) { ... | private void readMarkupdecl() throws IOException, XMLStreamException { boolean saved = expandPE; mark(1); require('<'); reset(); expandPE = false; if (tryRead(TEST_ELEMENT_DECL)) { expandPE = saved; readElementDecl(); } else if (tryRead(TEST_ATTLIST_DECL)) { ... | 28,546 |
private void readMarkupdecl() throws IOException, XMLStreamException { boolean saved = expandPE; mark(1); require('<'); reset(); expandPE = false; if (tryRead(TEST_ELEMENT_DECL)) { expandPE = saved; readElementDecl(); } else if (tryRead(TEST_ATTLIST_DECL)) { ... | private void readMarkupdecl() throws IOException, XMLStreamException { boolean saved = expandPE; mark(1); require('<'); reset(); expandPE = false; if (tryRead(TEST_ELEMENT_DECL)) { expandPE = saved; readElementDecl(); } else if (tryRead(TEST_ATTLIST_DECL)) { ... | 28,547 |
private void readMarkupdecl() throws IOException, XMLStreamException { boolean saved = expandPE; mark(1); require('<'); reset(); expandPE = false; if (tryRead(TEST_ELEMENT_DECL)) { expandPE = saved; readElementDecl(); } else if (tryRead(TEST_ATTLIST_DECL)) { ... | private void readMarkupdecl() throws IOException, XMLStreamException { boolean saved = expandPE; mark(1); require('<'); reset(); expandPE = false; if (tryRead(TEST_ELEMENT_DECL)) { expandPE = saved; readElementDecl(); } else if (tryRead(TEST_ATTLIST_DECL)) { ... | 28,548 |
private void readNotationDecl() throws IOException, XMLStreamException { requireWhitespace(); String notationName = readNmtoken(true); if (notationName.indexOf(':') != -1) error("Illegal character ':' in notation name", notationName); requireWhitespace(); ExternalIds ids = readExternalIds(true... | private void readNotationDecl(boolean inExternalSubset) throws IOException, XMLStreamException { requireWhitespace(); String notationName = readNmtoken(true); if (notationName.indexOf(':') != -1) error("Illegal character ':' in notation name", notationName); requireWhitespace(); ExternalIds id... | 28,550 |
private void readNotationDecl() throws IOException, XMLStreamException { requireWhitespace(); String notationName = readNmtoken(true); if (notationName.indexOf(':') != -1) error("Illegal character ':' in notation name", notationName); requireWhitespace(); ExternalIds ids = readExternalIds(true... | private void readNotationDecl() throws IOException, XMLStreamException { requireWhitespace(); String notationName = readNmtoken(true); if (notationName.indexOf(':') != -1) error("illegal character ':' in notation name", notationName); requireWhitespace(); ExternalIds ids = readExternalIds(true... | 28,551 |
private void readNotationDecl() throws IOException, XMLStreamException { requireWhitespace(); String notationName = readNmtoken(true); if (notationName.indexOf(':') != -1) error("Illegal character ':' in notation name", notationName); requireWhitespace(); ExternalIds ids = readExternalIds(true... | private void readNotationDecl() throws IOException, XMLStreamException { requireWhitespace(); String notationName = readNmtoken(true); if (notationName.indexOf(':') != -1) error("Illegal character ':' in notation name", notationName); requireWhitespace(); ExternalIds ids = readExternalIds(true... | 28,552 |
private void readPI() throws IOException, XMLStreamException { boolean saved = expandPE; expandPE = false; piTarget = readNmtoken(true); if (piTarget.indexOf(':') != -1) error("Illegal character in PI target", new Character(':')); if ("xml".equalsIgnoreCase(piTarget)) error("Illegal PI ta... | private void readPI() throws IOException, XMLStreamException { boolean saved = expandPE; expandPE = false; piTarget = readNmtoken(true); if (piTarget.indexOf(':') != -1) error("illegal character in PI target", new Character(':')); if ("xml".equalsIgnoreCase(piTarget)) error("Illegal PI ta... | 28,553 |
private void readPI() throws IOException, XMLStreamException { boolean saved = expandPE; expandPE = false; piTarget = readNmtoken(true); if (piTarget.indexOf(':') != -1) error("Illegal character in PI target", new Character(':')); if ("xml".equalsIgnoreCase(piTarget)) error("Illegal PI ta... | private void readPI() throws IOException, XMLStreamException { boolean saved = expandPE; expandPE = false; piTarget = readNmtoken(true); if (piTarget.indexOf(':') != -1) error("Illegal character in PI target", new Character(':')); if ("xml".equalsIgnoreCase(piTarget)) error("illegal PI ta... | 28,554 |
private int readStartElement() throws IOException, XMLStreamException { //System.err.println("readStartElement"); // Read element name String elementName = readNmtoken(true); attrs.clear(); // Push namespace context if (namespaceAware) namespaces.addFirst(new LinkedHashMap()); // Read el... | private int readStartElement() throws IOException, XMLStreamException { //System.err.println("readStartElement"); // Read element name String elementName = readNmtoken(true); attrs.clear(); // Push namespace context if (namespaceAware) namespaces.addFirst(new LinkedHashMap()); // Read el... | 28,555 |
private int readStartElement() throws IOException, XMLStreamException { //System.err.println("readStartElement"); // Read element name String elementName = readNmtoken(true); attrs.clear(); // Push namespace context if (namespaceAware) namespaces.addFirst(new LinkedHashMap()); // Read el... | private int readStartElement() throws IOException, XMLStreamException { //System.err.println("readStartElement"); // Read element name String elementName = readNmtoken(true); attrs.clear(); // Push namespace context if (namespaceAware) namespaces.addFirst(new LinkedHashMap()); // Read el... | 28,556 |
private int readStartElement() throws IOException, XMLStreamException { //System.err.println("readStartElement"); // Read element name String elementName = readNmtoken(true); attrs.clear(); // Push namespace context if (namespaceAware) namespaces.addFirst(new LinkedHashMap()); // Read el... | private int readStartElement() throws IOException, XMLStreamException { //System.err.println("readStartElement"); // Read element name String elementName = readNmtoken(true); attrs.clear(); // Push namespace context if (namespaceAware) namespaces.addFirst(new LinkedHashMap()); // Read el... | 28,557 |
private int readStartElement() throws IOException, XMLStreamException { //System.err.println("readStartElement"); // Read element name String elementName = readNmtoken(true); attrs.clear(); // Push namespace context if (namespaceAware) namespaces.addFirst(new LinkedHashMap()); // Read el... | private int readStartElement() throws IOException, XMLStreamException { //System.err.println("readStartElement"); // Read element name String elementName = readNmtoken(true); attrs.clear(); // Push namespace context if (namespaceAware) namespaces.addFirst(new LinkedHashMap()); // Read el... | 28,558 |
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset); BreakIterator breaker = Brea... | public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset, false); BreakIterator breaker... | 28,564 |
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset); BreakIterator breaker = Brea... | public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset); BreakIterator breaker = Brea... | 28,565 |
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset); BreakIterator breaker = Brea... | public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset); BreakIterator breaker = Brea... | 28,566 |
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset); BreakIterator breaker = Brea... | public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset); BreakIterator breaker = Brea... | 28,567 |
public static final int getNextWord(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs > (c.getText().length() - 1)) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.se... | public static final int getNextWord(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs > (c.getText().length() - 1)) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.se... | 28,568 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | 28,569 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | 28,570 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | 28,571 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | 28,572 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | 28,573 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | 28,574 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | 28,575 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | 28,576 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | 28,577 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | 28,578 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | 28,579 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | 28,580 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | 28,581 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | 28,582 |
public void addElement(Object object) { list.add(object); fireIntervalAdded(this, list.size() - 1, list.size() - 1); if (list.size() == 1) setSelectedItem(object); } | public void addElement(Object object) { list.add(object); fireIntervalAdded(this, list.size() - 1, list.size() - 1); if (list.size() == 1) setSelectedItem(object); } | 28,583 |
public void removeElementAt(int index) { int selected = getIndexOf(selectedItem); list.remove(index); if (selected == index) // choose a new selected item { if (selected > 0) selectedItem = getElementAt(selected - 1); else selectedItem = getElementAt(selected); } ... | public void removeElementAt(int index) { int selected = getIndexOf(selectedItem); if (selected == index) // choose a new selected item { if (selected > 0) selectedItem = getElementAt(selected - 1); else selectedItem = getElementAt(selected); } fireIntervalRemov... | 28,584 |
public void removeElementAt(int index) { int selected = getIndexOf(selectedItem); list.remove(index); if (selected == index) // choose a new selected item { if (selected > 0) selectedItem = getElementAt(selected - 1); else selectedItem = getElementAt(selected); } ... | public void removeElementAt(int index) { int selected = getIndexOf(selectedItem); list.remove(index); if (selected == index) // choose a new selected item { if (selected > 0) selectedItem = getElementAt(selected - 1); else selectedItem = getElementAt(selected + 1); ... | 28,585 |
public void actionPerformed(ActionEvent evt) { RenderingContext rc = root.panel.view.getRenderingContext(); rc.getTextRenderer().setFontScale(rc.getTextRenderer().getFontScale()*scale); u.p("new font scale = " + rc.getTextRenderer().getFontScale()); root.panel.view.relayout(); roo... | public void actionPerformed(ActionEvent evt) { RenderingContext rc = root.panel.view.getRenderingContext(); rc.getTextRenderer().setFontScale(rc.getTextRenderer().getFontScale()*scale); root.panel.view.relayout(); root.panel.view.repaint(); } | 28,587 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.