bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
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...
48,654
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...
48,655
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...
48,656
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...
48,657
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...
48,658
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...
48,659
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(...
48,660
public void testDeployDestinationAdministratively() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=Kirkwoo...
public void testDeployDestinationAdministratively() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=Kirkwood\"" + " xmbea...
48,661
public void testDeployDestinationAdministratively() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=Kirkwoo...
publicvoidtestDeployDestinationAdministratively()throwsException{ObjectNameserverPeerObjectName=ServerManagement.getServerPeerObjectName();Stringconfig="<mbeancode=\"org.jboss.jms.server.destination.@TOREPLACE@\""+"name=\"somedomain:service=@TOREPLACE@,name=Kirkwood\""+"xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">"+"<d...
48,662
public void testDeployDestinationProgramatically() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String destinationType = isQueue() ? "Queue" : "Topic"; String createMethod = "create" + destinationType; String destroyMethod = "destroy" + destin...
public void testDeployDestinationProgramatically() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String destinationType = isQueue() ? "Queue" : "Topic"; String createMethod = "create" + destinationType; String destroyMethod = "destroy" + destinationType; ...
48,663
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\">" + " ...
48,664
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\">" + " ...
48,665
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\">" + " ...
48,666
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\">" + " ...
48,667
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\">" + " ...
48,668
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\">" + " ...
48,669
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); }
48,670
public static void main(String args[]) throws SecurityException, IOException, ClassNotFoundException { X86CpuID cpuId = X86CpuID.createID("p5"); TextX86Stream os = new TextX86Stream(new OutputStreamWriter(System.out), cpuId); X86CodeGenerator x86cg = new X86CodeGenerator(os); VmByteCode code = loadByteCode(args); ...
public static void main(String args[]) throws SecurityException, IOException, ClassNotFoundException { X86CpuID cpuId = X86CpuID.createID("p5"); TextX86Stream os = new TextX86Stream(new OutputStreamWriter(System.out), cpuId); X86CodeGenerator x86cg = new X86CodeGenerator(os); VmByteCode code = loadByteCode(args); ...
48,671
public void loadProperties(File file) throws IOException { loadProperties(file, true); }
public void loadProperties(File file) throws IOException { loadProperties(file, true); }
48,672
public NamingException getException();
public NamingException getException();
48,676
public String[] getReferrals();
public String[] getReferrals();
48,677
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...
48,678
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. drawUnselectedText(g, x, y, 0, getDocument().getLength()); //drawSelectedText(g, , , , ); } catch (BadLocationException e) { // This should never happen....
48,679
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 ...
48,681
private synchronized void completeLayout() { // Uu.p("layout thread ending"); done = true; graphics = null; panel.repaint(); // Uu.p("body box = " + panel.body_box ); }
private synchronized void completeLayout() { // Uu.p("layout thread ending"); done = true; graphics = null; panel.repaint(); // Uu.p("body box = " + panel.body_box ); }
48,682
private synchronized void completeLayout() { // Uu.p("layout thread ending"); done = true; graphics = null; panel.repaint(); // Uu.p("body box = " + panel.body_box ); }
notifyAll(); notifyAll(); notifyAll(); notifyAll(); privatenotifyAll(); synchronizednotifyAll(); voidnotifyAll(); completeLayout()notifyAll(); {notifyAll(); notifyAll(); notifyAll(); notifyAll(); notifyAll(); notifyAll(); notifyAll(); notifyAll(); //notifyAll(); Uu.p("layoutnotifyAll(); threadnotifyAl...
48,683
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...
48,684
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(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 { ...
48,685
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 { ...
if (Configuration.isTrue("xr.layout.bad-sizing-hack", false)) { requestReLayout(d); } if (Configuration.isTrue("xr.layout.bad-sizing-hack", false)) { requestReLayout(d); } if (Configuration.isTrue("xr.layout.bad-sizing-hack", false)) { requestReLayout(d); } if (Configuration.isTrue("xr.layout.bad-sizing-hack", false)) ...
48,686
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...
48,688
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...
48,689
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; boolean allWhitespace = true; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Objec...
if (!(o instanceof FloatedBlockContent)) { allWhitespace = false; } if (!(o instanceof FloatedBlockContent)) { allWhitespace = false; } if (!(o instanceof FloatedBlockContent)) { allWhitespace = false; } if (!(o instanceof FloatedBlockContent)) { allWhitespace = false; } publicif (!(o instanceof FloatedBlockContent)) {...
48,690
public void tearDown() throws Exception { conn.close(); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployTopic("Topic"); super.tearDown(); }
public void tearDown() throws Exception { conn.close(); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployTopic("Topic"); super.tearDown(); }
48,692
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...
48,693
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...
48,694
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...
48,695
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...
48,696
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...
48,697
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...
48,698
public static void addPropertyChangeListener(PropertyChangeListener listener) { // FIXME }
listeners.addPropertyChangeListener(listener); listeners.addPropertyChangeListener(listener); publiclisteners.addPropertyChangeListener(listener); staticlisteners.addPropertyChangeListener(listener); voidlisteners.addPropertyChangeListener(listener); addPropertyChangeListener(PropertyChangeListenerlisteners.addProperty...
48,699
public static Object get(Object key) { return getLookAndFeel().getDefaults().get(key); }
public static Object get(Object key) { return getLookAndFeelDefaults().get(key); }
48,700
public static LookAndFeel[] getAuxiliaryLookAndFeels() { return aux_installed; }
public static LookAndFeel[] getAuxiliaryLookAndFeels() { return auxLookAndFeels; }
48,701
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; }
48,702
public static Border getBorder(Object key) { return (Border) getLookAndFeel().getDefaults().get(key); }
public static Border getBorder(Object key) { return (Border) getLookAndFeelDefaults().get(key); }
48,703
public static Color getColor(Object key) { return (Color) getLookAndFeel().getDefaults().get(key); }
public static Color getColor(Object key) { return (Color) getLookAndFeelDefaults().get(key); }
48,704
public static UIDefaults getDefaults() { return getLookAndFeel().getDefaults(); }
public static UIDefaults getDefaults() { return currentUIDefaults; }
48,705
public static Dimension getDimension(Object key) { return (Dimension) getLookAndFeel().getDefaults().get(key); }
public static Dimension getDimension(Object key) { return (Dimension) getLookAndFeelDefaults().get(key); }
48,706
public static Font getFont(Object key) { return (Font) getLookAndFeel().getDefaults().get(key); }
public static Font getFont(Object key) { return (Font) getLookAndFeelDefaults().get(key); }
48,707
public static Icon getIcon(Object key) { return (Icon) getLookAndFeel().getDefaults().get(key); }
public static Icon getIcon(Object key) { return (Icon) getLookAndFeelDefaults().get(key); }
48,708
public static Insets getInsets(Object key) { return (Insets) getLookAndFeel().getDefaults().getInsets(key); }
public static Insets getInsets(Object key) { return getLookAndFeelDefaults().getInsets(key); }
48,709
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(); }
48,710
public static LookAndFeel getLookAndFeel() { return look_and_feel; }
public static LookAndFeel getLookAndFeel() { return currentLookAndFeel; }
48,711
public static UIDefaults getLookAndFeelDefaults() { return getLookAndFeel().getDefaults(); }
public static UIDefaults getLookAndFeelDefaults() { return currentUIDefaults; }
48,712
public static PropertyChangeListener[] getPropertyChangeListeners() { // FIXME throw new Error ("Not implemented"); }
public static PropertyChangeListener[] getPropertyChangeListeners() { // FIXME return listeners.getPropertyChangeListeners(); }
48,713
public static String getString(Object key) { return (String) getLookAndFeel().getDefaults().get(key); }
public static String getString(Object key) { return (String) getLookAndFeelDefaults().get(key); }
48,714
public static ComponentUI getUI(JComponent target) { return getDefaults().getUI(target); }
public static ComponentUI getUI(JComponent target) { return getLookAndFeelDefaults().getUI(target); }
48,715
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); }
48,717
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 = ...
48,718
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.len...
48,719
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...
48,720
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...
48,721
public static void removePropertyChangeListener(PropertyChangeListener listener) { // FIXME }
public static void removePropertyChangeListener(PropertyChangeListener listener) { // FIXME }
48,722
public static void removePropertyChangeListener(PropertyChangeListener listener) { // FIXME }
listeners.removePropertyChangeListener(listener); listeners.removePropertyChangeListener(listener); publiclisteners.removePropertyChangeListener(listener); staticlisteners.removePropertyChangeListener(listener); voidlisteners.removePropertyChangeListener(listener); removePropertyChangeListener(PropertyChangeListenerlis...
48,723
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...
48,725
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...
48,726
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...
48,727
DeliveryRunnable(Future result) { this.result = result; }
public DeliveryRunnable(Future result) { this.result = result; }
48,728
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...
48,730
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...
48,731
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...
48,734
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, ...
48,735
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); }
48,736
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...
48,737
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...
48,738
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; ...
48,739
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...
48,740
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...
48,741
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...
48,742
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; ...
48,743
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; ...
Connection conn = ds.getConnection(); Connection conn = ds.getConnection(); Connection conn = ds.getConnection(); publicConnection conn = ds.getConnection(); voidConnection conn = ds.getConnection(); addReference(SerializableConnection conn = ds.getConnection(); channelID,Connection conn = ds.getConnection(); MessageRe...
48,744
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; ...
48,745
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; ...
48,746
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; ...
48,747
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; ...
48,748
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...
48,749
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...
48,750
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...
48,751
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...
48,752
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...
48,753
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...
48,754
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...
48,755
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...
48,756
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 ...
48,757
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; ...
48,758
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; ...
48,759
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; ...
48,760
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; ...
48,761
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...
48,762
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...
48,763
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...
48,764