bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
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 ...
47,991
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...
47,993
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; }
47,994
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; }
47,995
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...
47,996
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...
47,997
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...
47,998
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...
47,999
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...
48,000
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...
48,001
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...
48,002
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...
48,003
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...
48,004
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...
48,005
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); }
48,006
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); }
48,007
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; } }
48,009
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; } }
48,010
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...
48,011
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 (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 -= ...
48,015
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(); ...
48,016
private AttributeSetUtilities() {}
private AttributeSetUtilities() {}
48,017
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...
48,018
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...
48,019
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 ...
48,020
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) { Deli...
48,021
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...
48,022
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...
privateDeliverygetDelivery(Receiverreceiver,MessageReferenceref){//NOTEThereshouldneverbemorethanonereceiver//EventuallywewilenforcethisinthedesignoftheChannel//butfornowwejustcheckweonlyhaveonereceiverif(receiver==null){Iteratoriter=router.iterator();if(!iter.hasNext()){//Noreceiversreturnnull;}receiver=(Receiver)iter...
48,023
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...
48,024
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...
48,025
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...
48,026
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...
48,027
public static ComponentUI createUI(final JComponent c) { return new BasicCheckBoxUI(); }
public static ComponentUI createUI(final JComponent c) { return new BasicCheckBoxUI(); }
48,028
public void installUI(final JComponent c) { super.installUI(c); }
public void installUI(final JComponent c) { super.installUI(c); }
48,029
public static ComponentUI createUI(final JComponent c) { return new BasicRadioButtonUI(); }
public static ComponentUI createUI(final JComponent c) { return new BasicRadioButtonUI(); }
48,030
public void installUI(final JComponent c) { super.installUI(c); }
public void installUI(final JComponent c) { super.installUI(c); }
48,031
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( "...
48,033
public void hyperlinkUpdate(HyperlinkEvent event);
public void hyperlinkUpdate(HyperlinkEvent event);
48,034
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; }
48,035
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...
48,036
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...
48,037
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...
48,038
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...
48,039
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...
ClusteredPostOffice office3 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office3 = null; publicClusteredPostOffice office3 = null; finalClusteredPostOffice office3 = null; voidClusteredPostOffice office3 = null; testSimpleJoinLeave()ClusteredPostOffice office3 = null; throwsClusteredPostOffice office...
48,040
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...
office3 = createClusteredPostOffice(3, "testgroup"); office3 = createClusteredPostOffice(3, "testgroup"); office3 = createClusteredPostOffice(3, "testgroup"); publicoffice3 = createClusteredPostOffice(3, "testgroup"); finaloffice3 = createClusteredPostOffice(3, "testgroup"); voidoffice3 = createClusteredPostOffice(3, "...
48,041
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...
office3.stop(); office3 = null; public final void testSimpleJoinLeave() throws Throwableoffice3.stop(); office3 = null; {office3.stop(); office3 = null; office3.stop(); office3 = null; office3.stop(); office3 = null; ClusteredPostOffice office1 = null;office3.stop(); office3 = null; office3.stop(); office3 = null; of...
48,042
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...
if (office3 != null) { office3.stop(); } if (office3 != null) { office3.stop(); } if (office3 != null) { office3.stop(); } publicif (office3 != null) { office3.stop(); } finalif (office3 != null) { office3.stop(); } voidif (office3 != null) { office3.stop(); } testSimpleJoinLeave()if (office3 != null) { off...
48,043
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...
48,044
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...
48,045
void setDouble(int parameterIndex, double x) throws SQLException;
void setDouble(int parameterIndex, double x) throws SQLException;
48,046
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); ...
48,047
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 { ...
48,048
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 { ...
48,049
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 { ...
48,050
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); }
48,051
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; }
48,052
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(); }
48,053
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); }
48,054
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...
48,055
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...
48,056
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...
48,057
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...
48,058
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...
48,059
public void setUp() throws Exception { super.setUp(); ServerManagement.init("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployQueue("Queue"); Serv...
drainDestination(cf, queue); drainDestination(cf, queue); drainDestination(cf, queue); publicdrainDestination(cf, queue); voiddrainDestination(cf, queue); setUp()drainDestination(cf, queue); throwsdrainDestination(cf, queue); ExceptiondrainDestination(cf, queue); drainDestination(cf, queue); drainDestination(cf, queue)...
48,061
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(); }
48,062
public void setSqlProperties(Properties props) { sqlProperties = new Properties(props); }
public void setSqlProperties(String value) { sqlProperties = new Properties(props); }
48,063
public void setSqlProperties(Properties props) { sqlProperties = new Properties(props); }
public void setSqlProperties(Properties props) { try { ByteArrayInputStream is = new ByteArrayInputStream(value.getBytes()); sqlProperties = new Properties(); sqlProperties.load(is); } catch (IOException shouldnothappen) { } }
48,064
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(); ...
48,066
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...
48,067
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...
48,068
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...
48,069
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...
48,070
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...
48,071
public DelegateSupport(String objectID) { this.id = objectID; }
public DelegateSupport(int objectID) { this.id = objectID; }
48,072
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(); ...
48,074
public String getID() { return id; }
public int getID() { return id; }
48,075
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, ...
48,076
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, ...
48,077
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, ...
48,078
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, ...
48,079
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, ...
48,080
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...
48,081
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 + ...
48,082
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()); }
48,083
public AccessibleContext getAccessibleContext() { return new AccessibleJFileChooser(); }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJFileChooser(); return accessibleContext; }
48,086
public File createFileObject(String path) { return null; // TODO } // createFileObject()
public File createFileObject(String path) { return null; // TODO } // createFileObject()
48,087
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); if(trace) { log.trace("got " + res + " on return"); } ClientCo...
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); ClientConnectionDelegate connectionDelegate = (ClientConnection...
48,088
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); if(trace) { log.trace("got " + res + " on return"); } ClientCo...
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); if(trace) { log.trace("got " + res + " on return"); } ClientCo...
48,089
public void expandToPageBottom(LayoutContext c) { PageBox page = c.getRootLayer().getLastPage(c, this); int delta = page.getBottom() - (getAbsY() + this.height); this.height += delta; if (page == c.getRootLayer().getLastPage()) { c.getRootLayer().addPage(c); } }
public void expandToPageBottom(LayoutContext c) { PageBox page = c.getRootLayer().getLastPage(c, this); int delta = page.getBottom() - (getAbsY() + getStyle().getMarginBorderPadding(c, CalculatedStyle.TOP) + this.height); this.height += delta; if (page == c.getRootLayer().getLastPage()) ...
48,091
private void doRelayout(ReflowEvent evt) throws InterruptedException { // if layout is already in progress //if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if (root.layout_context != null) { root.layout_context.stopRendering(); ...
private void doRelayout(ReflowEvent evt) throws InterruptedException { // if layout is already in progress //if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if (root.layout_context != null) { root.layout_context.stopRendering(); ...
48,092
private void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
private void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
48,093
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } CoreDurableSubscription sub...
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } CoreDurableSubscription sub...
48,094
protected void init(Element register) { this.type = register.getAttribute("type"); this.variableName = register.getAttribute("variable-name"); try { setId(Integer.parseInt(register.getAttribute("id"))); } catch (NumberFormatException e) { } NodeList args = regist...
protected void init(Element register) { this.type = register.getAttribute("type"); this.variableName = register.getAttribute("variable-name"); try { setId(Integer.parseInt(register.getAttribute("id"))); } catch (NumberFormatException e) { } List args = XMLUtil.ge...
48,095
protected void init(Element register) { this.type = register.getAttribute("type"); this.variableName = register.getAttribute("variable-name"); try { setId(Integer.parseInt(register.getAttribute("id"))); } catch (NumberFormatException e) { } NodeList args = regist...
protected void init(Element register) { this.type = register.getAttribute("type"); this.variableName = register.getAttribute("variable-name"); try { setId(Integer.parseInt(register.getAttribute("id"))); } catch (NumberFormatException e) { } NodeList args = regist...
48,096
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
48,097
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
48,098
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
48,099
Frame(String title){ super(); this.title = title; // Top-level frames are initially invisible. visible = false; noteFrame(this);}
Frame(String title){ super(); this.title = title; // Top-level frames are initially invisible. visible = false; noteFrame(this);}
48,100
Frame(String title){ super(); this.title = title; // Top-level frames are initially invisible. visible = false; noteFrame(this);}
Frame(String title){ super(); this.title = title; // Top-level frames are initially invisible. visible = false; noteFrame(this);}
48,101
public static int adjustForTab( Context c, LineBox prev_line, int remaining_width ) { BlockFormattingContext bfc = c.getBlockFormattingContext(); remaining_width -= bfc.getLeftFloatDistance( prev_line ); remaining_width -= bfc.getRightFloatDistance( prev_line ); // Uu.p("adjusting the li...
public static int adjustForTab( Context c, LineBox prev_line, int remaining_width ) { BlockFormattingContext bfc = c.getBlockFormattingContext(); remaining_width -= bfc.getLeftFloatDistance( prev_line ); remaining_width -= bfc.getRightFloatDistance( prev_line ); // Uu.p("adjusting the li...
48,102