bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
final MPConfigTable getMPConfigTable() { return configTable; } | final MPConfigTable getMPConfigTable() { return configTable; } | 43,728 |
final void loadAndSetApicID() { if (this.apic != null) { setId(apic.getId()); } } | final void loadAndSetApicID() { if (this.apic != null) { setId(apic.getId()); } } | 43,729 |
static final void detectAndstartLogicalProcessors(ResourceManager rm) throws ResourceNotFreeException { final VmX86Processor cpu = (VmX86Processor) current(); if (cpu.logical) { return; } final X86CpuID cpuid = (X86CpuID) cpu.getCPUID(); if (!cpuid.hasFeature... | static final void detectAndstartLogicalProcessors(ResourceManager rm) throws ResourceNotFreeException { final VmX86Processor cpu = (VmX86Processor) current(); if (cpu.logical) { return; } final X86CpuID cpuid = (X86CpuID) cpu.getCPUID(); if (!cpuid.hasFeature... | 43,730 |
static final void detectAndstartLogicalProcessors(ResourceManager rm) throws ResourceNotFreeException { final VmX86Processor cpu = (VmX86Processor) current(); if (cpu.logical) { return; } final X86CpuID cpuid = (X86CpuID) cpu.getCPUID(); if (!cpuid.hasFeature... | static final void detectAndstartLogicalProcessors(ResourceManager rm) throws ResourceNotFreeException { final VmX86Processor cpu = (VmX86Processor) current(); if (cpu.logical) { return; } final X86CpuID cpuid = (X86CpuID) cpu.getCPUID(); if (!cpuid.hasFeature... | 43,731 |
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 " ... | 43,732 |
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 " ... | 43,733 |
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 " ... | 43,734 |
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 " ... | 43,735 |
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 " ... | 43,736 |
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 " ... | 43,737 |
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 " ... | 43,738 |
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; } | 43,739 |
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); } | 43,740 |
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... | 43,741 |
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... | 43,742 |
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; ... | 43,743 |
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; ... | 43,744 |
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; ... | 43,745 |
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; ... | 43,746 |
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; ... | 43,747 |
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; ... | 43,748 |
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; ... | 43,749 |
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; ... | 43,750 |
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... | 43,751 |
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 =... | 43,752 |
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... | 43,753 |
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 =... | 43,754 |
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... | 43,755 |
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... | 43,756 |
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... | 43,757 |
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... | 43,758 |
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... | 43,759 |
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... | 43,760 |
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... | 43,761 |
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... | 43,762 |
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... | 43,763 |
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... | 43,764 |
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... | 43,765 |
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... | 43,766 |
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... | 43,767 |
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 ();} | 43,768 |
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 ();} | 43,769 |
public Object addToEnvironment(String propName, Object propVal) throws NamingException { return myProps.put(propName, propVal); } | public Object addToEnvironment(String propName, Object propVal) throws NamingException { return myProps.put(propName, propVal); } | 43,770 |
public Name composeName(Name name, Name prefix) throws NamingException { return getURLOrDefaultInitCtx(name).composeName(name, prefix); } | public Name composeName(Name name, Name prefix) throws NamingException { return getURLOrDefaultInitCtx(name).composeName(name, prefix); } | 43,771 |
public void destroySubcontext(Name name) throws NamingException { getURLOrDefaultInitCtx(name).destroySubcontext(name); } | public void destroySubcontext(Name name) throws NamingException { getURLOrDefaultInitCtx(name).destroySubcontext(name); } | 43,772 |
public Hashtable getEnvironment() throws NamingException { return myProps; } | public Hashtable getEnvironment() throws NamingException { return myProps; } | 43,773 |
public String getNameInNamespace() throws NamingException { throw new OperationNotSupportedException(); } | public String getNameInNamespace() throws NamingException { throw new OperationNotSupportedException(); } | 43,774 |
public NameParser getNameParser(Name name) throws NamingException { return getURLOrDefaultInitCtx(name).getNameParser(name); } | public NameParser getNameParser(Name name) throws NamingException { return getURLOrDefaultInitCtx(name).getNameParser(name); } | 43,775 |
protected Context getURLOrDefaultInitCtx(Name name) throws NamingException { if (name.size() > 0) return getURLOrDefaultInitCtx(name.get(0)); else return getDefaultInitCtx(); } | protected Context getURLOrDefaultInitCtx(Name name) throws NamingException { if (name.size() > 0) return getURLOrDefaultInitCtx(name.get(0)); else return getDefaultInitCtx(); } | 43,776 |
public NamingEnumeration list(Name name) throws NamingException { return getURLOrDefaultInitCtx(name).list(name); } | public NamingEnumeration list(Name name) throws NamingException { return getURLOrDefaultInitCtx(name).list(name); } | 43,777 |
public NamingEnumeration listBindings(Name name) throws NamingException { return getURLOrDefaultInitCtx(name).listBindings(name); } | public NamingEnumeration listBindings(Name name) throws NamingException { return getURLOrDefaultInitCtx(name).listBindings(name); } | 43,778 |
public Object lookupLink(Name name) throws NamingException { return getURLOrDefaultInitCtx(name).lookupLink(name); } | public Object lookupLink(Name name) throws NamingException { return getURLOrDefaultInitCtx(name).lookupLink(name); } | 43,779 |
private static void merge(Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String)e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if ( key2.compareTo(colon_list[0]) == 0 || key2.compareTo(col... | private static void merge(Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String)e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if ( key2.compareTo(colon_list[0]) == 0 || key2.compareTo(col... | 43,780 |
public Object removeFromEnvironment(String propName) throws NamingException { return myProps.remove(propName); } | public Object removeFromEnvironment(String propName) throws NamingException { return myProps.remove(propName); } | 43,781 |
public void rename(Name oldName, Name newName) throws NamingException { getURLOrDefaultInitCtx(oldName).rename(oldName, newName); } | public void rename(Name oldName, Name newName) throws NamingException { getURLOrDefaultInitCtx(oldName).rename(oldName, newName); } | 43,782 |
public int size(); | public int size(); | 43,783 |
public String get(int i); | public String get(int i); | 43,784 |
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 ... | 43,785 |
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) ... | 43,786 |
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) ... | 43,787 |
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) ... | 43,788 |
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); } } | 43,790 |
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(... | 43,791 |
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... | 43,792 |
public int getLength(); | public int getLength(); | 43,793 |
public Document getDocument(); | public Document getDocument(); | 43,794 |
boolean isRunning() { return running; } | public boolean isRunning() { return running; } | 43,795 |
public JMSWireFormat() { serializableMarshaller = new SerializableMarshaller(); serializableUnMarshaller = new SerializableUnMarshaller(); trace = log.isTraceEnabled(); } | public JMSWireFormat() { serializableMarshaller = new SerializableMarshaller(); serializableUnMarshaller = new SerializableUnMarshaller(); trace = log.isTraceEnabled(); } | 43,796 |
void registerConnection(String remotingClientSessionID, ServerConnectionEndpoint endpoint); | void registerConnection(String remotingClientSessionID, ServerConnectionEndpoint endpoint); | 43,797 |
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(), (... | 43,798 |
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... | 43,799 |
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... | 43,800 |
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); ... | 43,801 |
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); ... | 43,802 |
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); ... | 43,803 |
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); ... | 43,804 |
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); ... | 43,805 |
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); ... | 43,806 |
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, ... | 43,807 |
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, ... | 43,808 |
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... | 43,809 |
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); ... | 43,810 |
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); ... | 43,811 |
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... | 43,812 |
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... | 43,813 |
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... | 43,814 |
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... | 43,815 |
public CascadedStyle getPseudoElementStyle(Element e, String pseudoElement); | public CascadedStyle getPseudoElementStyle(Element e, String pseudoElement); | 43,816 |
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... | 43,817 |
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... | 43,818 |
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... | 43,819 |
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... | 43,820 |
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... | 43,821 |
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... | 43,822 |
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... | 43,823 |
protected void ensureMessageInitialised() { if (!Message.isInitialised()) { Message.init(new AntMessageImpl(getProject())); } } | protected void ensureMessageInitialised() { if (!Message.isInitialised()) { Message.init(new AntMessageImpl(getProject())); } } | 43,824 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.info("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,827 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,828 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,829 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,830 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.