bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,948
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,949
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,950
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,951
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,952
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,953
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,954
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,955
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,956
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,957
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ...
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ...
30,958
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ...
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ...
30,959
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ...
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ...
30,960
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ...
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ...
30,961
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
30,962
protected void installComponents() { floatFrame = (Window) createFloatingWindow(toolBar); dragWindow = createDragWindow(toolBar); cachedBounds = toolBar.getPreferredSize(); cachedOrientation = toolBar.getOrientation(); nonRolloverBorder = createNonRolloverBorder(); rolloverBorder = createRolloverBo...
protected void installComponents() { floatFrame = (Window) createFloatingWindow(toolBar); dragWindow = createDragWindow(toolBar); cachedBounds = toolBar.getPreferredSize(); cachedOrientation = toolBar.getOrientation(); nonRolloverBorder = createNonRolloverBorder(); rolloverBorder = createRolloverBo...
30,964
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
30,966
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
30,967
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
30,968
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
30,969
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
30,970
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
30,971
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
30,972
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
30,973
private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { if (!si.appliesToMedia(media)) return count; Stylesheet ss = si.getStylesheet(); if (ss == null) { ss = _styleFactory.getStylesheet(si); si.setStylesheet(ss); } ...
private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { boolean applies = si.appliesToMedia(media); Stylesheet ss = si.getStylesheet(); if (ss == null) { ss = _styleFactory.getStylesheet(si); si.setStylesheet(ss); } ...
30,974
private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { if (!si.appliesToMedia(media)) return count; Stylesheet ss = si.getStylesheet(); if (ss == null) { ss = _styleFactory.getStylesheet(si); si.setStylesheet(ss); } ...
private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { if (!si.appliesToMedia(media)) return count; Stylesheet ss = si.getStylesheet(); if (ss == null) { ss = _styleFactory.getStylesheet(si); si.setStylesheet(ss); } ...
30,975
public void setRemotingConnectionLeasePeriod(long remotingConnectionLeasePeriod) { this.remotingConnectionLeasePeriod = remotingConnectionLeasePeriod; }
public void setRemotingConnectionLeasePeriod(long remotingConnectionLeasePeriod) throws Exception { this.remotingConnectionLeasePeriod = remotingConnectionLeasePeriod; }
30,976
CoreDestination undeployCoreDestination(boolean isQueue, String destName);
CoreDestination undeployCoreDestination(boolean isQueue, String destName) throws JMSException;
30,978
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(NotYetImplementedException e) { // TODO get rid of this throw e; } catch(WrapperException e) { throw e.getPayload(); } catch...
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) log.trace("Caught RuntimeException:" + e); try { if (log.isTraceEnabled()) log.trace("Caught RuntimeException:" + e); return invocation.invokeNext(); } catch(NotYetImplementedException e) { if ...
30,979
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
30,981
public synchronized boolean cancel(Delivery d) { log.info("Delivery " + d + " was cancelled"); if (toBeCancelled == d) { toBeCancelled = null; notifyAll(); } return true; }
public synchronized void cancel(Delivery d) { log.info("Delivery " + d + " was cancelled"); if (toBeCancelled == d) { toBeCancelled = null; notifyAll(); } return true; }
30,982
public synchronized boolean cancel(Delivery d) { log.info("Delivery " + d + " was cancelled"); if (toBeCancelled == d) { toBeCancelled = null; notifyAll(); } return true; }
public synchronized boolean cancel(Delivery d) { log.info("Delivery " + d + " was cancelled"); if (toBeCancelled == d) { toBeCancelled = null; notifyAll(); } return; }
30,983
public final void execute() throws BuildException { debug = (getProject().getProperty("jnode.debug") != null); final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListF...
public final void execute() throws BuildException { debug = (getProject().getProperty("jnode.debug") != null); final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListF...
30,984
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
30,985
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
30,986
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
30,987
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
30,988
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
30,989
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
30,990
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
30,991
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
30,992
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
public final static VmType[] initializeForBootImage(VmSystemClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass( "java.lang.Cloneable", false); Serial...
30,993
public void recoverChannel() throws Exception { queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); }
public void recoverChannel() throws Exception { queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); }
30,994
public void setUp() throws Exception { super.setUp(); queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); }
public void setUp() throws Exception { super.setUp(); queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); }
30,995
private void moveIfGreater(Point result, Point test) { if (test.x > result.x) { result.x = test.x; } if (test.y > result.y) { result.y = test.y; } }
private void moveIfGreater(Point result, Point test) { if (test.x > result.x) { result.x = test.x; } if (test.y > result.y) { result.y = test.y; } }
30,997
private void moveIfGreater(Point result, Point test) { if (test.x > result.x) { result.x = test.x; } if (test.y > result.y) { result.y = test.y; } }
private void moveIfGreater(Point result, Point test) { if (test.x > result.x) { result.x = test.x; } if (test.y > result.y) { result.y = test.y; } }
30,998
public void remove(Layer layer) { boolean removed = false; if (children != null) { for (Iterator i = children.iterator(); i.hasNext(); ) { Layer child = (Layer)i.next(); if (child == layer) { removed = true; i.remov...
private void remove(Layer layer) { boolean removed = false; if (children != null) { for (Iterator i = children.iterator(); i.hasNext(); ) { Layer child = (Layer)i.next(); if (child == layer) { removed = true; i.remo...
30,999
public static void positionFixedChild(Context c, Box box) { if (LayoutUtil.isFixed(c.getCss().getCascadedStyle(box.element, false))) {//already restyled by ContentUtil Point origin = c.getOriginOffset(); box.x = 0; box.y = 0; box.x -= origin.x; box.y -= ...
public static void positionFixedChild(Context c, Box box) { if (box.getStyle().isFixed()) {//already restyled by ContentUtil Point origin = c.getOriginOffset(); box.x = 0; box.y = 0; box.x -= origin.x; box.y -= origin.y; box.setFixedDescendant...
31,003
public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setFixedDescendant(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ...
public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setFixedDescendant(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ...
31,004
public static void verifyCategoryForValue(Class category, Attribute attribute) { if (category == null) throw new NullPointerException("object may not be null"); if (category.equals(attribute.getCategory())) throw new IllegalArgumentException ("categor...
public static void verifyCategoryForValue(Class category, Attribute attribute) { if (category == null) throw new NullPointerException("object may not be null"); if (category.equals(attribute.getCategory())) throw new IllegalArgumentException ("categor...
31,005
public static void verifyCategoryForValue(Class category, Attribute attribute) { if (category == null) throw new NullPointerException("object may not be null"); if (category.equals(attribute.getCategory())) throw new IllegalArgumentException ("categor...
public static void verifyCategoryForValue(Class category, Attribute attribute) { if (category == null) throw new NullPointerException("object may not be null"); if (!category.equals(attribute.getCategory())) throw new IllegalArgumentException ("catego...
31,006
public void iterateNativeQueue(EventQueue locked, boolean block) { if (block) { this.waitingNativeQueue = locked; synchronized (locked) { try { locked.wait(); } catch (InterruptedException e) { // Ignore } ...
public void iterateNativeQueue(EventQueue locked, boolean block) { if (block) { this.waitingNativeQueue = locked; synchronized (locked) { try { locked.wait(100); } catch (InterruptedException e) { // Ignore ...
31,007
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
private Delivery getDelivery(Receiver receiver, MessageReference ref) { Delivery d = null; //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { D...
31,008
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
31,009
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
31,010
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
31,011
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
31,012
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
private Delivery getDelivery(Receiver receiver, MessageReference ref) { //NOTE There should never be more than one receiver //Eventually we wil enforce this in the design of the Channel //but for now we just check we only have one receiver if (receiver == null) { Iterator ite...
31,013
public void installUI(final JComponent c) { super.installUI(c); }
public void installUI(final JComponent c) { super.installUI(c); }
31,014
public synchronized void startService() throws Exception { try { started = true; if (serviceName != null) { name = serviceName.getKeyProperty("name"); } if (name == null || name.length() == 0) { throw new IllegalStateException( "...
public synchronized void startService() throws Exception { try { started = true; if (serviceName != null) { name = serviceName.getKeyProperty("name"); } if (name == null || name.length() == 0) { throw new IllegalStateException( "...
31,016
public void hyperlinkUpdate(HyperlinkEvent event);
void hyperlinkUpdate(HyperlinkEvent event);
31,017
public UnknownFormatConversionException(String s) { super("unknown format conversion: " + s); this.s = s; }
public UnknownFormatConversionException(String s) { super("Unknown format conversion: " + s); if (s == null) throw new NullPointerException("The conversion string is null."); this.s = s; }
31,018
public void defineAttribute(String attributeName, String value) { if (_macrodef.getAttribute(attributeName) == null) { throw new IllegalArgumentException("undecalred attribute "+attributeName+" on macro "+_macrodef.getName()); } _attValues.put(attributeName, value...
public void defineAttribute(String attributeName, String value) { if (_macrodef.getAttribute(attributeName) == null) { throw new IllegalArgumentException("undeclared attribute "+attributeName+" on macro "+_macrodef.getName()); } _attValues.put(attributeName, value...
31,019
public Object getValueAt( int row, int col ) { XRProperty prop = (XRProperty)_properties.get(row); XRValue actual = prop.actualValue(); Object val = null; switch( col ) { case 0: val = prop.propertyName(); brea...
public Object getValueAt( int row, int col ) { XRProperty prop = (XRProperty)_properties.get(row); XRValue actual = prop.actualValue(); Object val = null; switch( col ) { case 0: val = prop.propertyName(); brea...
31,020
public Object handleRecover(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot reco...
public Object handleRecover(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot reco...
31,021
public Object handleRecover(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot reco...
public Object handleRecover(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot reco...
31,022
public final void testSimpleJoinLeave() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; //ClusteredPostOffice office3 = null; try { log.info("Starting office 1"); office1 = createClusteredPostOffice(1, "t...
public final void testSimpleJoinLeave() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; //ClusteredPostOffice office3 = null; try { log.info("Starting office 1"); office1 = createClusteredPostOffice(1, "t...
31,027
void setDouble(int parameterIndex, double x) throws SQLException;
void setDouble(int index, double value) throws SQLException;
31,028
public static BlockBox generateAbsolute(LayoutContext c, Content content, LineBox currentLine) { Rectangle oe = c.getExtents();// copy the extents for safety c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null); ...
public static BlockBox generateAbsolute(LayoutContext c, Content content, LineBox currentLine) { Rectangle oe = c.getExtents();// copy the extents for safety c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null); ...
31,029
public static Box preLayout(Context c, Content content) { Box block = null; if (content instanceof AnonymousBlockContent) { return AnonymousBoxing.layout(c, content); } else if (content instanceof TableContent) { return TableBoxing.layout(c, content); } else { ...
public static Box preLayout(Context c, Content content) { Box block = null; if (content instanceof AnonymousBlockContent) { return AnonymousBoxing.createBox(c, content); } else if (content instanceof TableContent) { return TableBoxing.layout(c, content); } else { ...
31,030
public static Box preLayout(Context c, Content content) { Box block = null; if (content instanceof AnonymousBlockContent) { return AnonymousBoxing.layout(c, content); } else if (content instanceof TableContent) { return TableBoxing.layout(c, content); } else { ...
public static Box preLayout(Context c, Content content) { Box block = null; if (content instanceof AnonymousBlockContent) { return AnonymousBoxing.layout(c, content); } else if (content instanceof TableContent) { block = TableBoxing.createBox(c, content); } else { ...
31,031
public static Box preLayout(Context c, Content content) { Box block = null; if (content instanceof AnonymousBlockContent) { return AnonymousBoxing.layout(c, content); } else if (content instanceof TableContent) { return TableBoxing.layout(c, content); } else { ...
public static Box preLayout(Context c, Content content) { Box block = null; if (content instanceof AnonymousBlockContent) { return AnonymousBoxing.layout(c, content); } else if (content instanceof TableContent) { return TableBoxing.layout(c, content); } else { ...
31,032
public static Box realLayout(Context c, Box block, Content content) { return layout(c, block, content); }
public static Box realLayout(Context c, Box block, Content content) { if (content instanceof AnonymousBlockContent) { return AnonymousBoxing.layout(c, block, content); } else if (content instanceof TableContent) { return TableBoxing.layout(c, block, content); } else return layout(c, block, content); }
31,033
TransactionRequest(String nodeId, long txId, boolean hold, long checkChannelID) { this.nodeId = nodeId; this.txId= txId; this.hold = hold; this.checkChannelID = checkChannelID; }
TransactionRequest(String nodeId, long txId, boolean hold, long checkChannelID) { this.nodeId = nodeId; this.txId= txId; this.hold = hold; this.checkChannelID = checkChannelID; }
31,034
public void read(DataInputStream in) throws Exception { nodeId = in.readUTF(); txId = in.readLong(); hold = in.readBoolean(); }
public void read(DataInputStream in) throws Exception { nodeId = in.readInt(); txId = in.readLong(); hold = in.readBoolean(); }
31,035
public void write(DataOutputStream out) throws Exception { out.writeUTF(nodeId); out.writeLong(txId); out.writeBoolean(hold); }
public void write(DataOutputStream out) throws Exception { out.writeInt(nodeId); out.writeLong(txId); out.writeBoolean(hold); }
31,036
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } catch (NoSuchAlgor...
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } catch (NoSuchAlgor...
31,037
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } catch (NoSuchAlgor...
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithm...
31,038
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } catch (NoSuchAlgor...
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } catch (NoSuchAlgor...
31,039
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } catch (NoSuchAlgor...
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } catch (NoSuchAlgor...
31,040
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } catch (NoSuchAlgor...
public static final Mac getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } catch (NoSuchAlgor...
31,041
public void setDataSource(String dataSourceJNDIName) throws Exception { this.dataSourceJNDIName = dataSourceJNDIName; InitialContext ic = new InitialContext(); ds = (DataSource)ic.lookup(dataSourceJNDIName); ic.close(); }
public void setDataSource(String dataSourceJNDIName) throws Exception { this.dataSourceJNDIName = dataSourceJNDIName; InitialContext ic = new InitialContext(); ds = (DataSource)ic.lookup(dataSourceJNDIName); ic.close(); }
31,044
public void tearDown() throws Exception { ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployTopic("testTopic"); ServerManagement.undeployQueue("SomeName"); ServerManagement.undeployTopic("SomeName"); ServerManagement.deInit(); //destinationManager = null; ...
public void tearDown() throws Exception { ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployTopic("testTopic"); ServerManagement.undeployQueue("SomeName"); ServerManagement.undeployTopic("SomeName"); //destinationManager = null; super.tearDown(); ...
31,046
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, provs[i]); } catch...
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, provs[i]); } catch...
31,047
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, provs[i]); } catch...
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, p[i]); } catch (No...
31,048
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, provs[i]); } catch...
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, provs[i]); } catch...
31,049
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, provs[i]); } catch...
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, provs[i]); } catch...
31,050
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, provs[i]); } catch...
public static final ExemptionMechanism getInstance(String mechanism) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = ""; for (int i = 0; i < provs.length; i++) { try { return getInstance(mechanism, provs[i]); } catch...
31,051
public DelegateSupport(String objectID) { this.id = objectID; }
public DelegateSupport(int objectID) { this.id = objectID; }
31,052
private synchronized void checkMarshallers() { if (checked) { return; } // We shouldn't have to do this programmatically - it should pick it up from the params // on the locator uri, but that doesn't seem to work. Marshaller marshaller = new InvocationMarshaller(); ...
private synchronized void checkMarshallers() { if (checked) { return; } // We shouldn't have to do this programmatically - it should pick it up from the params // on the locator uri, but that doesn't seem to work. Marshaller marshaller = new InvocationMarshaller(); ...
31,054
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
public Object invoke(Invocation invocation) throws Throwable { if (trace) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
31,055
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
31,056
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
31,057
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
31,058
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ...
31,059
public Rectangle getContentClippingBounds(CssContext cssCtx, int additionalClearance) { Rectangle result = new Rectangle( additionalClearance + getStyle().getMarginBorderPadding(cssCtx, CalculatedStyle.LEFT), getPaintingTop() + additionalClearance + ...
public Rectangle getContentClippingBounds(CssContext cssCtx, int additionalClearance) { Rectangle result = new Rectangle( additionalClearance + getStyle().getMarginBorderPadding(cssCtx, CalculatedStyle.LEFT), getPaintingTop() + getStyle().g...
31,060
public Rectangle getContentClippingBounds(CssContext cssCtx, int additionalClearance) { Rectangle result = new Rectangle( additionalClearance + getStyle().getMarginBorderPadding(cssCtx, CalculatedStyle.LEFT), getPaintingTop() + additionalClearance + ...
public Rectangle getContentClippingBounds(CssContext cssCtx, int additionalClearance) { Rectangle result = new Rectangle( additionalClearance + getStyle().getMarginBorderPadding(cssCtx, CalculatedStyle.LEFT), getPaintingTop() + additionalClearance + ...
31,061
public Rectangle getOverallPaintingBounds(CssContext cssCtx, int additionalClearance) { return new Rectangle( 0, getPaintingTop(), getWidth(cssCtx) + additionalClearance*2, getPaintingBottom()-getPaintingTop()); }
public Rectangle getOverallPaintingBounds(CssContext cssCtx, int additionalClearance) { return new Rectangle( 0, getPaintingTop(), getWidth(cssCtx) + additionalClearance*2, getPaintingBottom()-getPaintingTop()); }
31,062
public AccessibleContext getAccessibleContext() { return new AccessibleJFileChooser(); }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJFileChooser(); return accessibleContext; }
31,065
public File createFileObject(String path) { return null; // TODO } // createFileObject()
public File createFileObject(File directory, String filename) { return null; // TODO } // createFileObject()
31,066