bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,511
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,512
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,513
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,514
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,515
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,516
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,517
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,518
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,519
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,520
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
31,521
public ClusteredQueue(long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, int fullSize, int pageSize, int downCacheSize, QueuedExecutor executor, Filter filter) { super(id, ms, pm, acceptReliableMessages, recoverable, fullSize, pageSize, downCacheSi...
public ClusteredQueue(long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, int fullSize, int pageSize, int downCacheSize, QueuedExecutor executor) { super(id, ms, pm, acceptReliableMessages, recoverable, fullSize, pageSize, downCacheSize, executor, f...
31,522
public ClusteredQueue(long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, int fullSize, int pageSize, int downCacheSize, QueuedExecutor executor, Filter filter) { super(id, ms, pm, acceptReliableMessages, recoverable, fullSize, pageSize, downCacheSi...
public ClusteredQueue(long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, int fullSize, int pageSize, int downCacheSize, QueuedExecutor executor, Filter filter) { super(id, ms, pm, acceptReliableMessages, recoverable, fullSize, pageSize, downCacheSi...
31,523
protected void assertEquivalent(Binding binding1, Binding binding2) { assertEquals(binding1.getNodeId(), binding2.getNodeId()); assertEquals(binding1.getQueueName(), binding2.getQueueName()); assertEquals(binding1.getSelector(), binding2.getSelector()); assertEquals(binding1.getChannelId(...
protected void assertEquivalent(Binding binding1, Binding binding2) { assertEquals(binding1.getNodeId(), binding2.getNodeId()); assertEquals(binding1.getQueueName(), binding2.getQueueName()); assertEquals(binding1.getSelector(), binding2.getSelector()); assertEquals(binding1.getChannelId(...
31,524
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
31,525
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
31,526
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
31,527
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
31,528
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
31,529
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
public void testPageableChannelAttributes() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=PageableAttributes\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ...
31,530
public CascadedStyle getPseudoElementStyle(Element e, String pseudoElement) { return _tbStyleMap.getPECascadedStyle(e, pseudoElement); }
public CascadedStyle getPseudoElementStyle(Node node, String pseudoElement) { Element e = null; if (node.getNodeType() == Node.ELEMENT_NODE) { e = (Element) node; } else { e = (Element) node.getParentNode(); } return _tbStyleMap.getPECascadedStyle(e, pseudoElement); }
31,531
public void loadProperties(File file) throws IOException { loadProperties(file, true); }
public void loadProperties(File file) throws IOException { loadProperties(file, true); }
31,532
public NamingException getException();
NamingException getException();
31,535
public String[] getReferrals();
String[] getReferrals();
31,536
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { try { JobDataMap data = jobExecutionContext.getJobDetail().getJobDataMap(); long id = data.getLong("entryId"); int triggerId = data.getInt("triggerId"); String username = da...
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { try { JobDataMap data = jobExecutionContext.getJobDetail().getJobDataMap(); long id = data.getLong("entryId"); int triggerId = data.getInt("triggerId"); String username = da...
31,537
public void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. drawUnselectedText(g, x, y, 0, getDocument().getLength()); //drawSelectedText(g, , , , ); } catch (BadLocationException e) { // This should never happen....
public void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getDocument().getDefaultRootElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelectedTex...
31,538
public void paint(Graphics g, Shape s) { JTextComponent textComponent = (JTextComponent) getContainer(); g.setFont(textComponent.getFont()); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); Rectangle rect = s.getBounds(); // FIXME: Text ...
public void paint(Graphics g, Shape s) { JTextComponent textComponent = (JTextComponent) getContainer(); g.setFont(textComponent.getFont()); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); Rectangle rect = s.getBounds(); // FIXME: Text ...
31,540
public void startLayout(Graphics g) { if (shouldLayout()) { //Uu.p("really starting new thread"); //Uu.p("threaded = " + threaded); //done = false; graphics = g; if (threaded) { new Thread(this).start(); } else { ...
public void startLayout(final Graphics g, Dimension d) { if (shouldLayout()) { //Uu.p("really starting new thread"); //Uu.p("threaded = " + threaded); //done = false; graphics = g; if (threaded) { new Thread(this).start(); } els...
31,542
private static int processOutOfFlowContent(LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { BlockBox abs = LayoutUtil.generateAbsolute(c, cont...
private static int processOutOfFlowContent(LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { BlockBox abs = LayoutUtil.generateAbsolute(c, cont...
31,545
public static boolean isFloated(CascadedStyle style) { if (style == null) return false; if (!style.hasProperty(CSSName.DISPLAY)) return false;//default is inline String float_val = style.propertyByName(CSSName.DISPLAY).getValue().getCssText(); if (float_val == null) { return f...
public static boolean isFloated(CascadedStyle style) { if (style == null) return false; if (!style.hasProperty(CSSName.DISPLAY)) return false;//default is inline String float_val = style.propertyByName(CSSName.DISPLAY).getValue().getCssText(); if (float_val == null) { return f...
31,546
public ClientManager(ServerPeer serverPeer) { this.serverPeer = serverPeer; connections = new ConcurrentReaderHashMap(); subscriptions = new ConcurrentReaderHashMap(); //checker = new ConnectionChecker(); //checker.start(); //default values pingCheckInterval = 4000; co...
public ClientManager(ServerPeer serverPeer) { this.serverPeer = serverPeer; connections = new ConcurrentReaderHashMap(); subscriptions = new ConcurrentReaderHashMap(); //checker = new ConnectionChecker(); //checker.start(); //default values pingCheckInterval = 4000; co...
31,548
public void moveToHistory(Step step) throws StoreException { try { Long id = new Long(step.getId()); gd.removeByAnd("OSCurrentStep", UtilMisc.toMap("id", id)); HashMap valueMap = new HashMap(); valueMap.put("id", id); valueMap.put("entryId", new Long(ste...
public void moveToHistory(Step step) throws StoreException { try { Long id = new Long(step.getId()); gd.removeByAnd("OSCurrentStep", UtilMisc.toMap("id", id)); HashMap valueMap = new HashMap(); valueMap.put("id", id); valueMap.put("entryId", new Long(ste...
31,549
public static void addAuxiliaryLookAndFeel (LookAndFeel l) { if (aux_installed == null) { aux_installed = new LookAndFeel[1]; aux_installed[0] = l; return; } LookAndFeel[] T = new LookAndFeel[ aux_installed.length+1 ]; System.arraycopy(aux_installed, 0, T, 0, aux_installed.le...
public static void addAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) { aux_installed = new LookAndFeel[1]; aux_installed[0] = l; return; } LookAndFeel[] T = new LookAndFeel[ aux_installed.length+1 ]; System.arraycopy(aux_installed, 0, T, 0, aux_installed.l...
31,550
public static void addAuxiliaryLookAndFeel (LookAndFeel l) { if (aux_installed == null) { aux_installed = new LookAndFeel[1]; aux_installed[0] = l; return; } LookAndFeel[] T = new LookAndFeel[ aux_installed.length+1 ]; System.arraycopy(aux_installed, 0, T, 0, aux_installed.le...
public static void addAuxiliaryLookAndFeel (LookAndFeel l) { if (laf == null) throw new NullPointerException("Null 'laf' argument."); if (auxLookAndFeels == null) { aux_installed = new LookAndFeel[1]; aux_installed[0] = l; return; } LookAndFeel[] T = new LookAndFeel[ aux_install...
31,551
public static void addAuxiliaryLookAndFeel (LookAndFeel l) { if (aux_installed == null) { aux_installed = new LookAndFeel[1]; aux_installed[0] = l; return; } LookAndFeel[] T = new LookAndFeel[ aux_installed.length+1 ]; System.arraycopy(aux_installed, 0, T, 0, aux_installed.le...
public static void addAuxiliaryLookAndFeel (LookAndFeel l) { if (aux_installed == null) { aux_installed = new LookAndFeel[1]; aux_installed[0] = l; return; } LookAndFeel[] T = new LookAndFeel[ aux_installed.length+1 ]; System.arraycopy(aux_installed, 0, T, 0, aux_installed.le...
31,552
public static void addAuxiliaryLookAndFeel (LookAndFeel l) { if (aux_installed == null) { aux_installed = new LookAndFeel[1]; aux_installed[0] = l; return; } LookAndFeel[] T = new LookAndFeel[ aux_installed.length+1 ]; System.arraycopy(aux_installed, 0, T, 0, aux_installed.le...
public static void addAuxiliaryLookAndFeel (LookAndFeel l) { if (aux_installed == null) { aux_installed = new LookAndFeel[1]; aux_installed[0] = l; return; } LookAndFeel[] T = new LookAndFeel[ aux_installed.length+1 ]; System.arraycopy(aux_installed, 0, T, 0, aux_installed.le...
31,553
public static Object get(Object key) { return getLookAndFeel().getDefaults().get(key); }
public static Object get(Object key) { return getLookAndFeelDefaults().get(key); }
31,555
public static LookAndFeel[] getAuxiliaryLookAndFeels() { return aux_installed; }
public static LookAndFeel[] getAuxiliaryLookAndFeels() { return auxLookAndFeels; }
31,556
public static boolean getBoolean(Object key) { Boolean value = (Boolean) getLookAndFeel().getDefaults().get(key); return value != null ? value.booleanValue() : false; }
public static boolean getBoolean(Object key) { Boolean value = (Boolean) getLookAndFeelDefaults().get(key); return value != null ? value.booleanValue() : false; }
31,557
public static Border getBorder(Object key) { return (Border) getLookAndFeel().getDefaults().get(key); }
public static Border getBorder(Object key) { return (Border) getLookAndFeelDefaults().get(key); }
31,558
public static Color getColor(Object key) { return (Color) getLookAndFeel().getDefaults().get(key); }
public static Color getColor(Object key) { return (Color) getLookAndFeelDefaults().get(key); }
31,559
public static UIDefaults getDefaults() { return getLookAndFeel().getDefaults(); }
public static UIDefaults getDefaults() { return currentUIDefaults; }
31,560
public static Dimension getDimension(Object key) { return (Dimension) getLookAndFeel().getDefaults().get(key); }
public static Dimension getDimension(Object key) { return (Dimension) getLookAndFeelDefaults().get(key); }
31,561
public static Font getFont(Object key) { return (Font) getLookAndFeel().getDefaults().get(key); }
public static Font getFont(Object key) { return (Font) getLookAndFeelDefaults().get(key); }
31,562
public static Icon getIcon(Object key) { return (Icon) getLookAndFeel().getDefaults().get(key); }
public static Icon getIcon(Object key) { return (Icon) getLookAndFeelDefaults().get(key); }
31,563
public static Insets getInsets(Object key) { return (Insets) getLookAndFeel().getDefaults().getInsets(key); }
public static Insets getInsets(Object key) { return getLookAndFeelDefaults().getInsets(key); }
31,564
public static int getInt(Object key) { Integer x = (Integer) getLookAndFeel().getDefaults().get(key); if (x == null) return 0; return x.intValue(); }
public static int getInt(Object key) { Integer x = (Integer) getLookAndFeelDefaults().get(key); if (x == null) return 0; return x.intValue(); }
31,565
public static LookAndFeel getLookAndFeel() { return look_and_feel; }
public static LookAndFeel getLookAndFeel() { return currentLookAndFeel; }
31,566
public static UIDefaults getLookAndFeelDefaults() { return getLookAndFeel().getDefaults(); }
public static UIDefaults getLookAndFeelDefaults() { return currentUIDefaults; }
31,567
public static PropertyChangeListener[] getPropertyChangeListeners() { // FIXME throw new Error ("Not implemented"); }
public static PropertyChangeListener[] getPropertyChangeListeners() { // FIXME return listeners.getPropertyChangeListeners(); }
31,568
public static String getString(Object key) { return (String) getLookAndFeel().getDefaults().get(key); }
public static String getString(Object key) { return (String) getLookAndFeelDefaults().get(key); }
31,569
public static ComponentUI getUI(JComponent target) { return getDefaults().getUI(target); }
public static ComponentUI getUI(JComponent target) { return getLookAndFeelDefaults().getUI(target); }
31,570
public static Object put(Object key, Object value) { return getLookAndFeel().getDefaults().put(key,value); }
public static Object put(Object key, Object value) { return getLookAndFeelDefaults().put(key,value); }
31,572
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i=0;i<aux_installed.length;i++) { if (aux_installed[i] == laf) { aux_installed[ i ] = aux_installed[aux_installed.length-1]; LookAndFeel[] T = ne...
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (auxLookAndFeels == null) return false; for (int i=0;i<aux_installed.length;i++) { if (aux_installed[i] == laf) { aux_installed[ i ] = aux_installed[aux_installed.length-1]; LookAndFeel[] T = ...
31,573
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i=0;i<aux_installed.length;i++) { if (aux_installed[i] == laf) { aux_installed[ i ] = aux_installed[aux_installed.length-1]; LookAndFeel[] T = ne...
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; int count = auxLookAndFeels.length; if (count == 1 && auxLookAndFeels[0] == laf) { if (aux_installed[i] == laf) { aux_installed[ i ] = aux_installed[aux_installed.le...
31,574
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i=0;i<aux_installed.length;i++) { if (aux_installed[i] == laf) { aux_installed[ i ] = aux_installed[aux_installed.length-1]; LookAndFeel[] T = ne...
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i=0;i<aux_installed.length;i++) { auxLookAndFeels = null; return true; } for (int i = 0; i < count; i++) { if (auxLookAndFeels[i] == laf) { LookAndFeel[] temp = new LookAndFeel...
31,575
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i=0;i<aux_installed.length;i++) { if (aux_installed[i] == laf) { aux_installed[ i ] = aux_installed[aux_installed.length-1]; LookAndFeel[] T = ne...
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i=0;i<aux_installed.length;i++) { if (aux_installed[i] == laf) { aux_installed[ i ] = aux_installed[aux_installed.length-1]; LookAndFeel[] T = ne...
31,576
public static void setLookAndFeel(LookAndFeel newLookAndFeel) throws UnsupportedLookAndFeelException { if (! newLookAndFeel.isSupportedLookAndFeel()) throw new UnsupportedLookAndFeelException(newLookAndFeel.getName()); if (look_and_feel != null) look_and_feel.uninitialize(); // Set the curr...
public static void setLookAndFeel(LookAndFeel newLookAndFeel) throws UnsupportedLookAndFeelException { if (newLookAndFeel != null && ! newLookAndFeel.isSupportedLookAndFeel()) throw new UnsupportedLookAndFeelException(newLookAndFeel.getName()); if (look_and_feel != null) look_and_feel.uninitia...
31,578
public static void setLookAndFeel(LookAndFeel newLookAndFeel) throws UnsupportedLookAndFeelException { if (! newLookAndFeel.isSupportedLookAndFeel()) throw new UnsupportedLookAndFeelException(newLookAndFeel.getName()); if (look_and_feel != null) look_and_feel.uninitialize(); // Set the curr...
public static void setLookAndFeel(LookAndFeel newLookAndFeel) throws UnsupportedLookAndFeelException { if (! newLookAndFeel.isSupportedLookAndFeel()) throw new UnsupportedLookAndFeelException(newLookAndFeel.getName()); if (look_and_feel != null) look_and_feel.uninitialize(); // Set the curr...
31,579
public static void setLookAndFeel(LookAndFeel newLookAndFeel) throws UnsupportedLookAndFeelException { if (! newLookAndFeel.isSupportedLookAndFeel()) throw new UnsupportedLookAndFeelException(newLookAndFeel.getName()); if (look_and_feel != null) look_and_feel.uninitialize(); // Set the curr...
public static void setLookAndFeel(LookAndFeel newLookAndFeel) throws UnsupportedLookAndFeelException { if (! newLookAndFeel.isSupportedLookAndFeel()) throw new UnsupportedLookAndFeelException(newLookAndFeel.getName()); if (look_and_feel != null) look_and_feel.uninitialize(); // Set the curr...
31,580
DeliveryRunnable(Future result) { this.result = result; }
public DeliveryRunnable(Future result) { this.result = result; }
31,581
public static boolean isBlockNode(Node child, Context c) { if (child instanceof Element) { CalculatedStyle style = c.css.getStyle(child); String display = getDisplay(style); if (display != null && (display.equals("block") || display.equal...
public static boolean isBlockNode(Node child, Context c) { if (child instanceof Element) { CalculatedStyle style = c.css.getStyle(child); String display = getDisplay(style); if (display != null && (display.equals("block") || display.equal...
31,583
public static boolean isBlockOrInlineElementBox(Context c, Box box) { if ((box.getNode().getNodeType() == Node.TEXT_NODE && !LayoutUtil.isBlockNode(box.getRealElement(), c)) || box.isElement()) { // u.p("box = " + box); // u.p("node type = " + box.node.getN...
public static boolean isBlockOrInlineElementBox(Context c, Box box) { if ((box.getNode().getNodeType() == Node.TEXT_NODE && !LayoutUtil.isBlockNode(box.getRealElement(), c)) || box.isElement()) { // u.p("box = " + box); // u.p("node type = " + box.node.getN...
31,584
public TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_QUEUE_SESSION) { throw new IllegalStateException("Cannot create a durable subscriber on a QueueSession"); } ConsumerDelegate consumerDe...
public TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_QUEUE_SESSION) { throw new IllegalStateException("Cannot create a durable subscriber on a QueueSession"); } ConsumerDelegate consumerDe...
31,587
public void release(org.omg.CORBA.Object target) { String key = ior.Internet.host + ":" + ior.Internet.port; Socket socket = SocketRepository.get_socket(key); try { if (socket != null) { socket.close(); } } catch (IOException ex) { // do nothing, ...
public void release(org.omg.CORBA.Object target) { String key = ior.Internet.host + ":" + ior.Internet.port; Socket socket = SocketRepository.get_socket(key); try { if (socket != null) { socket.close(); } } catch (IOException ex) { // do nothing, ...
31,588
public void setupGraphics(Graphics2D graphics) { graphics.setRenderingHint( RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON); }
public void setupGraphics(Graphics2D graphics) { graphics.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_OFF); }
31,589
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
protected void addDelivery(Serializable channelID, Delivery d, Connection conn) throws SQLException { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrap...
31,590
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
31,591
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; MessageReference ref = null; String messageID = null; ...
31,592
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
31,593
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
31,594
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
public void addDelivery(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); MessageRefe...
31,595
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
31,596
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
31,598
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
31,599
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
31,600
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
public void addReference(Serializable channelID, MessageReference ref, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding message reference " + ref + " for channel " + channelID + (tx == null ? " non-transactionally" : " in transaction: " + tx));} Connection conn = null; ...
31,601
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("updating database for committing transaction " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds...
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("updating database for committing transaction " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds...
31,602
public List deliveries(Serializable storeID, Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWr...
public List deliveries(Serializable storeID, Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWr...
31,603
public int getMessageReferenceCount(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps = conn.prepareStatement(sele...
public int getMessageReferenceCount(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps = conn.prepareStatement(sele...
31,604
protected void initSqlProperties() { insertDelivery = sqlProperties.getProperty("INSERT_DELIVERY", insertDelivery); deleteDelivery = sqlProperties.getProperty("DELETE_DELIVERY", deleteDelivery); updateDelivery = sqlProperties.getProperty("UPDATE_DELIVERY", updateDelivery); insertMessageRef = sq...
protected void initSqlProperties() { insertDelivery = sqlProperties.getProperty("INSERT_DELIVERY", insertDelivery); deleteDelivery = sqlProperties.getProperty("DELETE_DELIVERY", deleteDelivery); updateDelivery = sqlProperties.getProperty("UPDATE_DELIVERY", updateDelivery); insertMessageRef = sq...
31,605
protected void initSqlProperties() { insertDelivery = sqlProperties.getProperty("INSERT_DELIVERY", insertDelivery); deleteDelivery = sqlProperties.getProperty("DELETE_DELIVERY", deleteDelivery); updateDelivery = sqlProperties.getProperty("UPDATE_DELIVERY", updateDelivery); insertMessageRef = sq...
protected void initSqlProperties() { insertDelivery = sqlProperties.getProperty("INSERT_DELIVERY", insertDelivery); deleteDelivery = sqlProperties.getProperty("DELETE_DELIVERY", deleteDelivery); updateDelivery = sqlProperties.getProperty("UPDATE_DELIVERY", updateDelivery); insertMessageRef = sq...
31,606
public List messageRefs(Serializable storeID, Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; Trans...
public List messageRefs(Serializable storeID, Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; Trans...
31,607
public void removeAllMessageData(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing all message data for channel: " + channelID); } Connection conn = null; PreparedStatement ps1 = null; PreparedStatement ps2 = null; TransactionWrapper wrap = new Tran...
public void removeAllMessageData(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing all message data for channel: " + channelID); } Connection conn = null; PreparedStatement ps1 = null; PreparedStatement ps2 = null; TransactionWrapper wrap = new Tran...
31,608
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
protected void removeDelivery(Serializable channelID, Delivery d, Transaction tx, Connection conn) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connectio...
31,609
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} PreparedStatement ps...
31,610
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
31,611
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
31,612
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
31,613
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
public boolean removeDelivery(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; ...
31,614
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.p...
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.p...
31,615
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
protected void removeReference(Serializable channelID, MessageReference ref, Connection conn) throws SQLException { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new...
31,616
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing reference " + ref + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Transact...
31,617
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { ...
31,618
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; try { conn = ds.getConnection(...
31,619
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
31,620
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
31,621
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
public boolean removeReference(Serializable channelID, MessageReference ref) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing " + ref + " from channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(...
31,622
public Message retrieveMessage(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { Message m = null; int referenceCount = 0; conn ...
public Message retrieveMessage(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { Message m = null; int referenceCount = 0; conn ...
31,623
public List retrievePreparedTransactions() throws Exception { if (!storeXid) { return Collections.EMPTY_LIST; } Connection conn = null; Statement st = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { List transac...
public List retrievePreparedTransactions() throws Exception { if (!storeXid) { return Collections.EMPTY_LIST; } Connection conn = null; Statement st = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { List transac...
31,624