bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public DocumentEvent.ElementChange getChange(Element elem) { return null; }
public DocumentEvent.ElementChange getChange(Element elem) { return (ElementChange) changes.get(elem); }
31,397
public Element getElement();
Element getElement();
31,398
public void undoableEditHappened(UndoableEditEvent event);
void undoableEditHappened(UndoableEditEvent event);
31,399
public String toString() { return "LookAndFeel"; }
public String toString() { return getDescription() + " " + getClass().getName(); }
31,400
protected void doTransactionCommit(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsGui...
protected void doTransactionCommit(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { pm.setSqlProperties(this.getConfigTablesForGUID()); } ...
31,402
protected void doTransactionRollback(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsG...
protected void doTransactionRollback(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { pm.setSqlProperties(this.getConfigTablesForGUID()); } ...
31,403
SimpleConnectionEndpoint() { closed = false; }
SimpleConnectionEndpoint(ConnectionManager cm, String jvmId, String sessionID) { closed = false; }
31,404
public void close() throws JMSException { closed = true; }
public void close() throws JMSException { cm.unregisterConnection(jvmId, sessionID); closed = true; }
31,406
public void testWorkflowExpressionQuery() throws Exception { List workflows; WorkflowExpressionQuery query; String workflowName = getWorkflowName(); assertTrue("canInitialize for workflow " + workflowName + " is false", workflow.canInitialize(workflowName, 100)); //---------------...
public void testWorkflowExpressionQuery() throws Exception { List workflows; WorkflowExpressionQuery query; String workflowName = getWorkflowName(); assertTrue("canInitialize for workflow " + workflowName + " is false", workflow.canInitialize(workflowName, 100)); //---------------...
31,407
public void testWorkflowExpressionQuery() throws Exception { List workflows; WorkflowExpressionQuery query; String workflowName = getWorkflowName(); assertTrue("canInitialize for workflow " + workflowName + " is false", workflow.canInitialize(workflowName, 100)); //---------------...
public void testWorkflowExpressionQuery() throws Exception { List workflows; WorkflowExpressionQuery query; String workflowName = getWorkflowName(); assertTrue("canInitialize for workflow " + workflowName + " is false", workflow.canInitialize(workflowName, 100)); //---------------...
31,408
private void init(Element split) { try { setId(Integer.parseInt(split.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid split id value " + split.getAttribute("id")); } NodeList uResults = split.getElementsByTagName("unconditi...
private void init(Element split) { try { setId(Integer.parseInt(split.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid split id value " + split.getAttribute("id")); } List uResults = XMLUtil.getChildElements(split, "uncondit...
31,409
private void init(Element split) { try { setId(Integer.parseInt(split.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid split id value " + split.getAttribute("id")); } NodeList uResults = split.getElementsByTagName("unconditi...
private void init(Element split) { try { setId(Integer.parseInt(split.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid split id value " + split.getAttribute("id")); } NodeList uResults = split.getElementsByTagName("unconditi...
31,410
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; FormLayout layout = new FormLayout("2dlu, 50dlu:grow, 2dlu", "2dlu, pref, 2dlu"); PanelBuilder builder = new PanelBuilder(this, lay...
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; FormLayout layout = new FormLayout("2dlu, 50dlu:grow, 2dlu", "2dlu, pref, 2dlu"); PanelBuilder builder = new PanelBuilder(this, lay...
31,411
public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); //if (!ServerManagement.isRemote()) tm = Tx...
public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); //if (!ServerManagement.isRemote()) tm = Tx...
31,412
public void objectChanged(NamingEvent evt);
void objectChanged(NamingEvent evt);
31,414
public MessageDelegate(JBossMessage message) { this.message = message; this.state = STATE_NEW; }
public MessageDelegate(JBossMessage message, int deliveryCount) { this.message = message; this.state = STATE_NEW; }
31,415
public boolean getJMSRedelivered() throws JMSException { return message.getJMSRedelivered(); }
public boolean getJMSRedelivered() throws JMSException { return jmsRedelivered; }
31,418
public void setJMSRedelivered(boolean redelivered) throws JMSException { headerChange(); message.setJMSRedelivered(redelivered); }
public void setJMSRedelivered(boolean redelivered) throws JMSException { headerChange(); message.setJMSRedelivered(redelivered); }
31,419
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
31,421
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
31,422
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
31,423
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
31,424
public StringBuffer format (long number, StringBuffer dest, FieldPosition fieldPos) { // If using exponential notation, we just format as a double. if (useExponentialNotation) return format ((double) number, dest, fieldPos); boolean is_neg = number < 0; if (is_neg) { if (negativePrefix != ...
public StringBuffer format (double number, StringBuffer dest, FieldPosition fieldPos) { // If using exponential notation, we just format as a double. if (useExponentialNotation) return format ((double) number, dest, fieldPos); boolean is_neg = number < 0; if (is_neg) { if (negativePrefix !...
31,426
public StringBuffer format (long number, StringBuffer dest, FieldPosition fieldPos) { // If using exponential notation, we just format as a double. if (useExponentialNotation) return format ((double) number, dest, fieldPos); boolean is_neg = number < 0; if (is_neg) { if (negativePrefix != ...
public StringBuffer format (long number, StringBuffer dest, FieldPosition fieldPos) { // If using exponential notation, we just format as a double. if (useExponentialNotation) return format ((double) number, dest, fieldPos); boolean is_neg = number < 0; if (is_neg) { if (negativePrefix != ...
31,427
public DecimalFormatSymbols (Locale loc) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res = null; } setCurrency(Currency.getInstance(loc)); decimalSe...
public DecimalFormatSymbols () { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res = null; } setCurrency(Currency.getInstance(loc)); decimalSeparator = ...
31,429
public DecimalFormatSymbols (Locale loc) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res = null; } setCurrency(Currency.getInstance(loc)); decimalSe...
public DecimalFormatSymbols (Locale loc) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res = null; } setCurrency(Currency.getInstance(loc)); decimalSe...
31,430
public void setCurrency (Currency currency) { this.currency = currency; intlCurrencySymbol = currency.getCurrencyCode(); currencySymbol = currency.getSymbol(); }
public void setCurrency (Currency currency) { intlCurrencySymbol = currency.getCurrencyCode(); currencySymbol = currency.getSymbol(); }
31,431
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ...
protected Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ...
31,433
private Step getCurrentStep(WorkflowDescriptor wfDesc, int actionId, List currentSteps, Map transientVars, PropertySet ps) throws WorkflowException { if (currentSteps.size() == 1) { return (Step) currentSteps.get(0); } for (Iterator iterator = currentSteps.iterator(); iterator.hasNex...
protected Step getCurrentStep(WorkflowDescriptor wfDesc, int actionId, List currentSteps, Map transientVars, PropertySet ps) throws WorkflowException { if (currentSteps.size() == 1) { return (Step) currentSteps.get(0); } for (Iterator iterator = currentSteps.iterator(); iterator.hasN...
31,434
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } WorkflowDescriptor wf = getWorkflowDescriptorForAction(action); Map cache = (Map) stateCache.get(); ...
protected boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } WorkflowDescriptor wf = getWorkflowDescriptorForAction(action); Map cache = (Map) stateCache.get(); ...
31,435
protected void init(Element root) { NodeList attributs = root.getElementsByTagName("meta"); for (int i = 0; i < attributs.getLength(); i++) { Element meta = (Element) attributs.item(i); String value = XMLUtil.getText(meta); this.metaAttributes.put(meta.getAttribute("na...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < attributs.getLength(); i++) { Element meta = (Element) attributs.item(i); String value = XMLUtil.getText(meta); this.metaAttributes.put(meta.getAttribute("name"), value); ...
31,436
protected void init(Element root) { NodeList attributs = root.getElementsByTagName("meta"); for (int i = 0; i < attributs.getLength(); i++) { Element meta = (Element) attributs.item(i); String value = XMLUtil.getText(meta); this.metaAttributes.put(meta.getAttribute("na...
protected void init(Element root) { NodeList attributs = root.getElementsByTagName("meta"); for (int i = 0; i < attributs.getLength(); i++) { Element meta = (Element) attributs.item(i); String value = XMLUtil.getText(meta); this.metaAttributes.put(meta.getAttribute("na...
31,437
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(">"); if (permissions.size() > 0) { ...
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(">"); if (permissions.size() > 0) { ...
31,440
public void setRootModuleConf(String rootModuleConf) { if (_rootModuleConf != null) { _confsToFetch.clear(); // we change of root module conf => we discard all confs to fetch } if (rootModuleConf != null && rootModuleConf.equals(_rootModuleConf)) { _selected.put(new Module...
public void setRootModuleConf(String rootModuleConf) { if (_rootModuleConf != null && !_rootModuleConf.equals(rootModuleConf)) { _confsToFetch.clear(); // we change of root module conf => we discard all confs to fetch } if (rootModuleConf != null && rootModuleConf.equals(_rootModuleC...
31,441
private Configuration() { // We need to create our logger with a separate ConsoleHandler // because the regular one is initialized using the Configuration // class--unfortunately, this means we can't control the output // without recompiling. logger = Logger.getLogger( "plumbing.i...
private Configuration() { // We need to create our logger with a separate ConsoleHandler // because the regular one is initialized using the Configuration // class--unfortunately, this means we can't control the output // without recompiling. logger = Logger.getLogger( "plumbing.i...
31,442
private void loadDefaultProperties() { try { InputStream readStream = GeneralUtil.openStreamFromClasspath( SF_FILE_NAME ); if ( readStream == null ) { throw new XRRuntimeException( "No configuration files found in classpath using URL: " + SF_FILE_NAME ); } else...
private void loadDefaultProperties() { try { InputStream readStream = GeneralUtil.openStreamFromClasspath( SF_FILE_NAME ); if ( readStream == null ) { throw new XRRuntimeException( "No configuration files found in classpath using URL: " + SF_FILE_NAME ); } else...
31,443
private void loadOverrideProperties() { String override = System.getProperty( "xr-props" ); if ( override != null ) { logger.fine( "Configuration override file specified as " + override + ", looking for it." ); InputStream readStream = GeneralUtil.openStreamFromClasspath( overrid...
private void loadOverrideProperties() { String override = System.getProperty( "xr-props" ); if ( override != null ) { logger.fine( "Configuration override file specified as " + override + ", looking for it." ); InputStream readStream = GeneralUtil.openStreamFromClasspath( overrid...
31,444
private void loadOverrideProperties() { String override = System.getProperty( "xr-props" ); if ( override != null ) { logger.fine( "Configuration override file specified as " + override + ", looking for it." ); InputStream readStream = GeneralUtil.openStreamFromClasspath( overrid...
private void loadOverrideProperties() { String override = System.getProperty( "xr-props" ); if ( override != null ) { logger.fine( "Configuration override file specified as " + override + ", looking for it." ); InputStream readStream = GeneralUtil.openStreamFromClasspath( overrid...
31,445
private void loadOverrideProperties() { String override = System.getProperty( "xr-props" ); if ( override != null ) { logger.fine( "Configuration override file specified as " + override + ", looking for it." ); InputStream readStream = GeneralUtil.openStreamFromClasspath( overrid...
private void loadOverrideProperties() { String override = System.getProperty( "xr-props" ); if ( override != null ) { logger.fine( "Configuration override file specified as " + override + ", looking for it." ); InputStream readStream = GeneralUtil.openStreamFromClasspath( overrid...
31,446
private void loadSystemProperties() { Enumeration elem = properties.keys(); logger.fine( "Overriding loaded configuration from System properties." ); int cnt = 0; while ( elem.hasMoreElements() ) { String key = (String)elem.nextElement(); String val = System.getProp...
private void loadSystemProperties() { Enumeration elem = properties.keys(); fine( "Overriding loaded configuration from System properties." ); int cnt = 0; while ( elem.hasMoreElements() ) { String key = (String)elem.nextElement(); String val = System.getProperty( k...
31,448
private void loadSystemProperties() { Enumeration elem = properties.keys(); logger.fine( "Overriding loaded configuration from System properties." ); int cnt = 0; while ( elem.hasMoreElements() ) { String key = (String)elem.nextElement(); String val = System.getProp...
private void loadSystemProperties() { Enumeration elem = properties.keys(); logger.fine( "Overriding loaded configuration from System properties." ); int cnt = 0; while ( elem.hasMoreElements() ) { String key = (String)elem.nextElement(); String val = System.getProp...
31,449
private void loadSystemProperties() { Enumeration elem = properties.keys(); logger.fine( "Overriding loaded configuration from System properties." ); int cnt = 0; while ( elem.hasMoreElements() ) { String key = (String)elem.nextElement(); String val = System.getProp...
private void loadSystemProperties() { Enumeration elem = properties.keys(); logger.fine( "Overriding loaded configuration from System properties." ); int cnt = 0; while ( elem.hasMoreElements() ) { String key = (String)elem.nextElement(); String val = System.getProp...
31,450
private void logAfterLoad() { Enumeration elem = properties.keys(); logger.finer( "Configuration contains " + properties.size() + " keys." ); logger.finer( "List of configuration properties, after override:" ); while ( elem.hasMoreElements() ) { String key = (String)elem.nextE...
private void logAfterLoad() { Enumeration elem = properties.keys(); logger.finer( "Configuration contains " + properties.size() + " keys." ); logger.finer( "List of configuration properties, after override:" ); while ( elem.hasMoreElements() ) { String key = (String)elem.nextE...
31,451
private void logAfterLoad() { Enumeration elem = properties.keys(); logger.finer( "Configuration contains " + properties.size() + " keys." ); logger.finer( "List of configuration properties, after override:" ); while ( elem.hasMoreElements() ) { String key = (String)elem.nextE...
private void logAfterLoad() { Enumeration elem = properties.keys(); logger.finer( "Configuration contains " + properties.size() + " keys." ); logger.finer( "List of configuration properties, after override:" ); while ( elem.hasMoreElements() ) { String key = (String)elem.nextE...
31,452
private void logAfterLoad() { Enumeration elem = properties.keys(); logger.finer( "Configuration contains " + properties.size() + " keys." ); logger.finer( "List of configuration properties, after override:" ); while ( elem.hasMoreElements() ) { String key = (String)elem.nextE...
private void logAfterLoad() { Enumeration elem = properties.keys(); logger.finer( "Configuration contains " + properties.size() + " keys." ); logger.finer( "List of configuration properties, after override:" ); while ( elem.hasMoreElements() ) { String key = (String)elem.nextE...
31,453
public static String valueFor( String key ) { Configuration conf = instance(); String val = conf.properties.getProperty( key ); if ( val == null ) { conf.logger.warning( "CONFIGURATION: no value found for key " + key ); } return val; }
public static String valueFor( String key ) { Configuration conf = instance(); String val = conf.properties.getProperty( key ); if ( val == null ) { conf.warning( "CONFIGURATION: no value found for key " + key ); } return val; }
31,454
public InputStream getInputStream(ZipEntry entry) throws IOException { checkClosed(); HashMap entries = getEntries(); String name = entry.getName(); ZipEntry zipEntry = (ZipEntry) entries.get(name); if (zipEntry == null) return null; PartialInputStream inp = new PartialInputStream(raf, 1024); inp.s...
public InputStream getInputStream(ZipEntry entry) throws IOException { checkClosed(); HashMap entries = getEntries(); String name = entry.getName(); ZipEntry zipEntry = (ZipEntry) entries.get(name); if (zipEntry == null) return null; PartialInputStream inp = new PartialInputStream(raf, 1024); inp.s...
31,455
public final void readFully (byte[] buffer, int offset, int count) throws IOException { in.readFully (buffer, offset, count); }
public final void readFully (byte[] buffer, int offset, int count) throws IOException { in.readFully (buffer, offset, count); }
31,456
public final void readFully (byte[] buffer, int offset, int count) throws IOException { in.readFully (buffer, offset, count); }
public final void readFully (byte[] buffer, int offset, int count) throws IOException { in.readFully(buffer); }
31,457
public RandomAccessFile (String fileName, String mode) throws FileNotFoundException { this (new File(fileName), mode); }
public RandomAccessFile (String fileName, String mode) throws FileNotFoundException { int fdmode; if (mode.equals("r")) fdmode = FileChannelImpl.READ; else if (mode.equals("rw")) fdmode = FileChannelImpl.READ | FileChannelImpl.WRITE; else if (mode.equals("rws")) { fdmode = (FileChannelImpl.READ | FileChannelIm...
31,458
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
31,459
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
31,460
public void validate() throws InvalidWorkflowDescriptorException { if ((commonActions.size() == 0) && (actions.size() == 0) && hasActions) { throw new InvalidWorkflowDescriptorException("Step '" + name + "' actions element must contain at least one action or common-action"); } if (ge...
public void validate() throws InvalidWorkflowDescriptorException { if (commonActions.size() == 0 && actions.size() == 0 && hasActions) { throw new InvalidWorkflowDescriptorException("Step '" + name + "' actions element must contain at least one action or common-action"); } if (getId(...
31,461
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=\"" + name + "\""); } out.println(">"); Iterator iter = metaAttributes.ent...
31,462
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=\"" + name + "\""); } out.println(">"); Iterator iter = metaAttributes...
31,463
public Box findBox(MouseEvent evt) { //Box box = panel.findElementBox(evt.getX(), evt.getY()); Box box = BoxFinder.findElementBox(panel.getRootBox(),evt.getX(),evt.getY(),null); if (box == null) return null; if (box instanceof LineBox) return null; return box; }
public Box findBox(MouseEvent evt) { //Box box = panel.findElementBox(evt.getX(), evt.getY()); Box box = BoxFinder.findElementBox2(panel.getRootBox(),evt.getX(),evt.getY(),null); if (box == null) return null; if (box instanceof LineBox) return null; return box; }
31,465
public Object getContent(Context c) { return ContentUtil.getInlineContentList(_elem, c); }
public List getContent(Context c) { return ContentUtil.getInlineContentList(_elem, c); }
31,466
public VmByteCode(VmMethod method, ByteBuffer bytecode, int noLocals, int maxStack, VmInterpretedExceptionHandler[] eTable, VmLineNumberMap lnTable, VmLocalVariableTable lvTable) { this.method = method; this.cp = method.getDeclaringClass().getCP(); if (Vm.isWritingImage()) { final byte[] buildBytec...
public VmByteCode(VmMethod method, ByteBuffer bytecode, int noLocals, int maxStack, VmInterpretedExceptionHandler[] eTable, VmLineNumberMap lnTable, VmLocalVariableTable lvTable) { this.method = method; this.cp = method.getDeclaringClass().getCP(); if (Vm.isWritingImage()) { final byte[] buildBytec...
31,467
public void testCleanLeave() throws Exception { try { // Start with a 3 node cluster ServerManagement.start("all", 0); ServerManagement.start("all", 1); ServerManagement.start("all", 2); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals...
public void testCleanLeave() throws Exception { try { // Start with a 3 node cluster ServerManagement.start("all", 0); ServerManagement.start("all", 1); ServerManagement.start("all", 2); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals...
31,468
public void testCleanLeave() throws Exception { try { // Start with a 3 node cluster ServerManagement.start("all", 0); ServerManagement.start("all", 1); ServerManagement.start("all", 2); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals...
public void testCleanLeave() throws Exception { try { // Start with a 3 node cluster ServerManagement.start(0, "all"); ServerManagement.start("all", 1); ServerManagement.start("all", 2); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals...
31,469
public void testCleanLeave() throws Exception { try { // Start with a 3 node cluster ServerManagement.start("all", 0); ServerManagement.start("all", 1); ServerManagement.start("all", 2); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals...
public void testCleanLeave() throws Exception { try { // Start with a 3 node cluster ServerManagement.start("all", 0); ServerManagement.start("all", 1); ServerManagement.start(1, "all"); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals...
31,470
public void testDirtyLeaveOneNode() throws Exception { ClusterEventNotificationListener clusterEvent = new ClusterEventNotificationListener(); ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); try { // Start with a 2 node cluster ServerManag...
public void testDirtyLeaveOneNode() throws Exception { ClusterEventNotificationListener clusterEvent = new ClusterEventNotificationListener(); ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); try { // Start with a 2 node cluster ServerManag...
31,471
public void testDirtyLeaveTwoNodes() throws Exception { ClusterEventNotificationListener clusterEvent = new ClusterEventNotificationListener(); ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); try { // Start with a 3 node cluster ServerMana...
public void testDirtyLeaveTwoNodes() throws Exception { ClusterEventNotificationListener clusterEvent = new ClusterEventNotificationListener(); ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); try { // Start with a 3 node cluster ServerMana...
31,472
public void testJoinNotification() throws Exception { ClusterEventNotificationListener listener = new ClusterEventNotificationListener(); ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); try { ServerManagement.start("all", 0); log.info("Ser...
public void testJoinNotification() throws Exception { ClusterEventNotificationListener listener = new ClusterEventNotificationListener(); ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); try { ServerManagement.start(0, "all"); log.info("Ser...
31,473
public void testJoinNotification() throws Exception { ClusterEventNotificationListener listener = new ClusterEventNotificationListener(); ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); try { ServerManagement.start("all", 0); log.info("Ser...
public void testJoinNotification() throws Exception { ClusterEventNotificationListener listener = new ClusterEventNotificationListener(); ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); try { ServerManagement.start("all", 0); log.info("Ser...
31,474
public void testOneNodeCluster() throws Exception { try { ServerManagement.start("all", 0); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); } finally { ServerManagemen...
public void testOneNodeCluster() throws Exception { try { ServerManagement.start(0, "all"); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); } finally { ServerManagemen...
31,475
public void testSpawnServer() throws Exception { ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); ClusterEventNotificationListener clusterEvent = new ClusterEventNotificationListener(); try { // Start with a 1 node cluster ServerManagement....
public void testSpawnServer() throws Exception { ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); ClusterEventNotificationListener clusterEvent = new ClusterEventNotificationListener(); try { // Start with a 1 node cluster ServerManagement....
31,476
public void testSpawnServer() throws Exception { ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); ClusterEventNotificationListener clusterEvent = new ClusterEventNotificationListener(); try { // Start with a 1 node cluster ServerManagement....
public void testSpawnServer() throws Exception { ObjectName postOfficeObjectName = new ObjectName("jboss.messaging:service=PostOffice"); ClusterEventNotificationListener clusterEvent = new ClusterEventNotificationListener(); try { // Start with a 1 node cluster ServerManagement....
31,477
public void testThreeNodesCluster() throws Exception { try { ServerManagement.start("all", 0); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start("all", 1); ...
public void testThreeNodesCluster() throws Exception { try { ServerManagement.start(0, "all"); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start("all", 1); ...
31,478
public void testThreeNodesCluster() throws Exception { try { ServerManagement.start("all", 0); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start("all", 1); ...
public void testThreeNodesCluster() throws Exception { try { ServerManagement.start("all", 0); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start(1, "all"); ...
31,479
public void testThreeNodesCluster() throws Exception { try { ServerManagement.start("all", 0); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start("all", 1); ...
public void testThreeNodesCluster() throws Exception { try { ServerManagement.start("all", 0); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start("all", 1); ...
31,480
public void testTwoNodesCluster() throws Exception { try { ServerManagement.start("all", 0); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start("all", 1); ...
public void testTwoNodesCluster() throws Exception { try { ServerManagement.start(0, "all"); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start("all", 1); ...
31,481
public void testTwoNodesCluster() throws Exception { try { ServerManagement.start("all", 0); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start("all", 1); ...
public void testTwoNodesCluster() throws Exception { try { ServerManagement.start("all", 0); Set view = ServerManagement.getServer(0).getNodeIDView(); assertEquals(1, view.size()); assertTrue(view.contains(new Integer(0))); ServerManagement.start(1, "all"); ...
31,482
Mapper mapChild(Object e) { //Mapper childMapper = new Mapper(); java.util.List childAxes = new ArrayList(); java.util.HashMap pseudoSelectors = new java.util.HashMap(); java.util.List mappedSelectors = new java.util.LinkedList(); StringBuffer key = new Str...
Mapper mapChild(Object e) { //Mapper childMapper = new Mapper(); java.util.List childAxes = new ArrayList(); java.util.HashMap pseudoSelectors = new java.util.HashMap(); java.util.List mappedSelectors = new java.util.LinkedList(); StringBuffer key = new Str...
31,483
Mapper mapChild(Object e) { //Mapper childMapper = new Mapper(); java.util.List childAxes = new ArrayList(); java.util.HashMap pseudoSelectors = new java.util.HashMap(); java.util.List mappedSelectors = new java.util.LinkedList(); StringBuffer key = new Str...
Mapper mapChild(Object e) { //Mapper childMapper = new Mapper(); java.util.List childAxes = new ArrayList(); java.util.HashMap pseudoSelectors = new java.util.HashMap(); java.util.List mappedSelectors = new java.util.LinkedList(); StringBuffer key = new Str...
31,484
private static Toolkit createInstance() { try { ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); final TextConsole console = (TextConsole) conMgr .createConsole("charva", ConsoleManager.CreateOptions.TEXT); ...
private static Toolkit createInstance() { try { ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); final TextConsole console = (TextConsole) conMgr .createConsole("charva", ConsoleManager.CreateOptions.TEXT); ...
31,486
private static Toolkit createInstance() { try { ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); final TextConsole console = (TextConsole) conMgr .createConsole("charva", ConsoleManager.CreateOptions.TEXT); ...
private static Toolkit createInstance() { try { ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); final TextConsole console = (TextConsole) conMgr .createConsole("charva", ConsoleManager.CreateOptions.TEXT); ...
31,487
private static Toolkit createInstance() { try { ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); final TextConsole console = (TextConsole) conMgr .createConsole("charva", ConsoleManager.CreateOptions.TEXT); ...
private static Toolkit createInstance() { try { ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); final TextConsole console = (TextConsole) conMgr .createConsole("charva", ConsoleManager.CreateOptions.TEXT); ...
31,488
public void keyPressed(KeyboardEvent event) { if (event.isControlDown() && event.getKeyChar() == 'z') { System.err .println("got ctrl-z, unregistering Toolkit."); //maybe this will help to debug the finite-si...
public void keyPressed(KeyboardEvent event) { if (event.isControlDown() && event.getKeyChar() == 'z') { System.err .println("got ctrl-z, unregistering Toolkit."); //maybe this will help to debug the finite-si...
31,489
public static Toolkit getDefaultToolkit() { if (instance == null) { instance = createInstance(); } return instance; }
public static synchronized Toolkit getDefaultToolkit() { if (instance == null) { instance = createInstance(); } return instance; }
31,490
public void mouseMoved(MouseEvent evt) { Box box = panel.findBox(evt.getX(), evt.getY()); setCursor(box); }
public void mouseMoved(MouseEvent evt) { Box box = BoxFinder.findElementBox2(panel.getRootBox(),evt.getX(),evt.getY(),null); setCursor(box); }
31,491
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,492
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,493
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,494
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,495
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,496
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,497
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,498
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,499
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,500
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,501
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,502
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,503
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,504
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,505
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,506
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
protected void clusteredRoute(boolean persistentMessage) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "t...
31,507
protected void clusteredTransactionalRoute(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { //Start two offices office1 = createClusteredPostOffice("node1", "testgroup"); office2 ...
protected void clusteredTransactionalRoute(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { //Start two offices office1 = createClusteredPostOffice("node1", "testgroup"); office2 ...
31,508
protected ClusteredPostOffice createClusteredPostOffice(String nodeId, String groupName) throws Exception { RoutingPolicy routingPolicy = new FavourLocalRoutingPolicy(nodeId); RedistributionPolicy redistPolicy = new BasicRedistributionPolicy(nodeId); ClusteredPostOfficeImpl postOffice = ...
protected ClusteredPostOffice createClusteredPostOffice(String nodeId, String groupName) throws Exception { RoutingPolicy routingPolicy = new FavourLocalRoutingPolicy(nodeId); RedistributionPolicy redistPolicy = new BasicRedistributionPolicy(nodeId); ClusteredPostOfficeImpl postOffice = ...
31,509
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,510