bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
protected void runTest() throws Exception { failed = false; Thread[] servitorThreads = new Thread[numSessions]; Servitor[] servitors = new Servitor[numSessions]; for (int i = 0; i < numSessions; i++) { Servitor servitor = createServitor(numMessages); servi... | protected void runTest() throws Exception { failed = false; Thread[] servitorThreads = new Thread[numSessions]; Servitor[] servitors = new Servitor[numSessions]; for (int i = 0; i < numSessions; i++) { Servitor servitor = createServitor(numMessages); servi... | 33,327 |
public static synchronized Connector getCallbackServer() throws Exception { Connector callbackServer = new Connector(); // use an anonymous port - 0.0.0.0 gets filled in by remoting as the current host String locatorURI = "socket://0.0.0.0:0"; callbackServer.setInvokerLocator(locatorURI);... | public static synchronized Connector getCallbackServer() throws Exception { Connector callbackServer = new Connector(); // use an anonymous port - 0.0.0.0 gets filled in by remoting as the current host String locatorURI = "socket://0.0.0.0:0"; callbackServer.setInvokerLocator(locatorURI);... | 33,328 |
public static boolean isBlockLevel(CalculatedStyle style) { String display = style.getStringProperty(CSSName.DISPLAY); if (display.equals("block")) return true; if (display.equals("list-item")) return true; if (display.equals("table")) return true; return false; } | public static boolean isBlockLevel(CalculatedStyle style) { String display = style.getStringProperty(CSSName.DISPLAY); if (display.equals("block")) return true; if (display.equals("list-item")) return true; if (display.equals("table")) return true; return false; } | 33,329 |
public static boolean isFloated(CalculatedStyle style) { String float_val = style.getStringProperty("float"); if (float_val == null) { return false; } if (float_val.equals("left")) { return true; } if (float_val.equals("right")) { return tru... | public static boolean isFloated(CalculatedStyle style) { String float_val = style.getStringProperty("float"); if (float_val == null) { return false; } if (float_val.equals("left")) { return true; } if (float_val.equals("right")) { return tru... | 33,330 |
public static boolean mayHaveFirstLetter(CalculatedStyle style) { String display = style.getStringProperty(CSSName.DISPLAY); if (display.equals("block")) return true; if (display.equals("list-item")) return true; if (display.equals("table-cell")) return true; if (display.equals("t... | public static boolean mayHaveFirstLetter(CalculatedStyle style) { String display = style.getStringProperty(CSSName.DISPLAY); if (display.equals("block")) return true; if (display.equals("list-item")) return true; if (display.equals("table-cell")) return true; if (display.equals("t... | 33,331 |
public static boolean mayHaveFirstLine(CalculatedStyle style) { String display = style.getStringProperty(CSSName.DISPLAY); if (display.equals("block")) return true; if (display.equals("list-item")) return true; if (display.equals("run-in")) return true; if (display.equals("table")... | public static boolean mayHaveFirstLine(CalculatedStyle style) { String display = style.getStringProperty(CSSName.DISPLAY); if (display.equals("block")) return true; if (display.equals("list-item")) return true; if (display.equals("run-in")) return true; if (display.equals("table")... | 33,332 |
public void addChild(Box child) { if (child == null) { throw new NullPointerException("trying to add null child"); } child.setParent(this); boxes.add(child); if (child.isChildrenExceedBounds()) { setChildrenExceedBounds(true); } if (child.isFixe... | public void addChild(Box child) { if (child == null) { throw new NullPointerException("trying to add null child"); } child.setParent(this); boxes.add(child); if (child.isChildrenExceedBounds()) { setChildrenExceedBounds(true); } if (child.isFixe... | 33,334 |
public static ComponentUI createUI(final JComponent c) { return new BasicViewportUI(); } | public static ComponentUI createUI(final JComponent c) { return new BasicViewportUI(); } | 33,335 |
public Dimension getPreferredSize(JComponent c) { Dimension d = new Dimension(100,100); System.out.println("BasicViewportUI->preff->"+d); return d; } | public Dimension getPreferredSize(JComponent c) { Dimension d = new Dimension(100,100); System.out.println("BasicViewportUI->preff->"+d); return d; } | 33,336 |
public void installUI(final JComponent c) { super.installUI(c); } | public void installUI(final JComponent c) { super.installUI(c); } | 33,337 |
public void paint(Graphics g, JComponent c) { System.out.println("BasicViewportUI->paint->"+c); } | public void paint(Graphics g, JComponent c) { System.out.println("BasicViewportUI->paint->"+c); } | 33,338 |
public void handleConnectionException(Throwable throwable, Client client) { try { log.debug(this + " is being notified of connection failure: " + throwable); handleConnectionFailure(cd); } catch (Throwable e) { log.error("Caught excepti... | public void handleConnectionException(Throwable throwable, Client client) { try { log.debug(this + " is being notified of connection failure: " + throwable); handleConnectionFailure(cd, cd.getRemotingConnection()); } catch (Throwable e) { ... | 33,339 |
protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { Valve localValve = null; // The idea is to reset the Valve synchronized with a reset valve synchronized (this) // I'm not sure if this synchronized is necessary. I will keep it here just to be safe... | protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate, JMSRemotingConnection jmsConnection) throws Exception { Valve localValve = null; // The idea is to reset the Valve synchronized with a reset valve synchronized (this) // I'm not sure if this synchronized is necessary... | 33,341 |
protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { Valve localValve = null; // The idea is to reset the Valve synchronized with a reset valve synchronized (this) // I'm not sure if this synchronized is necessary. I will keep it here just to be safe... | protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { log.info("Processing handleConnectionFailure "); // The idea is to reset the Valve synchronized with a reset valve synchronized (this) // I'm not sure if this synchronized is necessary. I will keep... | 33,342 |
protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { Valve localValve = null; // The idea is to reset the Valve synchronized with a reset valve synchronized (this) // I'm not sure if this synchronized is necessary. I will keep it here just to be safe... | protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { Valve localValve = null; // The idea is to reset the Valve synchronized with a reset valve lockValve.writeLock().acquire(); try // I'm not sure if this synchronized is necessary. I will kee... | 33,343 |
protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { Valve localValve = null; // The idea is to reset the Valve synchronized with a reset valve synchronized (this) // I'm not sure if this synchronized is necessary. I will keep it here just to be safe... | protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { Valve localValve = null; // The idea is to reset the Valve synchronized with a reset valve synchronized (this) // I'm not sure if this synchronized is necessary. I will keep it here just to be safe... | 33,344 |
protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { Valve localValve = null; // The idea is to reset the Valve synchronized with a reset valve synchronized (this) // I'm not sure if this synchronized is necessary. I will keep it here just to be safe... | protected void handleConnectionFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { Valve localValve = null; // The idea is to reset the Valve synchronized with a reset valve synchronized (this) // I'm not sure if this synchronized is necessary. I will keep it here just to be safe... | 33,345 |
public Object invoke(Invocation invocation) throws Throwable { Object returnObject = null; boolean failure = false; // Eventually retries in case of listed exceptions for (int i = 0; i < MAX_IO_RETRY_COUNT; i++) { // We shouldn't have any calls being made while the failover is bein... | public Object invoke(Invocation invocation) throws Throwable { Object returnObject = null; boolean failure = false; // Eventually retries in case of listed exceptions for (int i = 0; i < MAX_IO_RETRY_COUNT; i++) { // We shouldn't have any calls being made while the failover is bein... | 33,346 |
public Object invoke(Invocation invocation) throws Throwable { Object returnObject = null; boolean failure = false; // Eventually retries in case of listed exceptions for (int i = 0; i < MAX_IO_RETRY_COUNT; i++) { // We shouldn't have any calls being made while the failover is bein... | public Object invoke(Invocation invocation) throws Throwable { Object returnObject = null; boolean failure = false; // Eventually retries in case of listed exceptions for (int i = 0; i < MAX_IO_RETRY_COUNT; i++) { // We shouldn't have any calls being made while the failover is bein... | 33,347 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 33,348 |
public static Iterator fromCSSPropertyDecl( CSSRule cssRule, CSSStyleDeclaration style, String propName, int sequence ) { // HACK: special cases for RuleNormalizer...need to work this out cleanly PropertyFactory factory = (PropertyFactory)PRP_FACTORIES.get( propName ); if ( ( factory == null &&... | public static Iterator fromCSSPropertyDecl( CSSRule cssRule, CSSStyleDeclaration style, String propName, int sequence ) { // HACK: special cases for RuleNormalizer...need to work this out cleanly PropertyFactory factory = (PropertyFactory)PRP_FACTORIES.get( propName ); if ( propN... | 33,349 |
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } WorkflowDescriptor wf = getWorkflowDescriptorForAction(action); Map cache = (Map) stateCache.get(); ... | private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } WorkflowDescriptor wf = getWorkflowDescriptorForAction(action); Map cache = (Map) stateCache.get(); ... | 33,350 |
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); cache.clear(); Step step = getCurrentSt... | protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear(); } else { s... | 33,351 |
public Class getCategory() { return JobMediaSheets.class; } | public final Class getCategory() { return JobMediaSheets.class; } | 33,352 |
public String getName() { return "job-media-sheets"; } | public final String getName() { return "job-media-sheets"; } | 33,353 |
public ConnectionState(ConnectionDelegate delegate) { super(null, delegate); children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); this.delegate = delegate; resourceManager = new ResourceManager(delegate); //TODO size should be configurable pooledExecutor =... | public ConnectionState(ConnectionDelegate delegate, String serverId) { super(null, delegate); children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); this.delegate = delegate; resourceManager = new ResourceManager(delegate); //TODO size should be configurable ... | 33,355 |
public ConnectionState(ConnectionDelegate delegate) { super(null, delegate); children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); this.delegate = delegate; resourceManager = new ResourceManager(delegate); //TODO size should be configurable pooledExecutor =... | public ConnectionState(ConnectionDelegate delegate) { super(null, delegate); children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); this.delegate = delegate; resourceManager = ResourceManagerFactory.instance.getResourceManager(serverId); //TODO size should be con... | 33,356 |
public DelegateSupport(String objectID, InvokerLocator locator) { this.id = objectID; this.locator = locator; } | public DelegateSupport(String objectID) { this.id = objectID; this.locator = locator; } | 33,357 |
public DelegateSupport(String objectID, InvokerLocator locator) { this.id = objectID; this.locator = locator; } | public DelegateSupport(String objectID, InvokerLocator locator) { this.id = objectID; this.locator = locator; } | 33,358 |
public void init() { ((Advised)this)._getInstanceAdvisor().appendInterceptor(this); checkMarshallers(); try { client = new Client(locator, "JMS"); } catch (Exception e) { throw new RuntimeException("Failed to create client", e); } ... | public void init() { ((Advised)this)._getInstanceAdvisor().appendInterceptor(this); checkMarshallers(); try { client = new Client(locator, "JMS"); } catch (Exception e) { throw new RuntimeException("Failed to create client", e); } ... | 33,359 |
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, ... | 33,360 |
public static void log( String where, Level level, String msg ) { if ( initPending ) { init(); } getLogger( where ).log( level, msg ); } | public static void log( String where, Level level, String msg ) { if ( initPending ) { init(); } getLogger( where ).log( level, msg ); } | 33,361 |
public static void log( String where, Level level, String msg ) { if ( initPending ) { init(); } getLogger( where ).log( level, msg ); } | public static void log( String where, Level level, String msg ) { if ( initPending ) { init(); } getLogger( where ).log( level, msg ); } | 33,362 |
public static void main( String args[] ) { try { XRLog.cascade( "Cascade msg" ); XRLog.cascade( Level.WARNING, "Cascade msg" ); XRLog.exception( "Exception msg" ); XRLog.exception( "Exception msg", new Exception() ); XRLog.general( "General msg" ); XRLog.general( Level.WARNING, "Gener... | public static void main( String args[] ) { try { XRLog.cascade( "Cascade msg" ); XRLog.cascade( Level.WARNING, "Cascade msg" ); XRLog.exception( "Exception msg" ); XRLog.exception( "Exception msg", new Exception() ); XRLog.general( "General msg" ); XRLog.general( Level.WARNING, "Gener... | 33,363 |
public static void main( String args[] ) { try { XRLog.cascade( "Cascade msg" ); XRLog.cascade( Level.WARNING, "Cascade msg" ); XRLog.exception( "Exception msg" ); XRLog.exception( "Exception msg", new Exception() ); XRLog.general( "General msg" ); XRLog.general( Level.WARNING, "Gener... | public static void main( String args[] ) { try { XRLog.cascade( "Cascade msg" ); XRLog.cascade( Level.WARNING, "Cascade msg" ); XRLog.exception( "Exception msg" ); XRLog.exception( "Exception msg", new Exception() ); XRLog.general( "General msg" ); XRLog.general( Level.WARNING, "Gener... | 33,364 |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { String cname = in.readUTF(); if (!cname.equals("")) { if (cname.equals ("UnicastRef2")) { // hack for interoperating with JDK cname = "UnicastRef"; in.read (); //some unknown UnicastRef2 field } c... | private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { String cname = in.readUTF(); if (!cname.equals("")) { if (cname.equals ("UnicastRef2")) { // hack for interoperating with JDK cname = "UnicastRef"; in.read (); //some unknown UnicastRef2 field } c... | 33,365 |
public void testFactoryException() { TestWorkflow.configFile = "osworkflow-badfactory.xml"; //we expect an InternalWorkflowException (can't throw a checked exception in constructor, otherwise the ejb provider //will break spec by having a constructor try { TestWorkflow workflow = new TestWorkflow... | public void testFactoryException() { TestWorkflow.configFile = "/osworkflow-badfactory.xml"; //we expect an InternalWorkflowException (can't throw a checked exception in constructor, otherwise the ejb provider //will break spec by having a constructor try { TestWorkflow workflow = new TestWorkflo... | 33,366 |
public void testStoreException() throws Exception { TestWorkflow.configFile = "osworkflow-jdbc.xml"; TestWorkflow workflow = new TestWorkflow("testuser"); //correct behaviour is to get a store exception since we can't look up the DS try { workflow.initialize("file:auto1.xml", 1, new HashMap()); ... | public void testStoreException() throws Exception { TestWorkflow.configFile = "/osworkflow-jdbc.xml"; TestWorkflow workflow = new TestWorkflow("testuser"); //correct behaviour is to get a store exception since we can't look up the DS try { workflow.initialize("file:auto1.xml", 1, new HashMap()); ... | 33,367 |
public void testStoreException() throws Exception { TestWorkflow.configFile = "osworkflow-jdbc.xml"; TestWorkflow workflow = new TestWorkflow("testuser"); //correct behaviour is to get a store exception since we can't look up the DS try { workflow.initialize("file:auto1.xml", 1, new HashMap()); ... | public void testStoreException() throws Exception { TestWorkflow.configFile = "osworkflow-jdbc.xml"; TestWorkflow workflow = new TestWorkflow("testuser"); //correct behaviour is to get a store exception since we can't look up the DS try { workflow.initialize(getClass().getClassLoader().getResourc... | 33,368 |
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("commiting xid " + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); if (onePhase) { //Invalid xid if (tx == null) { ... | public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("commiting xid " + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); if (onePhase) { //Invalid xid if (tx == null) { ... | 33,370 |
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("commiting xid " + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); if (onePhase) { //Invalid xid if (tx == null) { ... | public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("commiting xid " + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); if (onePhase) { //Invalid xid if (tx == null) { ... | 33,371 |
private void sendTransactionXA(TransactionRequest request, ConnectionDelegate connection) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transactio... | private void sendTransactionXA(TransactionRequest request, ConnectionDelegate connection) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transactio... | 33,372 |
private void sendTransactionXA(TransactionRequest request, ConnectionDelegate connection) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transactio... | private void sendTransactionXA(TransactionRequest request, ConnectionDelegate connection) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transactio... | 33,373 |
public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { u.p("really starting new thread"); u.p("threaded = " + threaded); done = false; graphics = g; if(threaded) { new Thread(this).start(); } else { ... | public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { u.p("really starting new thread"); u.p("threaded = " + threaded); done = false; graphics = g; if(threaded) { new Thread(this).start(); } else { ... | 33,374 |
protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); //Element body = x.child( html, "body" ); //body = html; // se... | public void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); //Element body = x.child( html, "body" ); //body = html; // set u... | 33,375 |
public void doRender() { layout.getRenderer().paint( getRenderingContext().getContext(), body_box ); } | protected void doRender() { layout.getRenderer().paint( getRenderingContext().getContext(), body_box ); } | 33,376 |
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff += ... | public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff += ... | 33,377 |
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff += ... | public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff += ... | 33,378 |
MessageHolder(MessageReference ref, Message msg) { this.ref = ref; this.msg = msg; } | private MessageHolder(Message msg) { this.ref = ref; this.msg = msg; } | 33,379 |
MessageHolder(MessageReference ref, Message msg) { this.ref = ref; this.msg = msg; } | MessageHolder(MessageReference ref, Message msg) { this.msg = msg; } | 33,380 |
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti... | public MessageReference reference(Message m) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExceptio... | 33,382 |
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti... | public MessageReference reference(Routable r) { if (m.isReliable() && !acceptReliableMessages) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { thr... | 33,383 |
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti... | public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti... | 33,384 |
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti... | public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti... | 33,385 |
public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messages.remove(... | protected void remove(String messageId, boolean reliable) throws Exception { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } ... | 33,386 |
public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messages.remove(... | public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messages.remove(... | 33,387 |
public boolean canModifyEntryState(long id, int newState) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case Workflow... | public boolean canModifyEntryState(long id, int newState) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case Workflow... | 33,388 |
public boolean canModifyEntryState(long id, int newState) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case Workflow... | public boolean canModifyEntryState(long id, int newState) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case Workflow... | 33,389 |
public void changeEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() == newState) { return; } if (canModifyEntryState(id, newState)) { if ((newSt... | public void changeEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() == newState) { return; } if (canModifyEntryState(id, newState)) { if (newSta... | 33,390 |
protected void checkImplicitFinish(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = store.findCurrentSteps(id);... | protected void checkImplicitFinish(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = store.findCurrentSteps(id);... | 33,391 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 33,392 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 33,393 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 33,394 |
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex... | protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex... | 33,395 |
protected int[] getAvailableAutoActions(long id, Map inputs) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { throw new IllegalArgumentException("No such workflow id " + id); } ... | protected int[] getAvailableAutoActions(long id, Map inputs) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { throw new IllegalArgumentException("No such workflow id " + id); } ... | 33,396 |
protected List getAvailableAutoActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableAutoActionsForStep called fo... | protected List getAvailableAutoActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableAutoActionsForStep called fo... | 33,397 |
public Configuration getConfiguration() { Configuration config = (configuration != null) ? configuration : DefaultConfiguration.INSTANCE; if (!config.isInitialized()) { try { config.load(null); } catch (FactoryException e) { log.fatal("Error initiali... | public Configuration getConfiguration() { Configuration config = configuration != null ? configuration : DefaultConfiguration.INSTANCE; if (!config.isInitialized()) { try { config.load(null); } catch (FactoryException e) { log.fatal("Error initialisi... | 33,398 |
protected boolean passesCondition(ConditionDescriptor conditionDesc, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { String type = conditionDesc.getType(); Map args = new HashMap(conditionDesc.getArgs()); for (Iterator iterator = args.entrySet().iterator(); ... | protected boolean passesCondition(ConditionDescriptor conditionDesc, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { String type = conditionDesc.getType(); Map args = new HashMap(conditionDesc.getArgs()); for (Iterator iterator = args.entrySet().iterator(); ... | 33,399 |
protected boolean passesConditions(String conditionType, List conditions, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { if ((conditions == null) || (conditions.size() == 0)) { return true; } boolean and = "AND".equals(conditionType); boolean ... | protected boolean passesConditions(String conditionType, List conditions, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { if (conditions == null || conditions.size() == 0) { return true; } boolean and = "AND".equals(conditionType); boolean or =... | 33,400 |
private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ... | private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ... | 33,401 |
private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ... | private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ... | 33,402 |
private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ... | private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ... | 33,403 |
public static void positionFixedChild(Context c, Box box) { if (LayoutUtil.isFixed(c, box)) { Point origin = c.getOriginOffset(); box.x = 0; box.y = 0; box.x -= origin.x; box.y -= origin.y; } } | public static void positionFixedChild(Context c, Box box) { if (LayoutUtil.isFixed(box.getContent().getStyle())) { Point origin = c.getOriginOffset(); box.x = 0; box.y = 0; box.x -= origin.x; box.y -= origin.y; } } | 33,404 |
public static void setupFixed(Context c, Box box) { if (LayoutUtil.isFixed(c, box)) { box.fixed = true; box.setChildrenExceedBounds(true); CalculatedStyle style = c.css.getStyle(box.getNode()); if (style.hasProperty("top")) { box.top = (int) style.ge... | public static void setupFixed(Context c, Box box) { if (LayoutUtil.isFixed(box.getContent().getStyle())) { box.fixed = true; box.setChildrenExceedBounds(true); CalculatedStyle style = c.css.getStyle(box.getNode()); if (style.hasProperty("top")) { box... | 33,405 |
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | 33,408 |
protected int getRowX(int row, int depth) { return depth * rightChildIndent; } | protected int getRowX(int row, int depth) { int iw = getCurrentControlIcon(null).getIconWidth(); return depth * (rightChildIndent + iw/2); } | 33,410 |
public void propertyChange(PropertyChangeEvent event) { if ((event.getPropertyName()).equals("rootVisible")) { validCachedPreferredSize = false; treeState.setRootVisible(tree.isRootVisible()); tree.repaint(); } } | public void propertyChange(PropertyChangeEvent event) { String property = event.getPropertyName(); if (property.equals(JTree.ROOT_VISIBLE_PROPERTY)) { validCachedPreferredSize = false; treeState.setRootVisible(tree.isRootVisible()); tree.repaint(); } } | 33,411 |
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); TreePath lead = tree.getLeadSelectionPath(); if (command.equals("selectPreviousChangeLead") || command.equals("selectPreviousExtendSelection") || command.equals("selectPrevious") || command.equals... | public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); TreePath lead = tree.getLeadSelectionPath(); if (command.equals("selectPreviousChangeLead") || command.equals("selectPreviousExtendSelection") || command.equals("selectPrevious") || command.equals... | 33,413 |
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo... | public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo... | 33,416 |
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo... | public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo... | 33,417 |
public void valueChanged(TreeSelectionEvent event) { if (tree.isEditing()) tree.stopEditing(); } | public void valueChanged(TreeSelectionEvent event) { if (tree.isEditing()) tree.cancelEditing(); TreePath op = event.getOldLeadSelectionPath(); TreePath np = event.getNewLeadSelectionPath(); if (op != np) { Rectangle o = treeState.getBounds(event.getOldLeadSelectionPath(), new Rectangle()); Rectan... | 33,418 |
public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) selectPath(tree, current.getParentPath()); else if (e.getActionCommand().equals("selectChild")) { ... | public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) { if (current == null) return; if (tree.isExpanded(current)) { tree.collapsePath(current); } else { TreePath ... | 33,419 |
public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) selectPath(tree, current.getParentPath()); else if (e.getActionCommand().equals("selectChild")) { ... | public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) selectPath(tree, current.getParentPath()); else if (e.getActionCommand().equals("selectChild")) { ... | 33,420 |
void finish() { editingPath = null; editingRow = - 1; stopEditingInCompleteEditing = false; isEditing = false; tree.removeAll(); validCachedPreferredSize = false; // Repaint the region, where was the editing component. tree.repaint(editingComponent.getParent().getBounds()); editingComp... | void finish() { editingPath = null; editingRow = - 1; stopEditingInCompleteEditing = false; isEditing = false; tree.removeAll(); validCachedPreferredSize = false; // Repaint the region, where was the editing component. tree.repaint(bounds); editingComponent = null; } | 33,421 |
protected boolean isMultiSelectEvent(MouseEvent event) { return (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.CONTIGUOUS_TREE_SELECTION); } | protected boolean isMultiSelectEvent(MouseEvent event) { return (tree.getSelectionModel().getSelectionMode() != TreeSelectionModel.SINGLE_TREE_SELECTION) && ((event.getModifiersEx() & InputEvent.SHIFT_DOWN_MASK) != 0); } | 33,424 |
protected boolean isToggleSelectionEvent(MouseEvent event) { return (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION); } | protected boolean isToggleSelectionEvent(MouseEvent event) { return (tree.getSelectionModel().getSelectionMode() != TreeSelectionModel.SINGLE_TREE_SELECTION) && ((event.getModifiersEx() & InputEvent.CTRL_DOWN_MASK) != 0); } | 33,425 |
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int endIndex = tree.getClosestRowForLocat... | public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int endIndex = tree.getClosestRowForLocat... | 33,426 |
protected void paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { if (shouldPaintExpand... | protected void paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { if (shouldPaintExpand... | 33,428 |
protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boo... | protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boo... | 33,429 |
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI... | protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI... | 33,430 |
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { Rectangle bounds = getPathBounds(tree, path); TreePath parent = path.getParentPath(); if (parent != null) { Rectangle parentBounds = getPathBounds(tr... | protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { Rectangle bounds = getPathBounds(tree, path); TreePath parent = path.getParentPath(); if (parent != null) { Rectangle parentBounds = getPathBounds(tr... | 33,431 |
void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(pa... | void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(pa... | 33,432 |
void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(pa... | void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(pa... | 33,433 |
protected void selectPathForEvent(TreePath path, MouseEvent event) { if (isToggleSelectionEvent(event)) { if (tree.isPathSelected(path)) tree.removeSelectionPath(path); else { tree.addSelectionPath(path); tree.setAnchorSelectionPath(path); } ... | protected void selectPathForEvent(TreePath path, MouseEvent event) { if (isToggleSelectionEvent(event)) { if (tree.isPathSelected(path)) tree.removeSelectionPath(path); else { { tree.setSelectionPath(path); tree.setAnchorSelectionPath(path); } tree.setAn... | 33,434 |
protected boolean startEditing(TreePath path, MouseEvent event) { // Force to recalculate the maximal row height. maxHeight = 0; // Force to recalculate the cached preferred size. validCachedPreferredSize = false; updateCellEditor(); TreeCellEditor ed = getCellEditor(); if (ed != null && (event ... | protected boolean startEditing(TreePath path, MouseEvent event) { // Force to recalculate the maximal row height. maxHeight = 0; // Force to recalculate the cached preferred size. validCachedPreferredSize = false; updateCellEditor(); TreeCellEditor ed = getCellEditor(); if (ed != null && (event ... | 33,435 |
public boolean deliver(Receiver r) { boolean delivered = deliver(this, r); if (delivered) { return true; } // this peer has not redelivered any message but other peers may have messages to redeliver if (r instanceof RemoteQueue) { // this was a remote forward requ... | public boolean deliver(Receiver r) { boolean delivered = super.deliver(r); if (delivered) { return true; } // this peer has not redelivered any message but other peers may have messages to redeliver if (r instanceof RemoteQueue) { // this was a remote forward requ... | 33,436 |
public boolean deliver(Receiver r) { boolean delivered = deliver(this, r); if (delivered) { return true; } // this peer has not redelivered any message but other peers may have messages to redeliver if (r instanceof RemoteQueue) { // this was a remote forward requ... | public boolean deliver(Receiver r) { boolean delivered = super.deliver(r); if (delivered) { return true; } // this peer has not redelivered any message but other peers may have messages to redeliver if (r instanceof RemoteQueue) { // this was a remote forward requ... | 33,437 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.ge... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.ge... | 33,438 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | 33,439 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | 33,440 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.