bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public abstract Rectangle modelToView(JTextComponent t, int pos); | public abstract Rectangle modelToView(JTextComponent tc, int pos) throws BadLocationException; | 27,100 |
public FatChain ( FatFileSystem fs, int startEntry ) { this.fs = fs; this.fat = fs.getFat(); setStartCluster ( startEntry ); this.dirty = false; this.position = new ChainPosition(); this.iterator = listIterator(); } | public FatChain ( FatFileSystem fs, int startEntry ) { this.fs = fs; this.fat = fs.getFat(); setStartCluster ( startEntry ); this.dirty = false; this.position = new ChainPosition(); this.iterator = listIterator(); } | 27,101 |
public void write ( long length, long offset, ByteBuffer src ) throws IOException { if ( length < 0 ) throw new IllegalArgumentException ( "length<0" ); if ( offset < 0 ) throw new IllegalArgumentException ( "offset<0" ); //ChainPosition p = new ChainPosition ( offset ); ChainPosition p = position; p.setPos... | public void write ( long length, long offset, ByteBuffer src ) throws IOException { if ( length < 0 ) throw new IllegalArgumentException ( "length<0" ); if ( offset < 0 ) throw new IllegalArgumentException ( "offset<0" ); //ChainPosition p = new ChainPosition ( offset ); ChainPosition p = position; p.setPos... | 27,103 |
public FirstLetterStyle(CascadedStyle style) { _style = style; } | FirstLetterStyle(CascadedStyle style) { _style = style; } | 27,108 |
Connection connect(String url, Properties info) throws SQLException; | Connection connect(String url, Properties properties) throws SQLException; | 27,112 |
private void createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws StoreException { try { if (log.isDebugEnabled()) { log.debug("Outcome: stepId=" + the... | private void createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws StoreException { try { if (log.isDebugEnabled()) { log.debug("Outcome: stepId=" + nex... | 27,113 |
private void createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws StoreException { try { if (log.isDebugEnabled()) { log.debug("Outcome: stepId=" + the... | private void createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws StoreException { try { if (log.isDebugEnabled()) { log.debug("Outcome: stepId=" + the... | 27,114 |
public FirstLineStyle(CascadedStyle style) { _style = style; } | FirstLineStyle(CascadedStyle style) { _style = style; } | 27,115 |
public TextContent(Element e, CalculatedStyle style) { _elem = e; _style = style; _sb = new StringBuffer(); } | TextContent(Element e) { _elem = e; _style = style; _sb = new StringBuffer(); } | 27,116 |
public TextContent(Element e, CalculatedStyle style) { _elem = e; _style = style; _sb = new StringBuffer(); } | public TextContent(Element e, CalculatedStyle style) { _elem = e; _sb = new StringBuffer(); } | 27,117 |
TableContent() { _elem = null; _style = null; _children = new LinkedList(); } | TableContent() { _elem = null; _style = null; _children = new LinkedList(); } | 27,118 |
public AnonymousBlockContent(Element parent, CalculatedStyle style, List inlineList) { _elem = parent; _style = style; _inline = inlineList; } | AnonymousBlockContent(Element parent, CascadedStyle style, List inlineList) { _elem = parent; _style = style; _inline = inlineList; } | 27,119 |
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | 27,120 |
public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); topicProducer.send(m1); } catch(Exception e) { log.error(e); } ... | public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); topicProducer.send(m); } catch(Exception e) { log.error(e); } ... | 27,122 |
public void add(Delivery d) throws Throwable { Routable r = d.getRoutable(); if (r.isReliable()) { throw new IllegalStateException("Cannot reliably carry out a reliable message delivery"); } if (d instanceof CompositeDelivery) { // TODO break CompositeDelivery in compo... | public void add(Delivery d) throws Throwable { Routable r = d.getRoutable(); if (r.isReliable()) { } if (d instanceof CompositeDelivery) { // TODO break CompositeDelivery in components and add them individually throw new NotYetImplementedException("Don't know ... | 27,123 |
public boolean remove(Routable r) { return messages.remove(r); } | public boolean remove(Delivery d) throws Throwable { return messages.remove(r); } | 27,124 |
public boolean remove(Routable r) { return messages.remove(r); } | public boolean remove(Routable r) { return deliveries.remove(d); } | 27,125 |
public static FloatedBlockBox generateFloatedBlock( LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { //Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy ... | public static FloatedBlockBox generateFloatedBlock( LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { //Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy ... | 27,126 |
public ConnectionState(ConnectionDelegate delegate, String serverId) { super(null, delegate); children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); resourceManager = ResourceManagerFactory.instance.getResourceManager(serverId); //TODO size should be configurable ... | public ConnectionState(ConnectionDelegate delegate, String serverId) { super(null, delegate); children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); resourceManager = ResourceManagerFactory.instance.getResourceManager(serverId); //TODO size should be configurable ... | 27,127 |
public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... | public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... | 27,128 |
public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... | public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... | 27,129 |
public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... | public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... | 27,130 |
public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... | public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... | 27,131 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | 27,132 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | 27,133 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | 27,134 |
public BaseJob(String serverURL, String destinationName) { this.serverURL = serverURL; this.destName = destinationName; } | public BaseJob(String slaveURL, String serverURL, String destinationName) { this.serverURL = serverURL; this.destName = destinationName; } | 27,136 |
protected void setup() throws Exception { //Hardcoded for now - needs to be configurable if it's to work with non jboss //jms providers if (log.isTraceEnabled()) { log.trace("server url is " + serverURL); } Hashtable env = new Hashtable(); env.put("java.naming.facto... | protected void setup() throws Exception { //Hardcoded for now - needs to be configurable if it's to work with non jboss //jms providers if (log.isTraceEnabled()) { log.trace("server url is " + serverURL); } Hashtable env = new Hashtable(); env.put("java.naming.facto... | 27,138 |
ServerSessionEndpoint(int sessionID, ServerConnectionEndpoint connectionEndpoint) throws Exception { this.id = sessionID; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); pm = sp.getPersistenceManagerInstance(); ms = sp.getMessageStore(... | ServerSessionEndpoint(int sessionID, ServerConnectionEndpoint connectionEndpoint) throws Exception { this.id = sessionID; this.connectionEndpoint = connectionEndpoint; sp = connectionEndpoint.getServerPeer(); pm = sp.getPersistenceManagerInstance(); ms = sp.getMessageStore(); dm ... | 27,139 |
public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { Cancel c... | 27,140 |
public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | 27,141 |
public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | 27,142 |
public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | 27,143 |
public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | 27,144 |
void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } | public void cancelDelivery(Cancel cancel) throws JMSException { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } | 27,145 |
void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } | void cancelDelivery(long deliveryId) throws Throwable { if (trace) {log.trace(this + " cancelDelivery " + cancel); } if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } | 27,146 |
void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } | void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); try { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } | 27,147 |
void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } | void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { Delivery del = cancelDeliveryInternal(cancel); ((Channel)del.getObserver()).deliver(false); } del.cancel(); } | 27,148 |
void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } | void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } catch (Throwable t) { throw ExceptionUtil.hand... | 27,149 |
public ManagedTopic(String name, int fullSize, int pageSize, int downCacheSize) { super(name, fullSize, pageSize, downCacheSize); } | public ManagedTopic(String name, int fullSize, int pageSize, int downCacheSize) { super(name, fullSize, pageSize, downCacheSize); } | 27,151 |
Binding bindQueue(String queueName, String condition, Queue queue) throws Exception; | Binding bindQueue(String queueName, String condition, Filter filter, Queue queue) throws Exception; | 27,152 |
public void rollback() throws Exception { //TODO - rollback the tx in the database if (log.isTraceEnabled()) { log.trace("rolling back " + this); } state = STATE_ROLLEDBACK; if (insertedTXRecord) { pm.rollbackTx(this); } Iterator iter = postRollbackTasks.itera... | public void rollback() throws Exception { //TODO - rollback the tx in the database if (log.isTraceEnabled()) { log.trace("rolling back " + this); } state = STATE_ROLLEDBACK; if (insertedTXRecord) { pm.rollbackTx(this); } Iterator iter = callbacks.iterator(); ... | 27,153 |
public void rollback() throws Exception { //TODO - rollback the tx in the database if (log.isTraceEnabled()) { log.trace("rolling back " + this); } state = STATE_ROLLEDBACK; if (insertedTXRecord) { pm.rollbackTx(this); } Iterator iter = postRollbackTasks.itera... | public void rollback() throws Exception { //TODO - rollback the tx in the database if (log.isTraceEnabled()) { log.trace("rolling back " + this); } state = STATE_ROLLEDBACK; if (insertedTXRecord) { pm.rollbackTx(this); } Iterator iter = postRollbackTasks.itera... | 27,154 |
protected void sendMessage(JBossMessage m, Transaction tx) throws JMSException { if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx)); } // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDe... | protected void sendMessage(JBossMessage m, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)m.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDe... | 27,155 |
protected void sendMessage(JBossMessage m, Transaction tx) throws JMSException { if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx)); } // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDe... | protected void sendMessage(JBossMessage m, Transaction tx) throws JMSException { if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx)); } // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDe... | 27,156 |
public String getNodeId() { return nodeId; } | public int getNodeId() { return nodeId; } | 27,157 |
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(... | 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(... | 27,158 |
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) { ... | 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) { ... | 27,159 |
public static CSSName getByPropertyName(String propName) { CSSName cssName = (CSSName) ALL_PROPERTY_NAMES.get(propName); return cssName; } | public static CSSName getByPropertyName(String propName) { return cssName; } | 27,160 |
public static CSSName getByPropertyName(String propName) { CSSName cssName = (CSSName) ALL_PROPERTY_NAMES.get(propName); return cssName; } | public static CSSName getByPropertyName(String propName) { CSSName cssName = (CSSName) ALL_PROPERTY_NAMES.get(propName); return (CSSName) ALL_PROPERTY_NAMES.get(propName); } | 27,161 |
public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | 27,162 |
public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | 27,163 |
public synchronized boolean hasListeners(String propertyName) { // Get Listener list if (propertyListeners.get(propertyName) == null) { return false; } // if return true; } // hasListeners() | public synchronized boolean hasListeners(String propertyName) { // Get Listener list if (propertyListeners.get(propertyName) == null) { return false; } // if return true; } // hasListeners() | 27,164 |
public synchronized boolean hasListeners(String propertyName) { // Get Listener list if (propertyListeners.get(propertyName) == null) { return false; } // if return true; } // hasListeners() | public synchronized boolean hasListeners(String propertyName) { // Get Listener list if (propertyListeners.get(propertyName) == null) { return false; else return (propertyListeners.get(propertyName) != null); } // if return true; else return (propertyListeners.get(propertyName) != null); } // hasListeners() | 27,165 |
public int getListenerCount() { return (int) listenerList.length / 2; } // getListenerCount | public int getListenerCount() { return (int) listenerList.length / 2; } // getListenerCount | 27,166 |
public SimpleDateFormat(String pattern) { this(pattern, Locale.getDefault()); } | public SimpleDateFormat() { this(pattern, Locale.getDefault()); } | 27,167 |
public SimpleDateFormat(String pattern) { this(pattern, Locale.getDefault()); } | public SimpleDateFormat(String pattern) { super(); Locale locale = Locale.getDefault(); calendar = new GregorianCalendar(locale); computeCenturyStart(); tokens = new ArrayList(); formatData = new DateFormatSymbols(locale); pattern = (formatData.dateFormats[DEFAULT] + ' ' + formatData.timeFormats[DEFAULT]); compi... | 27,168 |
public void add(Cmd oCmd) { // Not inside a repeat cmd? if (m_vStack.size() == 0) { m_vCmds.add(oCmd); // Start a new cmd block. if (oCmd instanceof RepeatCmd) m_vStack.push(oCmd); } // Inside a repeat cmd. else // (m_vStack.size() > 0) { RepeatCmd oRepeatCmd = (RepeatCmd) m_vStack.lastElement(); /... | public void add(Cmd oCmd) { // Not inside a repeat cmd? if (m_vStack.size() == 0) { m_vCmds.add(oCmd); // Start a new cmd block. if (oCmd instanceof RepeatCmd) m_vStack.push(oCmd); } // Inside a repeat cmd. else // (m_vStack.size() > 0) { RepeatCmd oRepeatCmd = (RepeatCmd) m_vStack.lastElement(); /... | 27,169 |
public void matchStyles( Document document ) { try { if ( _tbStyleMap == null ) { if ( !_elementStyleAttributesPulled ) { try { NodeList nl = XPathAPI.selectNodeList(document.getDocumentElement(), "//*[@style!='']"); // HACK: better on fi... | public void matchStyles( Document document ) { try { if ( _tbStyleMap == null ) { if ( !_elementStyleAttributesPulled ) { try { NodeList nl = XPathAPI.selectNodeList(document.getDocumentElement(), "//*[@style!='']"); // HACK: better on fi... | 27,170 |
public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) { this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); } | public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) { this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); } | 27,173 |
public void createLayout() { file.add(open_file); file.add(quit); add(file); view.add(view_source); add(view); demos.add(new LoadAction("Borders","demos/border.xhtml")); demos.add(new LoadAction("Backgrounds","demos/background.xhtml")); demos.a... | public void createLayout() { file.add(open_file); file.add(quit); add(file); view.add(view_source); add(view); demos.add(new LoadAction("Borders","demos/border.xhtml")); demos.add(new LoadAction("Backgrounds","demos/background.xhtml")); demos.a... | 27,174 |
public void close() throws JMSException { try { synchronized (lock) { // On close we only disconnect the consumer from the queue we don't actually remove // it. This is because it may still contain deliveries that may well be acknowledged // after t... | public void close() throws JMSException { try { synchronized (lock) { // On close we only disconnect the consumer from the queue we don't actually remove // it. This is because it may still contain deliveries that may well be acknowledged // after t... | 27,177 |
public void close() throws JMSException { try { synchronized (lock) { // On close we only disconnect the consumer from the queue we don't actually remove // it. This is because it may still contain deliveries that may well be acknowledged // after t... | public void close() throws JMSException { try { synchronized (lock) { // On close we only disconnect the consumer from the queue we don't actually remove // it. This is because it may still contain deliveries that may well be acknowledged // after t... | 27,178 |
BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException; | BigDecimal getBigDecimal(int index, int scale) throws SQLException; | 27,179 |
boolean getBoolean(int parameterIndex) throws SQLException; | boolean getBoolean(int index) throws SQLException; | 27,180 |
byte getByte(int parameterIndex) throws SQLException; | byte getByte(int index) throws SQLException; | 27,181 |
byte[] getBytes(int parameterIndex) throws SQLException; | byte[] getBytes(int index) throws SQLException; | 27,182 |
Date getDate(int parameterIndex) throws SQLException; | Date getDate(int index) throws SQLException; | 27,183 |
double getDouble(int parameterIndex) throws SQLException; | double getDouble(int index) throws SQLException; | 27,184 |
float getFloat(int parameterIndex) throws SQLException; | float getFloat(int index) throws SQLException; | 27,185 |
int getInt(int parameterIndex) throws SQLException; | int getInt(int index) throws SQLException; | 27,186 |
long getLong(int parameterIndex) throws SQLException; | long getLong(int index) throws SQLException; | 27,187 |
Object getObject(int parameterIndex) throws SQLException; | Object getObject(int index) throws SQLException; | 27,188 |
short getShort(int parameterIndex) throws SQLException; | short getShort(int index) throws SQLException; | 27,189 |
String getString(int parameterIndex) throws SQLException; | String getString(int index) throws SQLException; | 27,190 |
Time getTime(int parameterIndex) throws SQLException; | Time getTime(int index) throws SQLException; | 27,191 |
Timestamp getTimestamp(int parameterIndex) throws SQLException; | Timestamp getTimestamp(int index) throws SQLException; | 27,192 |
URL getURL(int parameterIndex) throws SQLException; | URL getURL(int index) throws SQLException; | 27,193 |
void registerOutParameter(int parameterIndex, int sqlType) throws SQLException; | void registerOutParameter(int index, int sqlType) throws SQLException; | 27,194 |
void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException; | void setAsciiStream(String name, InputStream stream, int count) throws SQLException; | 27,195 |
void setBigDecimal(String parameterName, BigDecimal x) throws SQLException; | void setBigDecimal(String name, BigDecimal value) throws SQLException; | 27,196 |
void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException; | void setBinaryStream(String name, InputStream stream, int count) throws SQLException; | 27,197 |
void setBoolean(String parameterName, boolean x) throws SQLException; | void setBoolean(String name, boolean value) throws SQLException; | 27,198 |
void setByte(String parameterName, byte x) throws SQLException; | void setByte(String name, byte value) throws SQLException; | 27,199 |
void setBytes(String parameterName, byte[] x) throws SQLException; | void setBytes(String name, byte[] value) throws SQLException; | 27,200 |
void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException; | void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException; | 27,201 |
void setDate(String parameterName, Date x) throws SQLException; | void setDate(String name, Date value) throws SQLException; | 27,202 |
void setDouble(String parameterName, double x) throws SQLException; | void setDouble(String name, double value) throws SQLException; | 27,203 |
void setFloat(String parameterName, float x) throws SQLException; | void setFloat(String name, float value) throws SQLException; | 27,204 |
void setInt(String parameterName, int x) throws SQLException; | void setInt(String name, int value) throws SQLException; | 27,205 |
void setLong(String parameterName, long x) throws SQLException; | void setLong(String name, long value) throws SQLException; | 27,206 |
void setNull(String parameterName, int sqlType) throws SQLException; | void setNull(String name, int sqlType) throws SQLException; | 27,207 |
void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException; | void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException; | 27,208 |
void setShort(String parameterName, short x) throws SQLException; | void setShort(String name, short value) throws SQLException; | 27,209 |
void setString(String parameterName, String x) throws SQLException; | void setString(String name, String value) throws SQLException; | 27,210 |
void setTime(String parameterName, Time x) throws SQLException; | void setTime(String name, Time value) throws SQLException; | 27,211 |
void setTimestamp(String parameterName, Timestamp x) throws SQLException; | void setTimestamp(String name, Timestamp value) throws SQLException; | 27,212 |
void setURL(String parameterName, URL val) throws SQLException; | void setURL(String name, URL value) throws SQLException; | 27,213 |
protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = contentRect.height - labelRect.y; } else { labelRect.x = tickRect.x + tickRe... | protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = getHeightOfTallestLabel(); } else { labelRect.x = tickRect.x + tickRect.widt... | 27,217 |
protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = contentRect.height - labelRect.y; } else { labelRect.x = tickRect.x + tickRe... | protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = contentRect.height - labelRect.y; } else { labelRect.x = tickRect.x + tickRe... | 27,218 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.