bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { accept = messageSelector.accept(r); if (trace) { log.trace("message selector " + (accept ? "accepts " : "DOES NOT accept ") + "the message"); } } if (accept) { if (noLoca... | public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { accept = messageSelector.accept(r); if (trace) { log.trace("message selector " + (accept ? "accepts " : "DOES NOT accept ") + "the message"); } } if (accept) { if (noLoca... | 27,893 |
public Box(Box box) { this(); x = box.x; y = box.y; width = box.width; height = box.height; setNode(box.getNode()); setContent(box.getContent()); border = box.border; margin = box.margin; padding = box.padding; color = box.color; } | public Box(Box box) { this(); x = box.x; y = box.y; width = box.width; height = box.height; setNode(box.getNode()); setContent(box.getContent()); border = box.border; margin = box.margin; padding = box.padding; color = box.color; } | 27,894 |
public BorderColor getBorderColor() { return bd_color; } | public BorderColor getBorderColor() { return border_color; } | 27,895 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | 27,896 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | 27,897 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | 27,898 |
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); } sb.append(" (... | public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); /*if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); } sb.append("... | 27,899 |
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); } sb.append(" (... | public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getContent() == null) { sb.append(" null content, "); }*/ else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); }*/ sb.append... | 27,900 |
public void mouseDragged(MouseEvent e) { if (e.getComponent() instanceof BasicPanel) { panel = (BasicPanel) e.getComponent(); Box box = panel.findBox(e.getX(), e.getY()); if (box == null) { return; } // if box is text node then start selec... | public void mouseDragged(MouseEvent e) { if (e.getComponent() instanceof BasicPanel) { panel = (BasicPanel) e.getComponent(); Box box = panel.findBox(e.getX(), e.getY()); if (box == null) { return; } // if box is text node then start selec... | 27,901 |
private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe... | private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe... | 27,902 |
private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe... | private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe... | 27,903 |
public static void paint(Context c, Box box) { CalculatedStyle style = c.getCurrentStyle(); String type = style.getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (... | public static void paint(Context c, Box box) { CalculatedStyle style = c.getCurrentStyle(); String type = style.getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (... | 27,904 |
public int viewToModel(float x, float y, Shape a, Position.Bias b) { // FIXME: Implement this properly. return 0; } | public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { // FIXME: Implement this properly. return 0; } | 27,905 |
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("JMSDestinat... | protected void sendMessage(JBossMessage jbm, 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("JMSDestin... | 27,906 |
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("JMSDestinat... | protected void sendMessage(JBossMessage m, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDestin... | 27,907 |
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("JMSDestinat... | 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("JMSDestinat... | 27,908 |
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("JMSDestinat... | 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("JMSDestinat... | 27,909 |
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("JMSDestinat... | 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("JMSDestinat... | 27,910 |
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("JMSDestinat... | 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("JMSDestinat... | 27,911 |
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("JMSDestinat... | 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("JMSDestinat... | 27,912 |
private Point adjustLocation(Point p, Component c, Dimension d) { if (p.x + d.width > c.getWidth()) p.x -= d.width; if (p.x < 0) p.x = 0; if (p.y + d.height < c.getHeight()) p.y += d.height; if (p.y + d.height > c.getHeight()) p.y -= d.height*2; return p; } | private Point adjustLocation(Point p, Component c, Dimension d) { if (p.x + d.width > c.getWidth()) p.x -= d.width; if (p.x < 0) p.x = 0; if (p.y + d.height < c.getHeight()) p.y += d.height; if (p.y + d.height > c.getHeight()) p.y -= d.height; return p; } | 27,913 |
void hideTip() { if (currentTip == null || ! currentTip.isVisible() || ! enabled) return; currentTip.setVisible(false); if (containerPanel != null) { Container parent = containerPanel.getParent(); if (parent == null) return; parent.remove(containerPanel); parent = currentTip.getParent(); if (par... | void hideTip() { if (currentTip == null || ! currentTip.isVisible() || ! enabled) return; currentTip.setVisible(false); if (containerPanel != null) { Container parent = containerPanel.getParent(); if (parent == null) return; parent.remove(containerPanel); parent = currentTip.getParent(); if (par... | 27,914 |
public void mouseEntered(MouseEvent event) { if (currentComponent != null && getContentPaneDeepestComponent(event) == currentComponent) return; currentPoint = event.getPoint(); currentComponent = (Component) event.getSource(); if (exitTimer.isRunning()) { exitTimer.stop(); insideTimer.st... | public void mouseEntered(MouseEvent event) { if (currentComponent != null && getContentPaneDeepestComponent(event) == currentComponent) return; currentPoint = event.getPoint(); currentComponent = (Component) event.getSource(); if (exitTimer.isRunning()) { exitTimer.stop(); showTip(); ret... | 27,915 |
public void mouseExited(MouseEvent event) { if (getContentPaneDeepestComponent(event) == currentComponent) return; currentPoint = event.getPoint(); currentComponent = null; hideTip(); if (! enterTimer.isRunning() && insideTimer.isRunning()) exitTimer.start(); if (enterTimer.isRunning()) ... | public void mouseExited(MouseEvent event) { if (getContentPaneDeepestComponent(event) == currentComponent) return; currentPoint = event.getPoint(); currentComponent = null; hideTip(); if (! enterTimer.isRunning()) exitTimer.start(); if (enterTimer.isRunning()) enterTimer.stop(); i... | 27,916 |
void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || !currentComponent.isShowing()) { popup = null; return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompone... | 27,917 |
void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | 27,918 |
void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | 27,919 |
void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | 27,920 |
void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | 27,921 |
void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | void showTip() { if (!enabled || currentComponent == null || !currentComponent.isEnabled() || (currentTip != null && currentTip.isVisible())) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JCompon... | 27,922 |
public void testSimple() throws Exception { if (ServerManagement.isRemote()) return; final int NUM_MESSAGES = 10; Connection connConsumer = null; Connection connProducer = null; try { connConsumer = cf.createConnection(); connConsumer... | public void testSimple() throws Exception { if (ServerManagement.isRemote()) return; final int NUM_MESSAGES = 10; Connection connConsumer = null; Connection connProducer = null; try { connConsumer = cf.createConnection(); connConsumer... | 27,923 |
public String getConnectionID() { return connectionID; } | public int getConnectionID() { return connectionID; } | 27,924 |
public int getType() { return JBossMessage.TYPE; } | public byte getType() { return JBossMessage.TYPE; } | 27,925 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); properties = readMap(in); int length = in... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); properties = readMap(in); int length = in... | 27,926 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); properties = readMap(in); int length = in... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); properties = readMap(in); int length = in... | 27,927 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); properties = readMap(in); int length = in... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); properties = readMap(in); int length = in... | 27,928 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); properties = readMap(in); int length = in... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); properties = readMap(in); int length = in... | 27,929 |
public void setConnectionID(String connectionID) { this.connectionID = connectionID; } | public void setConnectionID(int connectionID) { this.connectionID = connectionID; } | 27,930 |
public void setJMSPriority(int priority) throws JMSException { this.priority = priority; } | public void setJMSPriority(int priority) throws JMSException { this.priority = (byte)priority; } | 27,931 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | 27,932 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationID == null && correlationIDBytes == null) ... | 27,933 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeByte(... | 27,934 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | 27,935 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | 27,936 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); if (correlationIDBytes == null) { out.writeInt(-... | 27,937 |
public BytesMessageDelegate(JBossBytesMessage message) { super(message); } | public BytesMessageDelegate(JBossBytesMessage message, int deliveryCount) { super(message); } | 27,938 |
public BytesMessageDelegate(JBossBytesMessage message) { super(message); } | public BytesMessageDelegate(JBossBytesMessage message) { super(message, deliveryCount); } | 27,939 |
public MapMessageDelegate(JBossMapMessage message) { super(message); } | public MapMessageDelegate(JBossMapMessage message, int deliveryCount) { super(message); } | 27,940 |
public MapMessageDelegate(JBossMapMessage message) { super(message); } | public MapMessageDelegate(JBossMapMessage message) { super(message, deliveryCount); } | 27,941 |
public ObjectMessageDelegate(JBossObjectMessage message) { super(message); } | public ObjectMessageDelegate(JBossObjectMessage message, int deliveryCount) { super(message); } | 27,942 |
public ObjectMessageDelegate(JBossObjectMessage message) { super(message); } | public ObjectMessageDelegate(JBossObjectMessage message) { super(message, deliveryCount); } | 27,943 |
public StreamMessageDelegate(JBossStreamMessage message) { super(message); } | public StreamMessageDelegate(JBossStreamMessage message, int deliveryCount) { super(message); } | 27,944 |
public StreamMessageDelegate(JBossStreamMessage message) { super(message); } | public StreamMessageDelegate(JBossStreamMessage message) { super(message, deliveryCount); } | 27,945 |
public TextMessageDelegate(JBossTextMessage message) { super(message); } | public TextMessageDelegate(JBossTextMessage message, int deliveryCount) { super(message); } | 27,946 |
public TextMessageDelegate(JBossTextMessage message) { super(message); } | public TextMessageDelegate(JBossTextMessage message) { super(message, deliveryCount); } | 27,947 |
public String toString() { return value ? "true" : "false"; } | public static String toString(boolean b) { return value ? "true" : "false"; } | 27,948 |
public String toString() { return value ? "true" : "false"; } | public String toString() { return b ? "true" : "false"; } | 27,949 |
public String toString() { return toString(value); } | public static String toString(double d) { return toString(value); } | 27,950 |
public String toString() { return toString(value); } | public String toString() { return VMDouble.toString(d, false); } | 27,951 |
public DefaultPostOffice(DataSource ds, TransactionManager tm, Properties sqlProperties, boolean createTablesOnStartup, int nodeId, String officeName, MessageStore ms, PersistenceManager pm, TransactionRepository tr, Filt... | public DefaultPostOffice(DataSource ds, TransactionManager tm, Properties sqlProperties, boolean createTablesOnStartup, int nodeId, String officeName, MessageStore ms, PersistenceManager pm, TransactionRepository tr, Filt... | 27,954 |
DefaultClusteredBindings(String thisNode) { super(); nameMap = new HashMap(); this.thisNode = thisNode; } | DefaultClusteredBindings(int thisNode) { super(); nameMap = new HashMap(); this.thisNode = thisNode; } | 27,955 |
BindingInfo(String nodeId, String queueName, String condition, String filterString, long channelId, boolean durable) { this.nodeId = nodeId; this.queueName = queueName; this.condition = condition; this.filterString = filterString; this.channelId = chan... | BindingInfo(String nodeId, String queueName, String condition, String filterString, long channelId, boolean durable) { this.nodeId = nodeId; this.queueName = queueName; this.condition = condition; this.filterString = filterString; this.channelId = chan... | 27,956 |
Object syncSendRequest(ClusterRequest request, String nodeId, boolean ignoreNoAddress) throws Exception; | Object syncSendRequest(ClusterRequest request, int nodeId, boolean ignoreNoAddress) throws Exception; | 27,957 |
public Binding unbindQueue(String queueName) throws Throwable { if (trace) { log.trace(this + " unbinding queue " + queueName); } if (queueName == null) { throw new IllegalArgumentException("Queue name is null"); } lock.writeLock().acquire(); try {... | public Binding unbindQueue(String queueName) throws Throwable { if (trace) { log.trace(this + " unbinding queue " + queueName); } if (queueName == null) { throw new IllegalArgumentException("Queue name is null"); } lock.writeLock().acquire(); try {... | 27,958 |
private void paintChildrenOptimized(Graphics g) { Shape originalClip = g.getClip(); Rectangle inner = SwingUtilities.calculateInnerArea(this, rectCache); g.clipRect(inner.x, inner.y, inner.width, inner.height); Component[] children = getComponents(); // Find the bottommost component that needs to be p... | private void paintChildrenOptimized(Graphics g) { Shape originalClip = g.getClip(); Rectangle inner = SwingUtilities.calculateInnerArea(this, rectCache); g.clipRect(inner.x, inner.y, inner.width, inner.height); Component[] children = getComponents(); // Find the bottommost component that needs to be p... | 27,962 |
private void paintChildrenOptimized(Graphics g) { Shape originalClip = g.getClip(); Rectangle inner = SwingUtilities.calculateInnerArea(this, rectCache); g.clipRect(inner.x, inner.y, inner.width, inner.height); Component[] children = getComponents(); // Find the bottommost component that needs to be p... | private void paintChildrenOptimized(Graphics g) { Shape originalClip = g.getClip(); Rectangle inner = SwingUtilities.calculateInnerArea(this, rectCache); g.clipRect(inner.x, inner.y, inner.width, inner.height); Component[] children = getComponents(); // Find the bottommost component that needs to be p... | 27,963 |
public void registerEntireMap (ComponentInputMap map) { if (map == null) return; JComponent comp = map.getComponent(); KeyStroke[] keys = map.keys(); if (keys == null) return; // Find the top-level container associated with this ComponentInputMap Container topLevel = findTopLevel(comp... | public void registerEntireMap (ComponentInputMap map) { if (map == null) return; JComponent comp = map.getComponent(); KeyStroke[] keys = map.allKeys(); if (keys == null) return; // Find the top-level container associated with this ComponentInputMap Container topLevel = findTopLevel(c... | 27,965 |
public void ancestorMoved(AncestorEvent event); | void ancestorMoved(AncestorEvent event); | 27,966 |
public void ancestorRemoved(AncestorEvent event); | void ancestorRemoved(AncestorEvent event); | 27,967 |
public DebugGraphics(Graphics graphics) { // TODO } | public DebugGraphics() { // TODO } | 27,968 |
public int getDebugOptions() { return 0; // TODO } | public int getDebugOptions() { return debugOptions; // TODO } | 27,969 |
public Container getFocusCycleRootAncestor () { if (this instanceof Window && ((Container) this).isFocusCycleRoot ()) return (Container) this; Container parent = getParent (); while (parent != null && !parent.isFocusCycleRoot ()) parent = parent.getParent (); return parent; } | public Container getFocusCycleRootAncestor () { if (this instanceof Window && ((Container) this).isFocusCycleRoot ()) return (Container) this; Container parent = getParent (); while (parent != null && !parent.isFocusCycleRoot ()) parent = parent.getParent (); return parent; } | 27,971 |
public FocusTraversalPolicy getFocusTraversalPolicy () { if (!isFocusCycleRoot ()) return null; if (focusTraversalPolicy == null) { Container ancestor = getFocusCycleRootAncestor (); if (ancestor != this) return ancestor.getFocusTraversalPolicy (); else { KeyboardFocusManager manager = Ke... | public FocusTraversalPolicy getFocusTraversalPolicy () { if (!isFocusCycleRoot ()) return null; if (focusTraversalPolicy == null) { Container ancestor = getFocusCycleRootAncestor (); if (ancestor != this && ancestor != null) return ancestor.getFocusTraversalPolicy (); else { KeyboardFocu... | 27,972 |
private static WorkflowDescriptor load(InputStream is, URL url) throws SAXException, IOException, InvalidWorkflowDescriptorException { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); dbf.setValidating(true); DocumentBuilder db = null; ... | private static WorkflowDescriptor load(InputStream is, URL url) throws SAXException, IOException, InvalidWorkflowDescriptorException { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); dbf.setValidating(true); DocumentBuilder db = null; ... | 27,974 |
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); out.println("<workflow>"); Iterator iter = metaAttributes.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); XMLUtil.printIndent(out, inde... | public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); out.println("<workflow>"); Iterator iter = metaAttributes.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); XMLUtil.printIndent(out, inde... | 27,975 |
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); out.println("<workflow>"); Iterator iter = metaAttributes.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); XMLUtil.printIndent(out, inde... | public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); out.println("<workflow>"); Iterator iter = metaAttributes.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); XMLUtil.printIndent(out, inde... | 27,976 |
public void afterCommit() { for(Iterator i = refs.iterator(); i.hasNext(); ) { MessageReference ref = (MessageReference)i.next(); if (log.isTraceEnabled()) { log.trace(this + ": adding " + ref + " to non-recoverable state"); } messageRefs.addLast(ref, ref.getP... | public void afterCommit() { for(Iterator i = refs.iterator(); i.hasNext(); ) { MessageReference ref = (MessageReference)i.next(); if (log.isTraceEnabled()) { log.trace(this + ": adding " + ref + " to non-recoverable state"); } messageRefs.addLast(ref, ref.getP... | 27,977 |
public void afterCommit() { for(Iterator i = dels.iterator(); i.hasNext(); ) { Delivery d = (Delivery)i.next(); if (log.isTraceEnabled()) { log.trace(this + " removing " + d + " after commit"); } deliveries.remove(d.getReference().getMessageID()); d... | public void afterCommit() { for(Iterator i = dels.iterator(); i.hasNext(); ) { Delivery d = (Delivery)i.next(); if (log.isTraceEnabled()) { log.trace(this + " removing " + d + " after commit"); } deliveries.remove(d); d.getReference().releaseReferen... | 27,978 |
public NonRecoverableState(Channel channel, boolean acceptReliableMessages) { this.channel = channel; this.acceptReliableMessages = acceptReliableMessages; messageRefs = new BasicSynchronizedPrioritizedDeque(new BasicPrioritizedDeque(10)); deliveries = new ConcurrentHashMap(); txToAddRefer... | public NonRecoverableState(Channel channel, boolean acceptReliableMessages) { this.channel = channel; this.acceptReliableMessages = acceptReliableMessages; messageRefs = new BasicSynchronizedPrioritizedDeque(new BasicPrioritizedDeque(10)); deliveries = new ConcurrentHashSet(); txToAddRefer... | 27,979 |
public void add(MessageReference ref, Transaction tx) throws Throwable { if (log.isTraceEnabled()) { log.trace(this + " adding " + ref + (tx == null ? " non-transactionally" : " in transaction: " + tx)); } if (tx == null) { if (ref.isReliable() && !acceptReliableMessages) { ... | public void add(MessageReference ref, Transaction tx) throws Throwable { if (log.isTraceEnabled()) { log.trace(this + " adding " + ref + (tx == null ? " non-transactionally" : " in transaction: " + tx)); } if (tx == null) { if (ref.isReliable() && !acceptReliableMessages) { ... | 27,980 |
public List delivering(Filter filter) { List delivering = new ArrayList(); synchronized (deliveries) { for(Iterator i = deliveries.values().iterator(); i.hasNext(); ) { Delivery d = (Delivery)i.next(); MessageReference r = d.getReference(); // TODO: I... | public List delivering(Filter filter) { List delivering = new ArrayList(); synchronized (deliveries) { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { Delivery d = (Delivery)i.next(); MessageReference r = d.getReference(); // TODO: I need to ... | 27,982 |
protected boolean shouldFillGap(int currentRun, int tabIndex, int x, int y) { return true; } | protected boolean shouldFillGap(int currentRun, int tabIndex, int x, int y) { return false; } | 27,988 |
protected TreeCellEditor createTreeCellEditor() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); realEditor = new DefaultCellEditor(new DefaultTreeCellEditor.DefaultTextField( defaults.getBorder("Tree.selectionBorder"))); return realEditor; } | protected TreeCellEditor createTreeCellEditor() { realEditor = new DefaultCellEditor(new DefaultTreeCellEditor.DefaultTextField( defaults.getBorder("Tree.selectionBorder"))); return realEditor; } | 27,989 |
protected TreeCellEditor createTreeCellEditor() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); realEditor = new DefaultCellEditor(new DefaultTreeCellEditor.DefaultTextField( defaults.getBorder("Tree.selectionBorder"))); return realEditor; } | protected TreeCellEditor createTreeCellEditor() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); realEditor = new DefaultCellEditor(new DefaultTreeCellEditor.DefaultTextField( UIManager.getBorder("Tree.selectionBorder"))); return realEditor; } | 27,990 |
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); // Set color for unselected text. g.setColor(... | protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); // Set color for unselected text. g.setColor(... | 27,991 |
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); // Set color for unselected text. g.setColor(... | protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); // Set color for unselected text. g.setColor(... | 27,992 |
public String toString() { return new String(array, offset, count); } | public String toString() { return (array != null) ? new String(array, offset, count) : ""; } | 27,993 |
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { return super.modelToView(pos, a, bias); } | public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { Shape newAlloc = adjustAllocation(a); return super.modelToView(pos, newAlloc, bias); } | 27,994 |
public static String deriveKey( CalculatedStyle style, CSSName[] sideProperties ) { String key = null; boolean isAbs = true; for (int i = 0; i < sideProperties.length && isAbs; i++) { isAbs = style.hasAbsoluteUnit(sideProperties[i]); } if (isAbs... | public static String deriveKey( CalculatedStyle style, CSSName[] sideProperties ) { String key = null; boolean isAbs = true; for (int i = 0; i < sideProperties.length && isAbs; i++) { isAbs = style.hasAbsoluteUnit(sideProperties[i]); } if (isAbs... | 27,995 |
public abstract void write(byte[] data, int offset, int len) throws IOException; | public abstract void write(byte[] data, int offset, int len) throws IOException; | 27,996 |
public HibernateWorkflowStore(Session session) { this.session = session; } | public HibernateWorkflowStore(Session session) { this.session = session; } | 27,997 |
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | 27,998 |
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | 27,999 |
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | 28,000 |
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | 28,001 |
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | 28,002 |
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | 28,003 |
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | 28,004 |
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | 28,005 |
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) { HibernateCurrentStep step = new HibernateCurrentStep(); HibernateWorkflowEntry entry; try { entry = (HibernateWorkflowEntry) session.find("FROM ent... | 28,006 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.