bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void removeColumn(TableColumn col) { int index = this.tableColumns.indexOf(col); if (index < 0) return; fireColumnRemoved(new TableColumnModelEvent(this, index, 0)); tableColumns.remove(col); invalidateWidthCache(); } | public void removeColumn(TableColumn column) { int index = this.tableColumns.indexOf(col); if (index < 0) return; fireColumnRemoved(new TableColumnModelEvent(this, index, 0)); tableColumns.remove(col); invalidateWidthCache(); } | 52,710 |
public void removeColumn(TableColumn col) { int index = this.tableColumns.indexOf(col); if (index < 0) return; fireColumnRemoved(new TableColumnModelEvent(this, index, 0)); tableColumns.remove(col); invalidateWidthCache(); } | public void removeColumn(TableColumn col) { int index = this.tableColumns.indexOf(column); if (index < 0) return; fireColumnRemoved(new TableColumnModelEvent(this, index, 0)); tableColumns.remove(col); invalidateWidthCache(); } | 52,711 |
public void removeColumn(TableColumn col) { int index = this.tableColumns.indexOf(col); if (index < 0) return; fireColumnRemoved(new TableColumnModelEvent(this, index, 0)); tableColumns.remove(col); invalidateWidthCache(); } | public void removeColumn(TableColumn col) { int index = this.tableColumns.indexOf(col); if (index < 0) return; fireColumnRemoved(new TableColumnModelEvent(this, index, 0)); column.removePropertyChangeListener(this); invalidateWidthCache(); } | 52,712 |
public void setColumnMargin(int m) { columnMargin = m; fireColumnMarginChanged(); } | public void setColumnMargin(int margin) { columnMargin = m; fireColumnMarginChanged(); } | 52,713 |
public void setColumnMargin(int m) { columnMargin = m; fireColumnMarginChanged(); } | public void setColumnMargin(int m) { columnMargin = margin; fireColumnMarginChanged(); } | 52,714 |
private IdentValue( String ident ) { this.ident = ident; } | private IdentValue(String ident) { this.ident = ident; } | 52,716 |
private final static synchronized IdentValue addValue( String ident ) { if ( ALL_IDENT_VALUES == null ) { ALL_IDENT_VALUES = new TreeMap(); } IdentValue val = new IdentValue( ident ); ALL_IDENT_VALUES.put( ident, val ); return val; } | private final static synchronized IdentValue addValue( String ident ) { if ( ALL_IDENT_VALUES == null ) { ALL_IDENT_VALUES = new TreeMap(); } IdentValue val = new IdentValue( ident ); ALL_IDENT_VALUES.put( ident, val ); return val; } | 52,717 |
private final static synchronized IdentValue addValue( String ident ) { if ( ALL_IDENT_VALUES == null ) { ALL_IDENT_VALUES = new TreeMap(); } IdentValue val = new IdentValue( ident ); ALL_IDENT_VALUES.put( ident, val ); return val; } | private final static synchronized IdentValue addValue( String ident ) { if ( ALL_IDENT_VALUES == null ) { ALL_IDENT_VALUES = new TreeMap(); } IdentValue val = new IdentValue( ident ); ALL_IDENT_VALUES.put( ident, val ); return val; } | 52,718 |
public static IdentValue getByIdentString( String ident ) { IdentValue val = (IdentValue)ALL_IDENT_VALUES.get( ident ); if ( val == null ) { throw new XRRuntimeException( "Ident named " + ident + " has no IdentValue instance assigned to it." ); } return val; } | public static IdentValue getByIdentString( String ident ) { IdentValue val = (IdentValue)ALL_IDENT_VALUES.get( ident ); if ( val == null ) { throw new XRRuntimeException( "Ident named " + ident + " has no IdentValue instance assigned to it." ); } return val; } | 52,719 |
protected Client getClient() { //Use the Client in the Connection's state return ((ConnectionState)state.getParent()).getClient(); } | protected Client getClient() { //Use the Client in the Connection's state return ((ConnectionState)state.getParent()).getRemotingConnection().getInvokingClient(); } | 52,720 |
public Object getContent(Context c) { return ContentUtil.getInlineContentList(_elem, c); } | public List getContent(Context c) { return ContentUtil.getInlineContentList(_elem, c); } | 52,721 |
private static void configureURLHandler(String realm, String host, String username, String passwd) { URLHandlerDispatcher dispatcher = new URLHandlerDispatcher(); dispatcher.setDownloader("http", URLHandlerRegistry.getHttp(realm, host, username, passwd)); URLHandlerRegistry.setDefault(dispatche... | private static void configureURLHandler(String realm, String host, String username, String passwd) { URLHandlerDispatcher dispatcher = new URLHandlerDispatcher(); URLHandler httpHandler = URLHandlerRegistry.getHttp(realm, host, username, passwd); dispatcher.setDownloader("http", httpHandler); dispatch... | 52,722 |
public ScrollPaneLayout() { // TODO } // ScrollPaneLayout() | public ScrollPaneLayout() { // TODO } // ScrollPaneLayout() | 52,723 |
public void syncWithScrollPane(JScrollPane scrollPane) { // TODO } // syncWithScrollPane() | public void syncWithScrollPane(JScrollPane scrollPane) { // TODO } // syncWithScrollPane() | 52,724 |
private String createDestination(boolean isQueue, String name, String jndiName) throws Exception { // // TODO - THIS IS A TEMPORARY IMPLEMENTATION; WILL BE REPLACED WITH INTEGRATION-CONSISTENT ONE // String destType = isQueue ? "Queue" : "Topic"; String className = "org.jboss.jms.server.de... | private String createDestination(boolean isQueue, String name, String jndiName) throws Exception { // // TODO - THIS IS A TEMPORARY IMPLEMENTATION; WILL BE REPLACED WITH INTEGRATION-CONSISTENT ONE // String destType = isQueue ? "Queue" : "Topic"; String className = "org.jboss.jms.server.de... | 52,725 |
public JPEGHuffmanTable(short[] lengths, short[] values) { if (lengths == null || values == null || lengths.length > 16 || values.length > 256) throw new IllegalArgumentException("invalid length or values array"); for (int i = 0; i < lengths.length; i++) { if (lengths[i] < 0) t... | public JPEGHuffmanTable(short[] lengths, short[] values) { if (lengths == null || values == null || lengths.length > 16 || values.length > 256) throw new IllegalArgumentException("invalid length or values array"); for (int i = 0; i < lengths.length; i++) { if (lengths[i] < 0) t... | 52,728 |
public short[] getLengths() { short[] lengthsCopy = new short[lengths.length]; System.arraycopy(lengths, 0, lengthsCopy, 0, lengths.length); return lengthsCopy; } | public short[] getLengths() { short[] lengthsCopy = new short[lengths.length]; System.arraycopy(lengths, 0, lengthsCopy, 0, lengths.length); return lengthsCopy; } | 52,729 |
public short[] getValues() { short[] valuesCopy = new short[values.length]; System.arraycopy(values, 0, valuesCopy, 0, values.length); return valuesCopy; } | public short[] getValues() { short[] valuesCopy = new short[values.length]; System.arraycopy(values, 0, valuesCopy, 0, values.length); return valuesCopy; } | 52,730 |
public static boolean isRelative(Context c) { return c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.RELATIVE); } | private static boolean isRelative(Context c) { return c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.RELATIVE); } | 52,731 |
public ServerPeer(String serverPeerID, String defaultQueueJNDIContext, String defaultTopicJNDIContext) throws Exception { this.serverPeerID = serverPeerID; this.defaultQueueJNDIContext = defaultQueueJNDIContext; this.defaultTopicJNDIContext = defaultTopicJNDIC... | public ServerPeer(String serverPeerID, String defaultQueueJNDIContext, String defaultTopicJNDIContext) throws Exception { this.serverPeerID = serverPeerID; this.defaultQueueJNDIContext = defaultQueueJNDIContext; this.defaultTopicJNDIContext = defaultTopicJNDIC... | 52,732 |
public ServerPeer(String serverPeerID, String defaultQueueJNDIContext, String defaultTopicJNDIContext) throws Exception { this.serverPeerID = serverPeerID; this.defaultQueueJNDIContext = defaultQueueJNDIContext; this.defaultTopicJNDIContext = defaultTopicJNDIC... | public ServerPeer(String serverPeerID, String defaultQueueJNDIContext, String defaultTopicJNDIContext) throws Exception { this.serverPeerID = serverPeerID; this.defaultQueueJNDIContext = defaultQueueJNDIContext; this.defaultTopicJNDIContext = defaultTopicJNDIC... | 52,733 |
private void createRecoverable() throws Exception { InitialContext ic = new InitialContext(); String connFactoryID = connFactoryJNDIMapper.registerConnectionFactory(null, null); XAConnectionFactory xaConnFactory = (XAConnectionFactory)connFactoryJNDIMapper.getConnectionFactory(connFactoryID)... | private void createRecoverable() throws Exception { InitialContext ic = new InitialContext(); int connFactoryID = connFactoryJNDIMapper.registerConnectionFactory(null, null); XAConnectionFactory xaConnFactory = (XAConnectionFactory)connFactoryJNDIMapper.getConnectionFactory(connFactoryID); ... | 52,735 |
private void initializeRemoting(MBeanServer mbeanServer) throws Exception { log.info("Getting invokerlocator for " + connectorName); String s = (String)mbeanServer.getAttribute(connectorName, "InvokerLocator"); locator = new InvokerLocator(s); //Note - There seems to be a bug (featu... | private void initializeRemoting(MBeanServer mbeanServer) throws Exception { log.info("Getting invokerlocator for " + connectorName); String s = (String)mbeanServer.getAttribute(connectorName, "InvokerLocator"); locator = new InvokerLocator(s); //Note - There seems to be a bug (featu... | 52,736 |
public synchronized void startService() throws Exception { if (started) { return; } log.debug(this + " starting"); loadClientAOPConfig(); loadServerAOPConfig(); MBeanServer mbeanServer = getServer(); // Acquire references to plugins. Each plug-in will be accessed dir... | public synchronized void startService() throws Exception { if (started) { return; } log.debug(this + " starting"); loadClientAOPConfig(); loadServerAOPConfig(); MBeanServer mbeanServer = getServer(); // Acquire references to plugins. Each plug-in will be accessed dir... | 52,738 |
public synchronized javax.jms.ConnectionFactory getConnectionFactory(String connectionFactoryID) { return (javax.jms.ConnectionFactory)factories.get(connectionFactoryID); } | public synchronized javax.jms.ConnectionFactory getConnectionFactory(int connectionFactoryID) { return (javax.jms.ConnectionFactory)factories.get(connectionFactoryID); } | 52,739 |
public synchronized javax.jms.ConnectionFactory getConnectionFactory(String connectionFactoryID) { return (javax.jms.ConnectionFactory)factories.get(connectionFactoryID); } | public synchronized javax.jms.ConnectionFactory getConnectionFactory(String connectionFactoryID) { return (javax.jms.ConnectionFactory)factories.get(Integer.valueOf(connectionFactoryID)); } | 52,740 |
public void close() throws JBossJMSException { if (log.isTraceEnabled()) log.trace("ServerSessionDelegate.close()"); //The traversal of the children is done in the ClosedInterceptor } | synchronized(consumers) { for(Iterator i = consumers.values().iterator(); i.hasNext(); ) { ((ServerConsumerDelegate)i.next()).remove(); } } synchronized(consumers) { for(Iterator i = consumers.values().iterator(); i.hasNext(); ) { ((ServerConsumerDelegate)i.next()).remove(); } } synchronized(consumers) { for(Iterat... | 52,741 |
protected JDBCPersistenceManager createPM() throws Exception { log.info("Creating pm"); try { cm = new JDBCChannelMapper(sc.getDataSource(), sc.getTransactionManager()); JDBCPersistenceManager pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionMana... | protected JDBCPersistenceManager createPM() throws Exception { try { cm = new JDBCChannelMapper(sc.getDataSource(), sc.getTransactionManager()); JDBCPersistenceManager pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), cm); ... | 52,742 |
protected JDBCPersistenceManager createPM() throws Exception { log.info("Creating pm"); try { cm = new JDBCChannelMapper(sc.getDataSource(), sc.getTransactionManager()); JDBCPersistenceManager pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionMana... | protected JDBCPersistenceManager createPM() throws Exception { log.info("Creating pm"); try { cm = new JDBCChannelMapper(sc.getDataSource(), sc.getTransactionManager()); JDBCPersistenceManager pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), cm); pm.start... | 52,743 |
public boolean selfTest() { if (valid == null) { boolean result = super.selfTest(); // do symmetry tests if (result) { result = testKat(KAT_KEY, KAT_CT, KAT_PT); } valid = new Boolean(result); } return valid.booleanValue(); } | public boolean selfTest() { if (valid == null) { boolean result = super.selfTest(); // do symmetry tests if (result) { result = testKat(KAT_KEY, KAT_CT, KAT_PT); } valid = Boolean.valueOf(result); } return valid.booleanValue(); } | 52,744 |
public boolean add(Receiver r) { if (trace) { log.trace(this + ": attempting to add receiver " + r); } boolean added = router.add(r); if (trace) { log.trace("receiver " + r + (added ? "" : " NOT") + " added"); } return added; } | public boolean add(Receiver r) { if (trace) { log.trace(this + " attempting to add receiver " + r); } boolean added = router.add(r); if (trace) { log.trace("receiver " + r + (added ? "" : " NOT") + " added"); } return added; } | 52,745 |
public void testStoreException() throws Exception { Configuration config = new DefaultConfiguration(); config.load(getClass().getResource("/osworkflow-jdbc.xml")); Workflow workflow = new BasicWorkflow("testuser"); workflow.setConfiguration(config); //correct behaviour is to get a... | public void testStoreException() throws Exception { Configuration config = new DefaultConfiguration(); config.load(getClass().getResource("/samples/invalid/invalid-datasource.xml")); Workflow workflow = new BasicWorkflow("testuser"); workflow.setConfiguration(config); //correct be... | 52,746 |
public void testStoreException() throws Exception { Configuration config = new DefaultConfiguration(); config.load(getClass().getResource("/osworkflow-jdbc.xml")); Workflow workflow = new BasicWorkflow("testuser"); workflow.setConfiguration(config); //correct behaviour is to get a... | public void testStoreException() throws Exception { Configuration config = new DefaultConfiguration(); config.load(getClass().getResource("/osworkflow-jdbc.xml")); Workflow workflow = new BasicWorkflow("testuser"); workflow.setConfiguration(config); //correct behaviour is to get a... | 52,747 |
public Class getCategory() { return Media.class; } | public final Class getCategory() { return Media.class; } | 52,748 |
public String getName() { return "media"; } | public final String getName() { return "media"; } | 52,749 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,750 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,751 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,752 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,753 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,754 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,755 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,756 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,757 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,758 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,759 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,760 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,761 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,762 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,763 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,764 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,765 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } ... | 52,766 |
public NaiveUserAgent() { try { setBaseURL(new File(".").toURL().toExternalForm()); } catch (MalformedURLException e) { e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. } } | public NaiveUserAgent() { try { setBaseURL(new File(".").toURI().toURL().toExternalForm()); } catch (MalformedURLException e) { e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. } } | 52,767 |
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) ... | 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) ... | 52,768 |
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) ... | 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) ... | 52,769 |
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) ... | 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) ... | 52,770 |
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) ... | 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) ... | 52,771 |
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) ... | 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) ... | 52,772 |
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) ... | 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) ... | 52,773 |
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) ... | 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) ... | 52,774 |
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) ... | 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) ... | 52,775 |
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) ... | 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) ... | 52,776 |
public void registerConnection(String remotingClientSessionID, ServerConnectionEndpoint endpoint) { connections.put(remotingClientSessionID, endpoint); log.trace("Registered connection:" + remotingClientSessionID); } | public void registerConnection(String remotingClientSessionID, ServerConnectionEndpoint endpoint) { connections.put(remotingClientSessionID, endpoint); log.debug("registered connection " + endpoint + " as " + Util.guidToString(remotingClientSessionID)); } | 52,777 |
public ServerConnectionEndpoint unregisterConnection(String remotingClientSessionID) { log.trace("Unregistered connection:" + remotingClientSessionID); return (ServerConnectionEndpoint)connections.remove(remotingClientSessionID); } | public ServerConnectionEndpoint unregisterConnection(String remotingClientSessionID) { log.trace("Unregistered connection:" + remotingClientSessionID); return (ServerConnectionEndpoint)connections.remove(remotingClientSessionID); } | 52,778 |
public Kernel getKernel() { return kernel; } | public Kernel getKernel() { return (Kernel) kernel.clone(); } | 52,779 |
private void startRemoting() throws Exception { RemotingJMXWrapper mbean = new RemotingJMXWrapper(new InvokerLocator("socket://localhost:9890")); mbeanServer.registerMBean(mbean, REMOTING_OBJECT_NAME); mbeanServer.invoke(REMOTING_OBJECT_NAME, "start", new Object[0], new String[0]); l... | private void startRemoting() throws Exception { RemotingJMXWrapper mbean = new RemotingJMXWrapper(new InvokerLocator("socket://localhost:9890")); mbeanServer.registerMBean(mbean, REMOTING_OBJECT_NAME); mbeanServer.invoke(REMOTING_OBJECT_NAME, "start", new Object[0], new String[0]); l... | 52,780 |
public boolean containsSession(String remotingClientSessionID) { return sessions.containsKey(remotingClientSessionID); } | public synchronized boolean containsSession(String remotingClientSessionID) { return sessions.containsKey(remotingClientSessionID); } | 52,781 |
public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | 52,782 |
public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | 52,783 |
public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | 52,784 |
public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | 52,785 |
public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | public synchronized void handleClientFailure(String remotingSessionID) { String jmsClientId = (String)sessions.get(remotingSessionID); if (jmsClientId != null) { log.warn(this + " handling client " + remotingSessionID + "'s remoting connection failure "); //... | 52,786 |
private static void error(URL base, StreamTokenizer in, String msg) throws IOException { throw new IOException(base+":"+in.lineno()+": "+msg); } | private static void error(URL base, StreamTokenizer in, String msg) throws IOException { throw new IOException(base+":"+in.lineno()+": "+msg); } | 52,787 |
private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | 52,788 |
private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | 52,789 |
private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | 52,790 |
private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | 52,791 |
private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | 52,792 |
private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | 52,793 |
private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | 52,794 |
private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | private static String expand(final String s) { final StringBuffer result = new StringBuffer(); final StringBuffer prop = new StringBuffer(); int state = 0; for (int i = 0; i < s.length(); i++) { switch (state) { case 0: if (s.charAt(i) == '$') ... | 52,795 |
public PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext(); ) { Map.Entry e = (Map.Entry) it.next(); CodeSource cs = (CodeSource) e.getKey(); if (cs.implies(codeSource)) ... | public PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext(); ) { Map.Entry e = (Map.Entry) it.next(); CodeSource cs = (CodeSource) e.getKey(); if (cs.implies(codeSource)) ... | 52,796 |
public PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext(); ) { Map.Entry e = (Map.Entry) it.next(); CodeSource cs = (CodeSource) e.getKey(); if (cs.implies(codeSource)) ... | public PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext(); ) { Map.Entry e = (Map.Entry) it.next(); CodeSource cs = (CodeSource) e.getKey(); if (cs.implies(codeSource)) ... | 52,797 |
public PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext(); ) { Map.Entry e = (Map.Entry) it.next(); CodeSource cs = (CodeSource) e.getKey(); if (cs.implies(codeSource)) ... | public PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext(); ) { Map.Entry e = (Map.Entry) it.next(); CodeSource cs = (CodeSource) e.getKey(); if (cs.implies(codeSource)) ... | 52,798 |
public PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext(); ) { Map.Entry e = (Map.Entry) it.next(); CodeSource cs = (CodeSource) e.getKey(); if (cs.implies(codeSource)) ... | public PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext(); ) { Map.Entry e = (Map.Entry) it.next(); CodeSource cs = (CodeSource) e.getKey(); if (cs.implies(codeSource)) ... | 52,799 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,800 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,801 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,802 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,803 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,804 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,805 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,806 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,807 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,808 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,809 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,810 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,811 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,812 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,813 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,814 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.