bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public List query(WorkflowQuery query) throws StoreException { List results = new ArrayList(); // going to try to do all the comparisons in one query String sel; Class entityClass; int qtype = query.getType(); if (qtype == 0) { // then not set, so look in sub queries // todo: not sure if you would... | public List query(WorkflowQuery query) throws StoreException { List results = new ArrayList(); // going to try to do all the comparisons in one query String sel; Class entityClass; int qtype = query.getType(); if (qtype == 0) { // then not set, so look in sub queries // todo: not sure if you would... | 32,629 |
public List query(WorkflowQuery query) throws StoreException { List results = new ArrayList(); // going to try to do all the comparisons in one query String sel; Class entityClass; int qtype = query.getType(); if (qtype == 0) { // then not set, so look in sub queries // todo: not sure if you would... | public List query(WorkflowQuery query) throws StoreException { List results = new ArrayList(); // going to try to do all the comparisons in one query String sel; Class entityClass; int qtype = query.getType(); if (qtype == 0) { // then not set, so look in sub queries // todo: not sure if you would... | 32,630 |
public List query(WorkflowQuery query) throws StoreException { List results = new ArrayList(); // going to try to do all the comparisons in one query String sel; Class entityClass; int qtype = query.getType(); if (qtype == 0) { // then not set, so look in sub queries // todo: not sure if you would... | public List query(WorkflowQuery query) throws StoreException { List results = new ArrayList(); // going to try to do all the comparisons in one query String sel; Class entityClass; int qtype = query.getType(); if (qtype == 0) { // then not set, so look in sub queries // todo: not sure if you would... | 32,632 |
private static void restyleBlockContext(LayoutContext c, BlockBox box) { if (! box.isReplaced()) { for (int i = 0; i <= box.getChildCount(); i++) { Box child = (Box) box.getChild(i); restyle(c, (BlockBox) child); } } } | private static void restyleBlockContext(LayoutContext c, BlockBox box) { if (! box.isReplaced()) { for (int i = 0; i < box.getChildCount(); i++) { Box child = (Box) box.getChild(i); restyle(c, (BlockBox) child); } } } | 32,633 |
public void paint(Graphics g, JComponent c) { JLabel b = (JLabel) c; Font saved_font = g.getFont(); Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = g.getFontMetrics(f); vr = SwingUtilities.... | public void paint(Graphics g, JComponent c) { JLabel b = (JLabel) c; Font saved_font = g.getFont(); Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = g.getFontMetrics(f); vr = SwingUtilities.... | 32,634 |
public Icon getDisabledIcon() { // Returns the value of the disabledIcon property if it's been set, If it hasn't been set and the value of the icon property is an ImageIcon, we compute a "grayed out" version of the icon and update the disabledIcon property with that. return null; } | public Icon getDisabledIcon() { // Returns the value of the disabledIcon property if it's been set, If it hasn't been set and the value of the icon property is an ImageIcon, we compute a "grayed out" version of the icon and update the disabledIcon property with that. return null; } | 32,635 |
public JBossConnectionConsumer(ConnectionDelegate conn, Destination dest, String subName, String messageSelector, ServerSessionPool sessPool, int maxMessages) throws JMSException { trace = log.isTraceEnabled(); this.destination = de... | public JBossConnectionConsumer(ConnectionDelegate conn, Destination dest, String subName, String messageSelector, ServerSessionPool sessPool, int maxMessages) throws JMSException { trace = log.isTraceEnabled(); this.destination = de... | 32,637 |
public static void setupVerticalAlign(Context c, CalculatedStyle style, InlineBox box) { Node node = box.getNode(); //not used: CalculatedStyle parent_style = c.css.getStyle(LineBreaker.getElement(parent)); Font parent_font = FontUtil.getFont(c, style); LineMetrics parent_metrics = null;... | public static void setupVerticalAlign(Context c, CalculatedStyle style, InlineBox box) { Content content = box.getContent(); //not used: CalculatedStyle parent_style = c.css.getStyle(LineBreaker.getElement(parent)); Font parent_font = FontUtil.getFont(c, style); LineMetrics parent_metric... | 32,639 |
public static void setupVerticalAlign(Context c, CalculatedStyle style, InlineBox box) { Node node = box.getNode(); //not used: CalculatedStyle parent_style = c.css.getStyle(LineBreaker.getElement(parent)); Font parent_font = FontUtil.getFont(c, style); LineMetrics parent_metrics = null;... | public static void setupVerticalAlign(Context c, CalculatedStyle style, InlineBox box) { Node node = box.getNode(); //not used: CalculatedStyle parent_style = c.css.getStyle(LineBreaker.getElement(parent)); Font parent_font = FontUtil.getFont(c, style); LineMetrics parent_metrics = null;... | 32,640 |
public static void setupVerticalAlign(Context c, CalculatedStyle style, InlineBox box) { Node node = box.getNode(); //not used: CalculatedStyle parent_style = c.css.getStyle(LineBreaker.getElement(parent)); Font parent_font = FontUtil.getFont(c, style); LineMetrics parent_metrics = null;... | public static void setupVerticalAlign(Context c, CalculatedStyle style, InlineBox box) { Node node = box.getNode(); //not used: CalculatedStyle parent_style = c.css.getStyle(LineBreaker.getElement(parent)); Font parent_font = FontUtil.getFont(c, style); LineMetrics parent_metrics = null;... | 32,641 |
public void handleConnectionException(Throwable t, Client client) { String sessionId = client.getSessionId(); if (sessionId == null) { log.warn("Session id is null for client " + client); } else { if (t instanceof ClientDisconnectedException) { // Th... | public void handleConnectionException(Throwable t, Client client) { String sessionId = client.getSessionId(); if (sessionId == null) { log.warn("Session id is null for client " + client); } else { if (t instanceof ClientDisconnectedException) { // Th... | 32,645 |
public void handleConnectionException(Throwable t, Client client) { String sessionId = client.getSessionId(); if (sessionId == null) { log.warn("Session id is null for client " + client); } else { if (t instanceof ClientDisconnectedException) { // Th... | public void handleConnectionException(Throwable t, Client client) { String sessionId = client.getSessionId(); if (sessionId == null) { log.warn("Session id is null for client " + client); } else { if (t instanceof ClientDisconnectedException) { // Th... | 32,646 |
public void handleConnectionException(Throwable t, Client client) { String sessionId = client.getSessionId(); if (sessionId == null) { log.warn("Session id is null for client " + client); } else { if (t instanceof ClientDisconnectedException) { // Th... | public void handleConnectionException(Throwable t, Client client) { String sessionId = client.getSessionId(); if (sessionId == null) { log.warn("Session id is null for client " + client); } else { if (t instanceof ClientDisconnectedException) { // Th... | 32,647 |
public void handleConnectionException(Throwable t, Client client) { String sessionId = client.getSessionId(); if (sessionId == null) { log.warn("Session id is null for client " + client); } else { if (t instanceof ClientDisconnectedException) { // Th... | public void handleConnectionException(Throwable t, Client client) { String sessionId = client.getSessionId(); if (sessionId == null) { log.warn("Session id is null for client " + client); } else { if (t instanceof ClientDisconnectedException) { // Th... | 32,648 |
public void transferFocusDownCycle () { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); manager.downFocusCycle (this); } | public void transferFocusDownCycle () { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); manager.downFocusCycle (this); } | 32,650 |
public Point indexToLocation(int index){ //FIXME: Need to implement. return null; } | public Point indexToLocation(int index){ //FIXME: Need to implement. return getCellBounds(index, index).getLocation(); } | 32,653 |
protected void populateTransientMap(WorkflowEntry entry, Map transientVars, List registers, Integer actionId, Collection currentSteps) throws WorkflowException { transientVars.put("context", context); transientVars.put("entry", entry); transientVars.put("store", getPersistence()); transi... | protected void populateTransientMap(WorkflowEntry entry, Map transientVars, List registers, Integer actionId, Collection currentSteps) throws WorkflowException { transientVars.put("context", context); transientVars.put("entry", entry); transientVars.put("store", getPersistence()); transi... | 32,654 |
public void example() throws Exception { String destinationName = getDestinationJNDIName(); InitialContext ic = null; Connection connection = null; try { // Create a connection to the clustered messaging instance ic = new InitialContext(); ConnectionFactory cf = (Co... | public void example() throws Exception { String destinationName = getDestinationJNDIName(); InitialContext ic = null; Connection connection = null; try { // Create a connection to the clustered messaging instance ic = new InitialContext(); ConnectionFactory cf = (Co... | 32,656 |
protected synchronized void startService() throws Exception { if (started) { throw new IllegalStateException("Service is already started"); } super.startService(); try { TransactionManager tm = getTransactionManagerReference(); ... | protected synchronized void startService() throws Exception { if (started) { throw new IllegalStateException("Service is already started"); } super.startService(); try { TransactionManager tm = getTransactionManagerReference(); ... | 32,657 |
public List findHistorySteps(long entryId) throws StoreException { Connection conn = null; PreparedStatement stmt = null; ResultSet rset = null; try { conn = getConnection(); String sql = "SELECT " + stepId + ", " + stepStepId + ", " + stepActionId + ", " + stepOwne... | public List findHistorySteps(long entryId) throws StoreException { Connection conn = null; PreparedStatement stmt = null; ResultSet rset = null; try { conn = getConnection(); String sql = "SELECT " + stepId + ", " + stepStepId + ", " + stepActionId + ", " + stepOwne... | 32,658 |
public void setEntryState(long id, int state) throws StoreException { Connection conn = null; Statement stmt = null; try { conn = getConnection(); String sql = "UPDATE " + entryTable + " SET " + entryState + " = ? WHERE " + entryId + " = ?"; PreparedStatement ps... | public void setEntryState(long id, int state) throws StoreException { Connection conn = null; PreparedStatement ps = null; try { conn = getConnection(); String sql = "UPDATE " + entryTable + " SET " + entryState + " = ? WHERE " + entryId + " = ?"; PreparedStatem... | 32,660 |
public void setEntryState(long id, int state) throws StoreException { Connection conn = null; Statement stmt = null; try { conn = getConnection(); String sql = "UPDATE " + entryTable + " SET " + entryState + " = ? WHERE " + entryId + " = ?"; PreparedStatement ps... | public void setEntryState(long id, int state) throws StoreException { Connection conn = null; Statement stmt = null; try { conn = getConnection(); String sql = "UPDATE " + entryTable + " SET " + entryState + " = ? WHERE " + entryId + " = ?"; ps = conn.prepareSta... | 32,661 |
public void setEntryState(long id, int state) throws StoreException { Connection conn = null; Statement stmt = null; try { conn = getConnection(); String sql = "UPDATE " + entryTable + " SET " + entryState + " = ? WHERE " + entryId + " = ?"; PreparedStatement ps... | public void setEntryState(long id, int state) throws StoreException { Connection conn = null; Statement stmt = null; try { conn = getConnection(); String sql = "UPDATE " + entryTable + " SET " + entryState + " = ? WHERE " + entryId + " = ?"; PreparedStatement ps... | 32,662 |
public void actionPerformed(ActionEvent e) { File inputFile = Utils.promptUserForFile((Component)e.getSource(), JFileChooser.FILES_AND_DIRECTORIES, false, ".xml", "XML Workflow Files"); if(inputFile!=null) { try { if(currentWorkspace.getLocation()==null) { JOptionPane.showMe... | public void actionPerformed(ActionEvent e) { File inputFile = Utils.promptUserForFile((Component)e.getSource(), JFileChooser.FILES_AND_DIRECTORIES, false, ".xml", "XML Workflow Files"); if(inputFile!=null) { try { if(currentWorkspace.getLocation()==null) { JOptionPane.showMe... | 32,664 |
public void execute(Map transientVars, Map args, PropertySet ps) { WorkflowEntry entry = (WorkflowEntry) transientVars.get("entry"); try { Hashtable env = new Hashtable(args); InitialContext initialContext = new InitialContext(env); if (args.containsKey("queue-factory-... | public void execute(Map transientVars, Map args, PropertySet ps) { WorkflowEntry entry = (WorkflowEntry) transientVars.get("entry"); try { Hashtable env = new Hashtable(args); InitialContext initialContext = new InitialContext(env); if (args.containsKey("queue-factory-... | 32,665 |
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | 32,667 |
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | 32,668 |
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | 32,669 |
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | 32,670 |
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | 32,671 |
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | 32,672 |
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) { Polygon poly; // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05) if (side == TOP) { poly = new Polygon(); ... | 32,673 |
public Object execute() throws Exception { if (retainReference) { commands.add(this); } conn1 = cf.createConnection(); conn1.setClientID("test1"); conn1.start(); conn2 = cf.createConnection(); conn2.setClientID("test2"); conn2.start(); conn1.close(); ... | public Object execute() throws Exception { if (retainReference) { commands.add(this); } conn1 = cf.createConnection(); conn1.setClientID("test1"); conn1.start(); conn2 = cf.createConnection(); conn2.setClientID("test2"); conn2.start(); Str... | 32,675 |
protected AddReferenceTask addAddReferenceTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the AddReferenceTask AddReferenceTask task = (AddReferenceTask)txToAddReferenceTasks.get(tx); if (task == null) { task = new AddReferenceTask(tx)... | protected AddReferenceCallback addAddReferenceTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the AddReferenceTask AddReferenceTask task = (AddReferenceTask)txToAddReferenceTasks.get(tx); if (task == null) { task = new AddReferenceTask... | 32,681 |
protected AddReferenceTask addAddReferenceTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the AddReferenceTask AddReferenceTask task = (AddReferenceTask)txToAddReferenceTasks.get(tx); if (task == null) { task = new AddReferenceTask(tx)... | protected AddReferenceTask addAddReferenceTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the AddReferenceTask AddReferenceTask task = (AddReferenceTask)txToAddReferenceTasks.get(tx); if (task == null) { task = new AddReferenceTask(tx)... | 32,682 |
protected AddReferenceTask addAddReferenceTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the AddReferenceTask AddReferenceTask task = (AddReferenceTask)txToAddReferenceTasks.get(tx); if (task == null) { task = new AddReferenceTask(tx)... | protected AddReferenceTask addAddReferenceTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the AddReferenceTask AddReferenceTask task = (AddReferenceTask)txToAddReferenceTasks.get(tx); if (task == null) { task = new AddReferenceTask(tx)... | 32,683 |
protected AddReferenceTask addAddReferenceTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the AddReferenceTask AddReferenceTask task = (AddReferenceTask)txToAddReferenceTasks.get(tx); if (task == null) { task = new AddReferenceTask(tx)... | protected AddReferenceTask addAddReferenceTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the AddReferenceTask AddReferenceTask task = (AddReferenceTask)txToAddReferenceTasks.get(tx); if (task == null) { task = new AddReferenceTask(tx)... | 32,684 |
public void addFirst(MessageReference ref) throws Throwable { if (log.isTraceEnabled()) { log.trace("adding " + ref + "at the top of the list in memory"); } if (ref.isReliable() && !acceptReliableMessages) { throw new IllegalStateException("Reliable reference " + ref + ... | public void addFirst(MessageReference ref) throws Throwable { if (log.isTraceEnabled()) { log.trace("adding " + ref + "at the top of the list in memory"); } if (ref.isReliable() && !acceptReliableMessages) { throw new IllegalStateException("Reliable reference " + ref + ... | 32,685 |
protected RemoveDeliveryTask addRemoveDeliveryTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the RemoveDeliveryTask RemoveDeliveryTask task = (RemoveDeliveryTask)txToRemoveDeliveryTasks.get(tx); if (task == null) { task = new RemoveDeliveryTask(t... | protected RemoveDeliveryCallback addRemoveDeliveryTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the RemoveDeliveryTask RemoveDeliveryTask task = (RemoveDeliveryTask)txToRemoveDeliveryTasks.get(tx); if (task == null) { task = new RemoveDeliveryTa... | 32,686 |
protected RemoveDeliveryTask addRemoveDeliveryTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the RemoveDeliveryTask RemoveDeliveryTask task = (RemoveDeliveryTask)txToRemoveDeliveryTasks.get(tx); if (task == null) { task = new RemoveDeliveryTask(t... | protected RemoveDeliveryTask addRemoveDeliveryTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the RemoveDeliveryTask RemoveDeliveryTask task = (RemoveDeliveryTask)txToRemoveDeliveryTasks.get(tx); if (task == null) { task = new RemoveDeliveryTask(t... | 32,687 |
protected RemoveDeliveryTask addRemoveDeliveryTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the RemoveDeliveryTask RemoveDeliveryTask task = (RemoveDeliveryTask)txToRemoveDeliveryTasks.get(tx); if (task == null) { task = new RemoveDeliveryTask(t... | protected RemoveDeliveryTask addRemoveDeliveryTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the RemoveDeliveryTask RemoveDeliveryTask task = (RemoveDeliveryTask)txToRemoveDeliveryTasks.get(tx); if (task == null) { task = new RemoveDeliveryTask(t... | 32,688 |
protected RemoveDeliveryTask addRemoveDeliveryTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the RemoveDeliveryTask RemoveDeliveryTask task = (RemoveDeliveryTask)txToRemoveDeliveryTasks.get(tx); if (task == null) { task = new RemoveDeliveryTask(t... | protected RemoveDeliveryTask addRemoveDeliveryTask(Transaction tx) { //TODO we could avoid this lookup by letting the tx object store the RemoveDeliveryTask RemoveDeliveryTask task = (RemoveDeliveryTask)txToRemoveDeliveryTasks.get(tx); if (task == null) { task = new RemoveDeliveryTask(t... | 32,689 |
private static void positionBoxLeft(Context c, Box box) { // Uu.p("positionBoxLeft()"); // Uu.p("calling the new float routine"); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getLeftFloatX(box); // Uu.p("floater = " + floater); // Uu.p("exte... | private static void positionBoxLeft(Context c, Box box) { // Uu.p("positionBoxLeft()"); // Uu.p("calling the new float routine"); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); // Uu.p("floater = " + floater); // Uu.p("e... | 32,690 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | 32,691 |
private void handleFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { ConnectionState failedConnState = (ConnectionState)((DelegateSupport)failedConnDelegate).getState(); int failedServerID = failedConnState.getServerID(); log.debug(this + " handling failed connection to... | private void handleFailure(ClientConnectionDelegate failedConnDelegate) throws Exception { ConnectionState failedConnState = (ConnectionState)((DelegateSupport)failedConnDelegate).getState(); int failedServerID = failedConnState.getServerID(); log.debug(this + " handling failed connection to... | 32,692 |
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (log.isTraceEnabled()) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked ... | public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (trace) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked != null) ... | 32,693 |
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (log.isTraceEnabled()) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked ... | public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (log.isTraceEnabled()) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked ... | 32,694 |
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (log.isTraceEnabled()) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked ... | public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (log.isTraceEnabled()) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked ... | 32,695 |
public void menuKeyReleased(MenuKeyEvent event); | void menuKeyReleased(MenuKeyEvent event); | 32,698 |
public synchronized void start() throws Exception { if (started) { return; } log.debug(this + " starting"); mbeanServer = findMBeanServer(); pm = new HSQLDBPersistenceManager(); txRepository = new TransactionRepository(pm); // TODO: is should be possible t... | public synchronized void start() throws Exception { if (started) { return; } log.debug(this + " starting"); mbeanServer = findMBeanServer(); pm = new HSQLDBPersistenceManager(); txRepository = new TransactionRepository(pm); // TODO: is should be possible t... | 32,699 |
public synchronized void stop() throws Exception { if (!started) { return; } log.debug(this + " stopping"); clientManager.stop(); tearDownConnectionFactories(); // remove the JMS subsystem// mbeanServer.invoke(connector, "removeInvocationHandler",// ... | public synchronized void stop() throws Exception { if (!started) { return; } log.debug(this + " stopping"); tearDownConnectionFactories(); // remove the JMS subsystem// mbeanServer.invoke(connector, "removeInvocationHandler",// new Obje... | 32,701 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); if (args != null) { for(int i = 0; i < args.length; i++) ... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); if (args != null) { for(int i = 0; i < args.length; i++) ... | 32,704 |
public Element getElement() { return (Element) getNode(); } | public Element getElement() { if (this.node == null) { return null; } return getContent().getElement(); } | 32,706 |
public Element getRealElement() { if (isElement()) { return getElement(); } if (this.node == null) { return null; } return (Element) getNode().getParentNode(); } | public Element getRealElement() { /*if (isElement()) { return getElement(); } if (this.node == null) { return null; } return (Element) getNode().getParentNode(); } | 32,707 |
public Element getRealElement() { if (isElement()) { return getElement(); } if (this.node == null) { return null; } return (Element) getNode().getParentNode(); } | public Element getRealElement() { if (isElement()) { return getElement(); }*/ if (this.node == null) { return null; }*/ return (Element) getNode().getParentNode(); }*/ | 32,708 |
public Element getRealElement() { if (isElement()) { return getElement(); } if (this.node == null) { return null; } return (Element) getNode().getParentNode(); } | public Element getRealElement() { if (isElement()) { return getElement(); } if (this.node == null) { return null; } return getContent().getElement(); } | 32,709 |
public boolean isElement() { if (this.node == null) { return false; } if (getNode().getNodeType() == getNode().ELEMENT_NODE) { return true; } return false; } | public boolean isElement() { /*if (this.node == null) { return false; } if (getNode().getNodeType() == getNode().ELEMENT_NODE) { return true; } return false; } | 32,710 |
public boolean isElement() { if (this.node == null) { return false; } if (getNode().getNodeType() == getNode().ELEMENT_NODE) { return true; } return false; } | public boolean isElement() { if (this.node == null) { return false; } if (getNode().getNodeType() == Node.ELEMENT_NODE) { return true; } return false; } | 32,711 |
public boolean isElement() { if (this.node == null) { return false; } if (getNode().getNodeType() == getNode().ELEMENT_NODE) { return true; } return false; } | public boolean isElement() { if (this.node == null) { return false;*/ return true; } if (getNode().getNodeType() == getNode().ELEMENT_NODE) { return true; } return false;*/ return true; } | 32,712 |
protected static void paintCell(Context c, CellBox cell) { if (cell.isReal()) { Rectangle oe = c.getExtents(); c.getGraphics().translate(oe.x, oe.y); c.setExtents(new Rectangle(0, 0, cell.width, cell.height)); //Uu.p("doing cell: " + cell); BoxRendering.... | protected static void paintCell(Context c, CellBox cell) { if (cell.isReal()) { Rectangle oe = c.getExtents(); c.getGraphics().translate(oe.x, oe.y); c.setExtents(new Rectangle(0, 0, cell.width, cell.height)); //Uu.p("doing cell: " + cell); BoxRendering.... | 32,713 |
public JProgressBar(int minimum, int maximum) { // TODO } // JProgressBar() | public JProgressBar(int minimum, int maximum) { // TODO } // JProgressBar() | 32,714 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJProgressBar(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJProgressBar(this); } // if return accessibleContext; } // getAccessibleContext() | 32,715 |
public BoundedRangeModel getModel() { return null; // TODO } // getModel() | public BoundedRangeModel getModel() { return null; // TODO } // getModel() | 32,716 |
public String getUIClassID() { return uiClassID; } // getUIClassID() | public String getUIClassID() { return uiClassID; } // getUIClassID() | 32,717 |
protected void paintBorder(Graphics graphics) { // TODO } // paintBorder() | protected void paintBorder(Graphics graphics) { // TODO } // paintBorder() | 32,718 |
protected String paramString() { return null; // TODO } // paramString() | protected String paramString() { return null; // TODO } // paramString() | 32,719 |
public void setBorderPainted(boolean painted) { // TODO } // setBorderPainted() | public void setBorderPainted(boolean painted) { // TODO } // setBorderPainted() | 32,720 |
public void setMaximum(int maximum) { // TODO } // setMaximum() | public void setMaximum(int maximum) { // TODO } // setMaximum() | 32,721 |
public void setMinimum(int minimum) { // TODO } // setMinimum() | public void setMinimum(int minimum) { // TODO } // setMinimum() | 32,722 |
public void setModel(BoundedRangeModel model) { // TODO } // setModel() | public void setModel(BoundedRangeModel model) { // TODO } // setModel() | 32,723 |
public void setOrientation(int orientation) { // TODO } // setOrientation() | public void setOrientation(int orientation) { // TODO } // setOrientation() | 32,724 |
public void setString(String string) { // TODO } // setString() | public void setString(String string) { // TODO } // setString() | 32,725 |
public void setStringPainted(boolean painted) { // TODO } // setStringPainted() | public void setStringPainted(boolean painted) { // TODO } // setStringPainted() | 32,726 |
public void setValue(int value) { // TODO } // setValue() | public void setValue(int value) { // TODO } // setValue() | 32,727 |
public void updateUI() { setUI((ProgressBarUI) UIManager.get(this)); invalidate(); } // updateUI() | public void updateUI() { setUI((ProgressBarUI) UIManager.get(this)); invalidate(); } // updateUI() | 32,728 |
public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | 32,729 |
public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | 32,730 |
public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | 32,731 |
private static void calculateOuterBoxDimensions(BlockBox outerBox) { outerBox.height = 0; for (Iterator i = outerBox.getChildIterator(); i.hasNext();) { Box child = (Box) i.next(); outerBox.height += child.height; outerBox.adjustWidthForChild(child.getWidth()); ... | private static void calculateOuterBoxDimensions(BlockBox outerBox) { outerBox.height = 0; for (Iterator i = outerBox.getChildIterator(); i.hasNext();) { Box child = (Box) i.next(); outerBox.height += child.height; outerBox.adjustWidthForChild(child.getWidth()); ... | 32,732 |
private static void layoutChildren(LayoutContext c, TableBox tableBox, Content content, boolean fixed, int borderSpacingHorizontal, int borderSpacingVertical) { Iterator contentIterator = content.getChildContent(c).iterator(); while (contentIterator.hasNext() && !c.shouldStop()) { Object o ... | private static void layoutChildren(LayoutContext c, TableBox tableBox, Content content, boolean fixed, int borderSpacingHorizontal, int borderSpacingVertical) { Iterator contentIterator = content.getChildContent(c).iterator(); while (contentIterator.hasNext() && !c.shouldStop()) { Object o ... | 32,734 |
public void start(String containerConfig) throws Exception { server.start(containerConfig); } | public void start(String containerConfig, boolean clearDatabase) throws Exception { server.start(containerConfig); } | 32,735 |
public void start(String containerConfig) throws Exception { server.start(containerConfig); } | public void start(String containerConfig) throws Exception { server.start(containerConfig, clearDatabase); } | 32,736 |
public void mouseReleased( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } Element elem = box.element; if ( elem == null ) { return; } if ( panel.getContext().getNamespaceHandler().getLinkUri(... | public void mouseReleased( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } Element elem = box.element; if ( elem == null ) { return; } if ( panel.getContext().getNamespaceHandler().getLinkUri(... | 32,737 |
private void setCursor( Box box ) { if ( prev == box || box == null || box.element == null ) { return; } if ( panel.getContext().getNamespaceHandler().getLinkUri( box.element ) != null ) { if ( !panel.getCursor().equals( Cursor.getPredefinedCursor( Cursor.HAND_CURSOR ) ) )... | private void setCursor( Box box ) { if ( prev == box || box == null || box.element == null ) { return; } if ( panel.getContext().getNamespaceHandler().getLinkUri( box.element ) != null ) { if ( !panel.getCursor().equals( Cursor.getPredefinedCursor( Cursor.HAND_CURSOR ) ) )... | 32,738 |
public static void log(String where, Level level, String msg) { if (initPending) { init(); } getLogger(where).log(level, msg); } | public static void log(String where, Level level, String msg) { if (initPending) { init(); } if ( isLoggingEnabled()) getLogger(where).log(level, msg); } | 32,743 |
public SwingDialog(Dialog target) { super(target); } | public SwingDialog(Dialog target) { super(target); } | 32,745 |
public SwingDialogPeer(SwingToolkit toolkit, Dialog target) { super(toolkit, target, new SwingDialog(target)); setTitle(target.getTitle()); setResizable(target.isResizable()); peerComponent.setIconifiable(true); peerComponent.setMaximizable(true); peerComponent.setClosable(... | public SwingDialogPeer(SwingToolkit toolkit, Dialog target) { super(toolkit, target, new SwingDialog(target, target.getTitle())); setTitle(target.getTitle()); setResizable(target.isResizable()); peerComponent.setIconifiable(true); peerComponent.setMaximizable(true); peerCom... | 32,746 |
public static ActivationGroupID currentGroupID() { try { if (currentGroupId==null) { setSystem(ActivationSystemTransient.getInstance()); } } catch (ActivationException e) { InternalError ierr = new InternalError("Unable to activate AS"); ierr.ini... | public static ActivationGroupID currentGroupID() { try { if (currentGroupId==null) { setSystem(DefaultActivationSystem.get()); } } catch (ActivationException e) { InternalError ierr = new InternalError("Unable to activate AS"); ierr.initCause(e);... | 32,750 |
public static ActivationSystem getSystem() throws ActivationException { if (system == null) return DefaultActivationSystem.get(); else return system; } | public static ActivationSystem getSystem() throws ActivationException { if (system == null) return DefaultActivationSystem.get(); else return system; } | 32,751 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ... | 32,752 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,753 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,754 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,755 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,756 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,757 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,758 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,759 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,760 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,761 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 32,762 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.