bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type Item... | public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type Item... | 34,601 |
public final void visit_istore(int index) { int disp = stackFrame.getEbpOffset(index); IntItem i = vstack.popInt(); i.loadIf(eContext, ~Item.CONSTANT); if (i.getKind() == Item.CONSTANT) { //TODO: check whether constant is different from NULL (loaded with ldc) os.writeMOV_Const(FP, disp, 0); } else { os.wr... | public final void visit_istore(int index) { int disp = stackFrame.getEbpOffset(index); IntItem i = vstack.popInt(); i.loadIf(eContext, ~Item.CONSTANT); if (i.getKind() == Item.CONSTANT) { //TODO: check whether constant is different from NULL (loaded with ldc) os.writeMOV_Const(FP, disp, 0); } else { os.wr... | 34,602 |
public final void visit_istore(int index) { int disp = stackFrame.getEbpOffset(index); IntItem i = vstack.popInt(); i.loadIf(eContext, ~Item.CONSTANT); if (i.getKind() == Item.CONSTANT) { //TODO: check whether constant is different from NULL (loaded with ldc) os.writeMOV_Const(FP, disp, 0); } else { os.wr... | public final void visit_istore(int index) { int disp = stackFrame.getEbpOffset(index); IntItem i = vstack.popInt(); i.loadIf(eContext, ~Item.CONSTANT); if (i.getKind() == Item.CONSTANT) { //TODO: check whether constant is different from NULL (loaded with ldc) os.writeMOV_Const(FP, disp, 0); if (i.getKind() ... | 34,603 |
public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri... | public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri... | 34,604 |
public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri... | public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri... | 34,605 |
public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri... | public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri... | 34,606 |
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr... | public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr... | 34,607 |
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr... | public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr... | 34,608 |
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr... | public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr... | 34,609 |
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC... | public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC... | 34,610 |
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC... | public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC... | 34,611 |
public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!sf.getDeclaringClass().isInitialized()) { ... | public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!sf.getDeclaringClass().isInitialized()) { ... | 34,612 |
public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!sf.getDeclaringClass().isInitialized()) { ... | public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!sf.getDeclaringClass().isInitialized()) { ... | 34,613 |
private void calcMinMaxWidthBlockChildren(LayoutContext c) { int childMinWidth = 0; int childMaxWidth = 0; for (Iterator i = getChildIterator(); i.hasNext(); ) { BlockBox child = (BlockBox)i.next(); if (! (child instanceof AnonymousBlockBox || ... | private void calcMinMaxWidthBlockChildren(LayoutContext c) { int childMinWidth = 0; int childMaxWidth = 0; for (Iterator i = getChildIterator(); i.hasNext(); ) { BlockBox child = (BlockBox)i.next(); if (! (child instanceof AnonymousBlockBox || ... | 34,615 |
private void calcMinMaxWidthInlineChildren(LayoutContext c) { int textIndent = (int)getStyle().getFloatPropertyProportionalWidth( CSSName.TEXT_INDENT, getContentWidth(), c); int childMinWidth = 0; int childMaxWidth = 0; int lineWidth = 0; Inl... | private void calcMinMaxWidthInlineChildren(LayoutContext c) { int textIndent = (int)getStyle().getFloatPropertyProportionalWidth( CSSName.TEXT_INDENT, getContentWidth(), c); int childMinWidth = 0; int childMaxWidth = 0; int lineWidth = 0; Inl... | 34,616 |
public int getCSSHeight(LayoutContext c) { if (! (this instanceof AnonymousBlockBox)) { if (! isAutoHeight()) { if (! getContainingBlock().getStyle().isAutoHeight()) { return (int)getStyle().getFloatPropertyProportionalHeight( CSSName.HE... | private int getCSSHeight(LayoutContext c) { if (! (this instanceof AnonymousBlockBox)) { if (! isAutoHeight()) { if (! getContainingBlock().getStyle().isAutoHeight()) { return (int)getStyle().getFloatPropertyProportionalHeight( CSSName.H... | 34,617 |
public int getCSSWidth(LayoutContext c) { if (! (this instanceof AnonymousBlockBox)) { if (! getStyle().isAutoWidth()) { return (int) getStyle().getFloatPropertyProportionalWidth( CSSName.WIDTH, getContainingBlock().getContentWidth(), c); } }... | private int getCSSWidth(LayoutContext c) { if (! (this instanceof AnonymousBlockBox)) { if (! getStyle().isAutoWidth()) { return (int) getStyle().getFloatPropertyProportionalWidth( CSSName.WIDTH, getContainingBlock().getContentWidth(), c); } ... | 34,618 |
public Layer(Box master) { this(null, master); setStackingContext(true); } | public Layer(Box master, boolean pseudoLayer) { this(null, master); setStackingContext(true); } | 34,620 |
public Layer(Box master) { this(null, master); setStackingContext(true); } | public Layer(Box master) { this(null, master); setStackingContext(false); } | 34,621 |
public void paint(RenderingContext c) { if (getMaster().getStyle().isFixed()) { positionFixedLayer(c); } updateAbsoluteLocations(); List blocks = new ArrayList(); List lines = new ArrayList(); collectBoxes(c, getMaster(), blocks, lines); // TODO root layer... | public void paint(RenderingContext c, int originX, int originY) { if (getMaster().getStyle().isFixed()) { positionFixedLayer(c); } updateAbsoluteLocations(); List blocks = new ArrayList(); List lines = new ArrayList(); collectBoxes(c, getMaster(), blocks, lines);... | 34,622 |
public void paint(RenderingContext c) { if (getMaster().getStyle().isFixed()) { positionFixedLayer(c); } updateAbsoluteLocations(); List blocks = new ArrayList(); List lines = new ArrayList(); collectBoxes(c, getMaster(), blocks, lines); // TODO root layer... | public void paint(RenderingContext c) { if (getMaster().getStyle().isFixed()) { positionFixedLayer(c); } updateAbsoluteLocations(originX, originY); List blocks = new ArrayList(); List lines = new ArrayList(); collectBoxes(c, getMaster(), blocks, lines); //... | 34,623 |
private void paintFloats(RenderingContext c) { if (floats != null) { for (int i = floats.size() - 1; i >= 0; i--) { FloatedBlockBox floater = (FloatedBlockBox) floats.get(i); floater.paint(c, (int) floater.getAbsX(), (int) floater.getAbsY()); } } ... | private void paintFloats(RenderingContext c) { if (floats != null) { for (int i = floats.size() - 1; i >= 0; i--) { FloatedBlockBox floater = (FloatedBlockBox) floats.get(i); makePseudoLayer(floater).paint(c, floater.getAbsX(), floater.getAbsY()); } ... | 34,624 |
private void paintLayers(RenderingContext c, List layers) { for (int i = 0; i < layers.size(); i++) { Layer layer = (Layer) layers.get(i); layer.paint(c); } } | private void paintLayers(RenderingContext c, List layers) { for (int i = 0; i < layers.size(); i++) { Layer layer = (Layer) layers.get(i); layer.paint(c, 0, 0); } } | 34,625 |
private void updateAbsoluteLocations() { updateAbsoluteLocationsHelper(getMaster(), 0, 0); } | private void updateAbsoluteLocations() { updateAbsoluteLocationsHelper(getMaster(), 0, 0); } | 34,626 |
public static Color getBackgroundColor( Context c, Box box ) { return Boxing.getBackgroundColor( c, box ); } | public static Color getBackgroundColor( Context c, Box box ) { return Boxing.getBackgroundColor( c, box ); } | 34,627 |
public static void paintBackground( Context c, Box box ) { Box block = box; // cache the background color getBackgroundColor( c, block ); // get the css properties CalculatedStyle style = c.getCurrentStyle(); String back_image = style.getStringProperty( CSSName.BACKGROUND_I... | public static void paintBackground( Context c, Box box ) { Box block = box; // cache the background color getBackgroundColor(c); // get the css properties CalculatedStyle style = c.getCurrentStyle(); String back_image = style.getStringProperty( CSSName.BACKGROUND_IMAGE ); ... | 34,628 |
protected JBossConnection createConnectionInternal(String username, String password, boolean isXA, int type) throws JMSException { ensureAOPConfigLoaded((ClientConnectionFactoryDelegate)delegate); initDelegate(); ConnectionDelegat... | protected JBossConnection createConnectionInternal(String username, String password, boolean isXA, int type) throws JMSException { ensureAOPConfigLoaded((ClientConnectionFactoryDelegate)delegate); initDelegate(); ConnectionDelegat... | 34,629 |
public TreePath getParentPath() { // If this path has only one element, then we return null. That // is what the JDK does. if (path.length <= 1) return null; return new TreePath(this.getPath(), path.length - 1); } | public TreePath getParentPath() { // If this path has only one element, then we return null. That // is what the JDK does. if (path.length <= 1) return null; if (parentPath == null) parentPath = new TreePath(this.getPath(), path.length - 1); return parentPath; } | 34,630 |
protected synchronized void inuse() throws Throwable { if (state != NOT_CLOSED) { throw new IllegalStateException("The object is closed"); } ++inuseCount; } | protected synchronized void inuse() throws Throwable { if (state == IN_CLOSE || state == CLOSED) { throw new IllegalStateException("The object is closed"); } ++inuseCount; } | 34,631 |
public void run() { try { if (log.isTraceEnabled()) { log.trace("activating consumer endpoint"); } consumerDelegate.activate(); } catch(Throwable t) { log.error("Consumer endpoint activation failed", t); if (t.getCause() != n... | public void run() { try { if (log.isTraceEnabled()) { log.trace("activating consumer endpoint"); } consumerDelegate.activate(); } catch(Throwable t) { log.error("Consumer endpoint activation failed", t); if (t.getCause() != n... | 34,632 |
public synchronized void close() { closed = true; stopReceiver(); //There may still be pending calls to activateConsumer - we wait for them to complete (or fail) while (activationCount.get() != 0) { Thread.yield(); } } | public synchronized void close() { closed = true; stopReceiver(); //There may still be pending calls to activateConsumer - we wait for them to complete (or fail) synchronized (activationLock) { Thread.yield(); } } | 34,634 |
public synchronized void close() { closed = true; stopReceiver(); //There may still be pending calls to activateConsumer - we wait for them to complete (or fail) while (activationCount.get() != 0) { Thread.yield(); } } | public synchronized void close() { closed = true; stopReceiver(); //There may still be pending calls to activateConsumer - we wait for them to complete (or fail) while (activationCount.get() != 0) { Thread.yield(); } } | 34,635 |
protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; // If it's receiveNoWait then get the message directly if (timeout == -1) { waiting = false; m = getMessageNow(); } else { // ... | protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; // If it's receiveNoWait then get the message directly if (timeout == -1) { m = getMessageNow(); m = getMessageNow(); } else { ... | 34,636 |
protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; // If it's receiveNoWait then get the message directly if (timeout == -1) { waiting = false; m = getMessageNow(); } else { // ... | protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; // If it's receiveNoWait then get the message directly if (timeout == -1) { waiting = false; } else { // ... otherwise we act... | 34,637 |
protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; // If it's receiveNoWait then get the message directly if (timeout == -1) { waiting = false; m = getMessageNow(); } else { // ... | protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; // If it's receiveNoWait then get the message directly if (timeout == -1) { waiting = false; m = getMessageNow(); } else { // ... | 34,638 |
protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; // If it's receiveNoWait then get the message directly if (timeout == -1) { waiting = false; m = getMessageNow(); } else { // ... | protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; // If it's receiveNoWait then get the message directly if (timeout == -1) { m = getMessageNow(); } else { // ... otherwise we... | 34,639 |
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); // Note -... | public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); // Note -... | 34,640 |
public void testSimpleFinish() throws Exception { long id = workflow.initialize(getClass().getResource("/samples/finish1.xml").toString(), 100, null); workflow.doAction(id, 1, null); assertTrue("Finished workflow should have no current actions", workflow.getCurrentSteps(id).size() == 0); ... | public void testSimpleFinish() throws Exception { long id = workflow.initialize(getClass().getResource("/samples/finish1.xml").toString(), 100, null); workflow.doAction(id, 1, null); assertTrue("Finished workflow should have no current steps", workflow.getCurrentSteps(id).size() == 0); a... | 34,642 |
public void testSimpleFinish() throws Exception { long id = workflow.initialize(getClass().getResource("/samples/finish1.xml").toString(), 100, null); workflow.doAction(id, 1, null); assertTrue("Finished workflow should have no current actions", workflow.getCurrentSteps(id).size() == 0); ... | public void testSimpleFinish() throws Exception { long id = workflow.initialize(getClass().getResource("/samples/finish1.xml").toString(), 100, null); workflow.doAction(id, 1, null); assertTrue("Finished workflow should have no current actions", workflow.getCurrentSteps(id).size() == 0); ... | 34,643 |
public void getProperty(Component comp) { try { String name = (String)mappings.get(comp); if(name == null) return; Object value; if(source instanceof Map) { value = ((Map)source).get(name); } else { //if we try to index into a non-existent property, ... | public void getProperty(Component comp) { try { String name = (String)mappings.get(comp); if(name == null) return; Object value; if(source instanceof Map) { value = ((Map)source).get(name); } else { //if we try to index into a non-existent property, ... | 34,644 |
public void setProperty(Component comp) { String name = (String)mappings.get(comp); Object value = null; if(comp instanceof JFormattedTextField) { try { value = ((JFormattedTextField)comp).getFormatter().stringToValue(((JFormattedTextField)comp).getText()); } catch(ParseExcepti... | public void setProperty(Component comp) { String name = (String)mappings.get(comp); Object value = null; if(comp instanceof JFormattedTextField) { try { value = ((JFormattedTextField)comp).getFormatter().stringToValue(((JFormattedTextField)comp).getText()); } catch(ParseExcepti... | 34,645 |
public void setProperty(Component comp) { String name = (String)mappings.get(comp); Object value = null; if(comp instanceof JFormattedTextField) { try { value = ((JFormattedTextField)comp).getFormatter().stringToValue(((JFormattedTextField)comp).getText()); } catch(ParseExcepti... | public void setProperty(Component comp) { String name = (String)mappings.get(comp); Object value = null; if(comp instanceof JFormattedTextField) { try { value = ((JFormattedTextField)comp).getFormatter().stringToValue(((JFormattedTextField)comp).getText()); } catch(ParseExcepti... | 34,646 |
public void test1() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[241]; MessageReference[] refs = new MessageReference[241]; //Send 99 Transaction tx = tr.createTransa... | public void test1() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[241]; MessageReference[] refs = new MessageReference[241]; //Send 99 Transaction tx = tr.createTransaction(... | 34,647 |
public void cancelDeliveries(String asfReceiverID) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (log.isTraceEnabled()) { log.trace("Cancelling messages"); } if (asfReceiverID != null) { //This means the session ... | public void cancelDeliveries() throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (log.isTraceEnabled()) { log.trace("Cancelling messages"); } if (asfReceiverID != null) { //This means the session is doing work from a... | 34,648 |
public void cancelDeliveries(String asfReceiverID) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (log.isTraceEnabled()) { log.trace("Cancelling messages"); } if (asfReceiverID != null) { //This means the session ... | public void cancelDeliveries(String asfReceiverID) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (log.isTraceEnabled()) { log.trace("Cancelling messages"); } if (asfReceiverID != null) { //This means the session ... | 34,649 |
public String getName() { return ContentElementName; } | public String getName() { String name = super.getName(); if (name == null) name = ContentElementName; return name; } | 34,650 |
public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); // Here we set up the parameters for an ElementChange, if one // needs to be added to the DocumentEvent later E... | public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); // Here we set up the parameters for an ElementChange, if one // needs to be added to the DocumentEvent later E... | 34,651 |
public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); // Here we set up the parameters for an ElementChange, if one // needs to be added to the DocumentEvent later E... | public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); // Here we set up the parameters for an ElementChange, if one // needs to be added to the DocumentEvent later E... | 34,652 |
public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); // Here we set up the parameters for an ElementChange, if one // needs to be added to the DocumentEvent later E... | public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); // Here we set up the parameters for an ElementChange, if one // needs to be added to the DocumentEvent later E... | 34,653 |
public WorkflowEntry createEntry(String workflowName) throws StoreException { Connection conn = null; PreparedStatement stmt = null; try { conn = getConnection(); String sql = "INSERT INTO " + entryTable + " (" + entryId + ", " + entryName + ", " + entryState + ") VALUES (... | public WorkflowEntry createEntry(String workflowName) throws StoreException { Connection conn = null; PreparedStatement stmt = null; try { conn = getConnection(); String sql = "INSERT INTO " + entryTable + " (" + (generatedKeys ? "" : (entryId + ", ")) + entryName + ", " +... | 34,654 |
public WorkflowEntry createEntry(String workflowName) throws StoreException { Connection conn = null; PreparedStatement stmt = null; try { conn = getConnection(); String sql = "INSERT INTO " + entryTable + " (" + entryId + ", " + entryName + ", " + entryState + ") VALUES (... | public WorkflowEntry createEntry(String workflowName) throws StoreException { Connection conn = null; PreparedStatement stmt = null; try { conn = getConnection(); String sql = "INSERT INTO " + entryTable + " (" + entryId + ", " + entryName + ", " + entryState + ") VALUES (... | 34,655 |
public WorkflowEntry createEntry(String workflowName) throws StoreException { Connection conn = null; PreparedStatement stmt = null; try { conn = getConnection(); String sql = "INSERT INTO " + entryTable + " (" + entryId + ", " + entryName + ", " + entryState + ") VALUES (... | public WorkflowEntry createEntry(String workflowName) throws StoreException { Connection conn = null; PreparedStatement stmt = null; try { conn = getConnection(); String sql = "INSERT INTO " + entryTable + " (" + entryId + ", " + entryName + ", " + entryState + ") VALUES (... | 34,656 |
public void tearDown() throws Exception { conn.close(); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployTopic("Topic"); ServerManagement.deInit(); super.tearDown(); } | public void tearDown() throws Exception { conn.close(); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployTopic("Topic"); super.tearDown(); } | 34,658 |
public ResolvedModuleRevision getDependency(DependencyDescriptor dd, ResolveData data) throws ParseException { DependencyDescriptor systemDd = dd; dd = fromSystem(dd); clearIvyAttempts(); boolean downloaded = false; boolean searched = false; Date cachedPublicationDa... | public ResolvedModuleRevision getDependency(DependencyDescriptor dd, ResolveData data) throws ParseException { DependencyDescriptor systemDd = dd; dd = fromSystem(dd); clearIvyAttempts(); boolean downloaded = false; boolean searched = false; Date cachedPublicationDa... | 34,659 |
private void initializeAdvisors() throws Exception { ClassAdvisor[] advisors = new ClassAdvisor[6]; for(int i = 0; i < domainNames.length; i++) { DomainDefinition domainDefinition = AspectManager.instance().getContainer(domainNames[i]); if (domainDefinition == null) { ... | private void initializeAdvisors() throws Exception { ClassAdvisor[] advisors = new ClassAdvisor[7]; for(int i = 0; i < domainNames.length; i++) { DomainDefinition domainDefinition = AspectManager.instance().getContainer(domainNames[i]); if (domainDefinition == null) { ... | 34,662 |
private void initializeAdvisors() throws Exception { ClassAdvisor[] advisors = new ClassAdvisor[6]; for(int i = 0; i < domainNames.length; i++) { DomainDefinition domainDefinition = AspectManager.instance().getContainer(domainNames[i]); if (domainDefinition == null) { ... | private void initializeAdvisors() throws Exception { ClassAdvisor[] advisors = new ClassAdvisor[6]; for(int i = 0; i < domainNames.length; i++) { DomainDefinition domainDefinition = AspectManager.instance().getContainer(domainNames[i]); if (domainDefinition == null) { ... | 34,663 |
public int getLeftFloatDistance(LineBox line) { //u.p("doing get left float dist. line = " + line); //u.p("line y = " + line.y); int xoff = 0; int yoff = 0; if(left_floats.size() == 0) { return 0; } // we only handle floats inside the same ... | public int getLeftFloatDistance(LineBox line) { //u.p("doing get left float dist. line = " + line); //u.p("line y = " + line.y); int xoff = 0; int yoff = 0; if(left_floats.size() == 0) { Point fpt = (Point)offset_map.get(last_float); u.p("float origin = " + fpt)... | 34,667 |
private void loadAspects() throws Exception { URL url = this.getClass().getClassLoader().getResource("messaging-server-aop.xml"); AspectXmlLoader.deployXML(url); } | private void loadAspects() throws Exception { URL url = this.getClass().getClassLoader().getResource("aop-messaging-server.xml"); AspectXmlLoader.deployXML(url); } | 34,669 |
private void unloadAspects() throws Exception { URL url = this.getClass().getClassLoader().getResource("messaging-server-aop.xml"); AspectXmlLoader.undeployXML(url); } | private void unloadAspects() throws Exception { URL url = this.getClass().getClassLoader().getResource("aop-messaging-server.xml"); AspectXmlLoader.undeployXML(url); } | 34,670 |
public int getPriority() { return priority; } | public byte getPriority() { return priority; } | 34,671 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { messageID = (Serializable)in.readObject(); reliable = in.readBoolean(); expiration = in.readLong(); timestamp = in.readLong(); headers = readMap(in); redelivered = in.readBoolean(); priorit... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { messageID = (Serializable)in.readUTF(); reliable = in.readBoolean(); expiration = in.readLong(); timestamp = in.readLong(); headers = readMap(in); redelivered = in.readBoolean(); priority =... | 34,672 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { messageID = (Serializable)in.readObject(); reliable = in.readBoolean(); expiration = in.readLong(); timestamp = in.readLong(); headers = readMap(in); redelivered = in.readBoolean(); priorit... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { messageID = (Serializable)in.readObject(); reliable = in.readBoolean(); expiration = in.readLong(); timestamp = in.readLong(); headers = readMap(in); redelivered = in.readBoolean(); priorit... | 34,673 |
protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | 34,674 |
protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | 34,675 |
protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | 34,676 |
protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | 34,677 |
protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) ... | 34,678 |
public void setPriority(int priority) { this.priority = priority; } | public void setPriority(byte priority) { this.priority = priority; } | 34,679 |
public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(messageID); out.writeBoolean(reliable); out.writeLong(expiration); out.writeLong(timestamp); writeMap(out, headers); out.writeBoolean(redelivered); out.writeInt(priority); out.writeInt(del... | public void writeExternal(ObjectOutput out) throws IOException { out.writeUTF((String)messageID); out.writeBoolean(reliable); out.writeLong(expiration); out.writeLong(timestamp); writeMap(out, headers); out.writeBoolean(redelivered); out.writeInt(priority); out.writeIn... | 34,680 |
public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(messageID); out.writeBoolean(reliable); out.writeLong(expiration); out.writeLong(timestamp); writeMap(out, headers); out.writeBoolean(redelivered); out.writeInt(priority); out.writeInt(del... | public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(messageID); out.writeBoolean(reliable); out.writeLong(expiration); out.writeLong(timestamp); writeMap(out, headers); out.writeBoolean(redelivered); out.writeByte(priority); out.writeInt(de... | 34,681 |
protected void writeMap(ObjectOutput out, Map map) throws IOException { Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iterator it = entrySet.iterator(); it.hasNext(); ) { Map.Entry me = (Map.Entry)it.next(); out.writeUTF((String)me.getKey()); Object ... | protected void writeMap(ObjectOutput out, Map map) throws IOException { Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iterator it = entrySet.iterator(); it.hasNext(); ) { Map.Entry me = (Map.Entry)it.next(); out.writeUTF((String)me.getKey()); Object ... | 34,682 |
protected void writeMap(ObjectOutput out, Map map) throws IOException { Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iterator it = entrySet.iterator(); it.hasNext(); ) { Map.Entry me = (Map.Entry)it.next(); out.writeUTF((String)me.getKey()); Object ... | protected void writeMap(ObjectOutput out, Map map) throws IOException { Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iterator it = entrySet.iterator(); it.hasNext(); ) { Map.Entry me = (Map.Entry)it.next(); out.writeUTF((String)me.getKey()); Object ... | 34,683 |
protected void writeMap(ObjectOutput out, Map map) throws IOException { Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iterator it = entrySet.iterator(); it.hasNext(); ) { Map.Entry me = (Map.Entry)it.next(); out.writeUTF((String)me.getKey()); Object ... | protected void writeMap(ObjectOutput out, Map map) throws IOException { Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iterator it = entrySet.iterator(); it.hasNext(); ) { Map.Entry me = (Map.Entry)it.next(); out.writeUTF((String)me.getKey()); Object ... | 34,684 |
public void actionPerformed(ActionEvent e) { designer.deleteWorkflow(name); } | public void actionPerformed(ActionEvent e) { designer.deleteWorkflow(name); } | 34,686 |
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; // prepare for the list items int old_counter = c.get... | public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; // prepare for the list items int old_counter = c.get... | 34,687 |
public static void layoutContent(final LayoutContext c, final Box block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle().isR... | public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | 34,688 |
public static void layoutContent(final LayoutContext c, final Box block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle().isR... | public static void layoutContent(final LayoutContext c, final Box block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle().isR... | 34,689 |
public static void layoutContent(final LayoutContext c, final Box block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle().isR... | public static void layoutContent(final LayoutContext c, final Box block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle().isR... | 34,690 |
private static void processPageBreakAvoidRun(final LayoutContext c, final Box block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { bool... | private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | 34,691 |
private static void processPageBreakAvoidRun(final LayoutContext c, final Box block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { bool... | private static void processPageBreakAvoidRun(final LayoutContext c, final Box block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { bool... | 34,692 |
private static void processPageBreakAvoidRun(final LayoutContext c, final Box block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { bool... | private static void processPageBreakAvoidRun(final LayoutContext c, final Box block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { bool... | 34,693 |
private static boolean relayoutOnNewPage( LayoutContext c, List contentList, Box block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { block.height = relayoutDataList.get(start).getInitialParentHeight(); block.expandToPage... | private static boolean relayoutOnNewPage( LayoutContext c, List contentList, Box block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { block.height = relayoutDataList.get(start).getInitialParentHeight(); block.expandToPage... | 34,694 |
private static boolean relayoutOnNewPage( LayoutContext c, List contentList, Box block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { block.height = relayoutDataList.get(start).getInitialParentHeight(); block.expandToPage... | private static boolean relayoutOnNewPage( LayoutContext c, List contentList, Box block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { block.height = relayoutDataList.get(start).getInitialParentHeight(); block.expandToPage... | 34,695 |
protected String paramString() { return "JSlider"; } | protected String paramString() { String superParamStr = super.paramString(); StringBuffer sb = new StringBuffer(); sb.append(",isInverted=").append(getInverted()); sb.append(",majorTickSpacing=").append(getMajorTickSpacing()); sb.append(",minorTickSpacing=").append(getMinorTickSpacing()); sb.append(",orientation=... | 34,696 |
protected void updateView() { descriptor = (ActionDescriptor)getDescriptor(); RestrictionDescriptor restriction = descriptor.getRestriction(); if(restriction == null) { restriction = new RestrictionDescriptor(); restriction.setParent(descriptor); ConditionsDescriptor conditions = Descripto... | protected void updateView() { descriptor = (ActionDescriptor)getDescriptor(); RestrictionDescriptor restriction = descriptor.getRestriction(); if(restriction == null) { restriction = new RestrictionDescriptor(); restriction.setParent(descriptor); ConditionsDescriptor conditions = Descripto... | 34,697 |
protected void updateView() { descriptor = (ActionDescriptor)getDescriptor(); RestrictionDescriptor restriction = descriptor.getRestriction(); if(restriction == null) { restriction = new RestrictionDescriptor(); restriction.setParent(descriptor); ConditionsDescriptor conditions = Descripto... | protected void updateView() { descriptor = (ActionDescriptor)getDescriptor(); RestrictionDescriptor restriction = descriptor.getRestriction(); if(restriction == null) { restriction = new RestrictionDescriptor(); restriction.setParent(descriptor); ConditionsDescriptor conditions = Descripto... | 34,698 |
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (log.isTraceEnabled()) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked ... | public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (log.isTraceEnabled()) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked ... | 34,699 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 34,700 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 34,701 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 34,702 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 34,703 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 34,704 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 34,705 |
public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack BlockBox block ... | 34,706 |
public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | 34,707 |
public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | 34,708 |
public static InlineBox newBox(Context c, Node node, int start, int end, InlineBox prev, String text, InlineBox prev_align, Font font) { return newBox(c, node, start, end, prev, text, null, prev_align, font); } | public static InlineBox newBox(Context c, Node node, int start, int end, InlineBox prev, String text, InlineBox prev_align, Font font) { return newBox(c, node, start, end, prev, text, null, prev_align, font); } | 34,709 |
public static void styleInlineBox(Context c, CalculatedStyle style, InlineBox box) { box.color = style.getColor(); TextDecoration.setupTextDecoration(style, box.getNode(), box); Font font = FontUtil.getFont(c, style); box.setFont(font); box.width = FontUtil.len(c, box.getSubstring... | public static void styleInlineBox(Context c, CalculatedStyle style, InlineBox box) { box.color = style.getColor(); TextDecoration.setupTextDecoration(style, box); Font font = FontUtil.getFont(c, style); box.setFont(font); box.width = FontUtil.len(c, box.getSubstring(), font); ... | 34,710 |
public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | 34,711 |
public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | 34,712 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.