bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public MessageReference getReference(Serializable messageID) { WeakReference ref = (WeakReference)messageRefs.get(messageID); MessageReference mref = ref == null ? null : (MessageReference)ref.get(); if (log.isTraceEnabled()) { log.trace("getting reference for message ID: " + messageID + " from memo... | public MessageReference getReference(Serializable messageID) { WeakReference ref = (WeakReference)messageRefs.get(messageID); MessageReference mref = ref == null ? null : (MessageReference)ref.get(); if (log.isTraceEnabled()) { log.trace("getting reference for message ID: " + messageID + " from memo... | 27,684 |
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti... | public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti... | 27,685 |
public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messageRefs.remove(ref... | public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messageRefs.remove(ref... | 27,686 |
public WeakMessageReference(Message m, InMemoryMessageStore ms) { this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms); for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); ) { String name = (String)i.next... | public WeakMessageReference() { this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms); for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); ) { String name = (String)i.next(); putHeader(name, m.getH... | 27,687 |
public WeakMessageReference(Message m, InMemoryMessageStore ms) { this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms); for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); ) { String name = (String)i.next... | public WeakMessageReference(Message m, InMemoryMessageStore ms) { this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms); for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); ) { String name = (String)i.next... | 27,688 |
public WorkflowGraph(GraphModel model, WorkflowDescriptor descriptor, Layout layout, boolean doAutoLayout) { super(model); getGraphLayoutCache().setFactory(new WorkflowCellViewFactory()); getGraphLayoutCache().setSelectsAllInsertedCells(false); ToolTipManager.sharedInstance().registerComponent(this); ... | public WorkflowGraph(GraphModel model, WorkflowDescriptor descriptor, Layout layout, boolean doAutoLayout) { super(model); getGraphLayoutCache().setFactory(new WorkflowCellViewFactory()); getGraphLayoutCache().setSelectsAllInsertedCells(false); ToolTipManager.sharedInstance().registerComponent(this); ... | 27,689 |
public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou... | public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = CellFactory.createStep((WorkflowDescriptor)descriptor.getParent(), descriptor, getWorkflowGraphModel(), null); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { ... | 27,690 |
public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou... | public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou... | 27,691 |
public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou... | public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou... | 27,692 |
public boolean hasMore() throws NamingException; | boolean hasMore() throws NamingException; | 27,693 |
public Object next() throws NamingException; | Object next() throws NamingException; | 27,694 |
public boolean isCaseIgnored(); | boolean isCaseIgnored(); | 27,695 |
public NamingEnumeration getAll(); | NamingEnumeration getAll(); | 27,696 |
public NamingEnumeration getIDs(); | NamingEnumeration getIDs(); | 27,697 |
public Attribute put(Attribute attr); | Attribute put(String attrID, Object val); | 27,698 |
public JBossObjectMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders... | public JBossObjectMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders... | 27,699 |
public JBossBytesMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ... | public JBossBytesMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ... | 27,700 |
public JBossStreamMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ... | public JBossStreamMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ... | 27,701 |
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM... | protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM... | 27,702 |
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM... | protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM... | 27,703 |
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM... | protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM... | 27,705 |
final void setApic(LocalAPIC apic) { this.apic = apic; } | final void setApic(LocalAPIC apic) { this.localAPIC = apic; } | 27,707 |
public String toString() { return "MP 1." + getSpecRevision() + ", ConfigTableAt 0x" + NumberUtils.hex(mem.getInt(0x04)); } | public String toString() { return "MP 1." + getSpecRevision() + ", config-type 0x" + NumberUtils.hex(getSystemConfigurationType(), 2) + ", IMCR " + (isIMCRPresent() ? "present" : "not present") + ", ConfigTableAt 0x" + NumberUtils.hex(mem.getInt(0x04)); } | 27,708 |
final void loadAndSetApicID() { if (this.apic != null) { setId(apic.getId()); } } | final void loadAndSetApicID() { if (this.apic != null) { setId(apic.getId()); } } | 27,709 |
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | 27,710 |
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | 27,711 |
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | 27,712 |
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | 27,713 |
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | 27,714 |
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | 27,715 |
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ... | 27,716 |
protected TextSyntax(String value, Locale locale) { if (value == null || locale == null) throw new NullPointerException("value and/or locale may not be null"); this.value = value; this.locale = locale; } | protected TextSyntax(String value, Locale locale) { if (value == null || locale == null) throw new NullPointerException("value and/or locale may not be null"); this.value = value; this.locale = locale; } | 27,717 |
protected TextSyntax(String value, Locale locale) { if (value == null || locale == null) throw new NullPointerException("value and/or locale may not be null"); this.value = value; this.locale = locale; } | protected TextSyntax(String value, Locale locale) { if (value == null || locale == null) throw new NullPointerException("value and/or locale may not be null"); this.value = value; this.locale = (locale == null ? Locale.getDefault() : locale); } | 27,718 |
public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createCoreMessage(0, false, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable s... | public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createCoreMessage(0, false, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable s... | 27,719 |
public void testNonRecoverableMessageStore_2() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(i... | public void testNonRecoverableMessageStore_2() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(i... | 27,720 |
public void testNonRecoverableMessageStore_4() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | public void testNonRecoverableMessageStore_4() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | 27,721 |
public void testNonRecoverableMessageStore_5() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | public void testNonRecoverableMessageStore_5() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | 27,722 |
public void testNonRecoverableMessageStore_6() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | public void testNonRecoverableMessageStore_6() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | 27,723 |
public void testNonRecoverableMessageStore_6() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | public void testNonRecoverableMessageStore_6() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | 27,724 |
public void testNonRecoverableMessageStore_6() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | public void testNonRecoverableMessageStore_6() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | 27,725 |
public void testNonRecoverableMessageStore_7() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | public void testNonRecoverableMessageStore_7() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | 27,726 |
public void testNonRecoverableMessageStore_7() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | public void testNonRecoverableMessageStore_7() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | 27,727 |
public void testNonRecoverableMessageStore_7() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | public void testNonRecoverableMessageStore_7() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ... | 27,728 |
public void testRecoverableMessageStore_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, false, 777l, 888l, (byte)9, headers, "payload"); // recoverable store, non-re... | public void testRecoverableMessageStore_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, false, 777l, 888l, (byte)9, headers, "payload"); // recoverable store, non-re... | 27,729 |
public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =... | public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =... | 27,730 |
public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // recoverable store, non-rel... | public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // recoverable store, non-rel... | 27,731 |
public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =... | public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =... | 27,732 |
public void testRecoverableMessageStore_6() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_6() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,733 |
public void testRecoverableMessageStore_6() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_6() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,734 |
public void testRecoverableMessageStore_6() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_6() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,735 |
public void testRecoverableMessageStore_6() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_6() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,736 |
public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,737 |
public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,738 |
public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,739 |
public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,740 |
public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,741 |
public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,742 |
public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | public void testRecoverableMessageStore_7() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory. createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload"); // non-recoverable store, non... | 27,743 |
public Box layoutChildren(Context c, Box box) { //Uu.p("starting to lay out the children"); /* resolved by ContentUtil if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; }*/ List contentList = box.content.getChildContent(c); if (contentList.size() == 0) ret... | public Box layoutChildren(Context c, Box box) { //Uu.p("starting to lay out the children"); /* resolved by ContentUtil if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; }*/ List contentList = box.content.getChildContent(c); if (contentList.size() == 0) ret... | 27,744 |
public void execute(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String language = (String) args.get(AbstractWorkflow.BSF_LANGUAGE); String source = (String) args.get(AbstractWorkflow.BSF_SOURCE); int row = TextUtils.parseInt((String) args.get(AbstractWorkflow.BSF_ROW... | public void execute(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String language = (String) args.get(AbstractWorkflow.BSF_LANGUAGE); String source = (String) args.get(AbstractWorkflow.BSF_SOURCE); int row = TextUtils.parseInt((String) args.get(AbstractWorkflow.BSF_ROW... | 27,745 |
Label(String text, int alignment){ setAlignment (alignment); setText (text); if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | Label(){ setAlignment (alignment); setText (text); if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | 27,746 |
Label(String text, int alignment){ setAlignment (alignment); setText (text); if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | Label(String text, int alignment){ setAlignment (alignment); setText (text); if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | 27,747 |
public String get(int i); | String get(int i); | 27,748 |
protected void damage(Rectangle r) { if (r == null) return; x = r.x; y = r.y; width = 1; // height is normally set in paint and we leave it untouched. However, we // must set a valid value here, since otherwise the painting mechanism // sets a zero clip and never calls paint. if (height ... | protected void damage(Rectangle r) { if (r == null) return; x = r.x; y = r.y; width = 1; // height is normally set in paint and we leave it untouched. However, we // must set a valid value here, since otherwise the painting mechanism // sets a zero clip and never calls paint. if (height ... | 27,749 |
public void mouseClicked(MouseEvent event) { int count = event.getClickCount(); if (event.getButton() == MouseEvent.BUTTON1 && count >= 2) { int newDot = getComponent().viewToModel(event.getPoint()); JTextComponent t = getComponent(); try { if (count == 3) ... | public void mouseClicked(MouseEvent event) { int count = event.getClickCount(); if (event.getButton() == MouseEvent.BUTTON1 && count >= 2) { int newDot = getComponent().viewToModel(event.getPoint()); JTextComponent t = getComponent(); try { if (count == 3) ... | 27,750 |
public void mouseClicked(MouseEvent event) { int count = event.getClickCount(); if (event.getButton() == MouseEvent.BUTTON1 && count >= 2) { int newDot = getComponent().viewToModel(event.getPoint()); JTextComponent t = getComponent(); try { if (count == 3) ... | public void mouseClicked(MouseEvent event) { int count = event.getClickCount(); if (event.getButton() == MouseEvent.BUTTON1 && count >= 2) { int newDot = getComponent().viewToModel(event.getPoint()); JTextComponent t = getComponent(); try { if (count == 3) ... | 27,751 |
public void mouseClicked(MouseEvent event) { int count = event.getClickCount(); if (event.getButton() == MouseEvent.BUTTON1 && count >= 2) { int newDot = getComponent().viewToModel(event.getPoint()); JTextComponent t = getComponent(); try { if (count == 3) ... | public void mouseClicked(MouseEvent event) { int count = event.getClickCount(); if (event.getButton() == MouseEvent.BUTTON1 && count >= 2) { int newDot = getComponent().viewToModel(event.getPoint()); JTextComponent t = getComponent(); try { if (count == 3) ... | 27,752 |
public void moveDot(int dot) { if (dot >= 0) { Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); handleHighlight(); appear(); adjustVisibility(this); } } | public void moveDot(int dot) { if (dot >= 0) { Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); handleHighlight(); appear(); adjustVisibility(this); } } | 27,754 |
public void paint(Graphics g) { JTextComponent comp = getComponent(); if (comp == null) return; // Make sure the dot has a sane position. dot = Math.min(dot, textComponent.getDocument().getLength()); dot = Math.max(dot, 0); Rectangle rect = null; try { rect = textComponent.modelToView(... | public void paint(Graphics g) { JTextComponent comp = getComponent(); if (comp == null) return; // Make sure the dot has a sane position. dot = Math.min(dot, textComponent.getDocument().getLength()); dot = Math.max(dot, 0); Rectangle rect = null; try { rect = textComponent.modelToView(... | 27,755 |
public void setDot(int dot) { if (dot >= 0) { Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); this.mark = this.dot; clearHighlight(); appear(); adjustVis... | public void setDot(int dot) { if (dot >= 0) { Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); this.mark = this.dot; clearHighlight(); appear(); adjustVis... | 27,756 |
public int getLength(); | int getLength(); | 27,757 |
public Document getDocument(); | Document getDocument(); | 27,758 |
boolean isRunning() { return running; } | public boolean isRunning() { return running; } | 27,759 |
public JMSWireFormat() { serializableMarshaller = new SerializableMarshaller(); serializableUnMarshaller = new SerializableUnMarshaller(); trace = log.isTraceEnabled(); } | public JMSWireFormat() { serializableMarshaller = new SerializableMarshaller(); serializableUnMarshaller = new SerializableUnMarshaller(); trace = log.isTraceEnabled(); } | 27,760 |
void registerConnection(String remotingClientSessionID, ServerConnectionEndpoint endpoint); | void registerConnection(String jmsClientId, String remotingClientSessionID, ServerConnectionEndpoint endpoint); | 27,761 |
public static BufferedImage renderToImage(String url, int width, int height) throws Exception { Graphics2DRenderer g2r = new Graphics2DRenderer(); g2r.setDocument(url); Dimension dim = new Dimension(width, height); BufferedImage buff = new BufferedImage((int) dim.getWidth(), (... | public static BufferedImage renderToImage(String url, int width, int height) throws Exception { Graphics2DRenderer g2r = new Graphics2DRenderer(); g2r.setDocument(url); Dimension dim = new Dimension(width, height); BufferedImage buff = new BufferedImage((int) dim.getWidth(), (... | 27,762 |
public void paintComponent(Graphics g) { if (anti_aliased) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if (doc == null) { return; } //Uu.p("paint component () cal... | public void paintComponent(Graphics g) { if (anti_aliased) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if (doc == null) { return; } //Uu.p("paint component () cal... | 27,763 |
public void paintComponent(Graphics g) { if (anti_aliased) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if (doc == null) { return; } //Uu.p("paint component () cal... | public void paintComponent(Graphics g) { if (anti_aliased) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if (doc == null) { return; } //Uu.p("paint component () cal... | 27,764 |
public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | 27,765 |
public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | 27,766 |
public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | 27,767 |
public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | 27,768 |
public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | public static void layoutContent(LayoutContext c, BlockBox box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); ... | 27,769 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ... | 27,770 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ... | 27,771 |
public void testCreateGetRemoveDurableSubscription() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); String selector = new GUID().toString(); ServerManagement.deployTopic(topicName); ... | public void testCreateGetRemoveDurableSubscription() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); String selector = "color = 'red'"; ServerManagement.deployTopic(topicName); CoreD... | 27,772 |
public void testCreateGetRemoveDurableSubscription() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); String selector = new GUID().toString(); ServerManagement.deployTopic(topicName); ... | public void testCreateGetRemoveDurableSubscription() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); String selector = new GUID().toString(); ServerManagement.deployTopic(topicName); ... | 27,773 |
public void testCreateGetRemoveDurableSubscription() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); String selector = new GUID().toString(); ServerManagement.deployTopic(topicName); ... | public void testCreateGetRemoveDurableSubscription() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); String selector = new GUID().toString(); ServerManagement.deployTopic(topicName); ... | 27,774 |
public void testCreateGetRemoveDurableSubscriptionNullSelector() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); ServerManagement.deployTopic(topicName); CoreDurableSubscription sub = cha... | public void testCreateGetRemoveDurableSubscriptionNullSelector() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); ServerManagement.deployTopic(topicName); DurableSubscription sub = channel... | 27,775 |
public void testCreateGetRemoveDurableSubscriptionNullSelector() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); ServerManagement.deployTopic(topicName); CoreDurableSubscription sub = cha... | public void testCreateGetRemoveDurableSubscriptionNullSelector() throws Exception { String topicName = new GUID().toString(); String clientID = new GUID().toString(); String subscriptionName = new GUID().toString(); ServerManagement.deployTopic(topicName); CoreDurableSubscription sub = cha... | 27,776 |
public void testCallbackFailure() throws Exception { if (!ServerManagement.isRemote()) return; //We need to disable exception listener otherwise it will clear up the connection itself ObjectName connectorName = ServiceContainer.REMOTING_OBJECT_NAME; ConnectionManager cm = loca... | public void testCallbackFailure() throws Exception { if (!ServerManagement.isRemote()) return; //We need to disable exception listener otherwise it will clear up the connection itself ObjectName connectorName = ServiceContainer.REMOTING_OBJECT_NAME; ConnectionManager cm = loca... | 27,777 |
public CascadedStyle getPseudoElementStyle(Element e, String pseudoElement); | public CascadedStyle getPseudoElementStyle(Node node, String pseudoElement); | 27,778 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { int[] availableActions = getAvailableActions(id, inputs); boolean validAction = false; WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != Work... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { int[] availableActions = getAvailableActions(id, inputs); boolean validAction = false; WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != Work... | 27,779 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { int[] availableActions = getAvailableActions(id, inputs); boolean validAction = false; WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != Work... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { int[] availableActions = getAvailableActions(id, inputs); boolean validAction = false; WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != Work... | 27,780 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { int[] availableActions = getAvailableActions(id, inputs); boolean validAction = false; WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != Work... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { int[] availableActions = getAvailableActions(id, inputs); boolean validAction = false; WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != Work... | 27,781 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { int[] availableActions = getAvailableActions(id, inputs); boolean validAction = false; WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != Work... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { int[] availableActions = getAvailableActions(id, inputs); boolean validAction = false; WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != Work... | 27,782 |
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... | 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... | 27,783 |
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... | 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... | 27,784 |
private void transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // val... | private void transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // val... | 27,785 |
protected void ensureMessageInitialised() { if (!Message.isInitialised()) { Message.init(new AntMessageImpl(getProject())); } } | protected void ensureMessageInitialised() { if (!Message.isInitialised()) { Message.init(new AntMessageImpl(getProject())); } } | 27,786 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.