bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Subscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { long id = this.getNextId(); Topic topic = (Topic)getCoreDestinationInternal(false, topicName); i...
public Subscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { long id = this.getNextId(); Topic topic = (Topic)getCoreDestinationInternal(false, topicName); i...
57,975
public DurableSubscriptionHolder removeDurableSubscription(String clientID, String subscriptionName) { Map subs = (Map)subscriptions.get(clientID); if (subs == null) return null; DurableSubscriptionHolder removed = (DurableSubs...
public DurableSubscriptionHolder removeDurableSubscription(String clientID, String subscriptionName) { Map subs = (Map)subscriptions.get(clientID); if (subs == null) { return null; } if (log.isTraceEnabled()) { log.trace("Removing durab...
57,976
public void addListener(InvokerCallbackHandler callbackHandler) { if (log.isTraceEnabled()) { log.trace("adding callback handler " + callbackHandler); } if (callbackHandler instanceof ServerInvokerCallbackHandler) { ServerInvokerCallbackHandler h = (ServerInvokerCallbackHan...
public void addListener(InvokerCallbackHandler callbackHandler) { if (log.isTraceEnabled()) { log.trace("adding callback handler " + callbackHandler); } if (callbackHandler instanceof ServerInvokerCallbackHandler) { ServerInvokerCallbackHandler h = (ServerInvokerCallbackHan...
57,978
public void addListener(InvokerCallbackHandler callbackHandler) { if (log.isTraceEnabled()) { log.trace("adding callback handler " + callbackHandler); } if (callbackHandler instanceof ServerInvokerCallbackHandler) { ServerInvokerCallbackHandler h = (ServerInvokerCallbackHan...
public void addListener(InvokerCallbackHandler callbackHandler) { if (log.isTraceEnabled()) { log.trace("adding callback handler " + callbackHandler); } if (callbackHandler instanceof ServerInvokerCallbackHandler) { ServerInvokerCallbackHandler h = (ServerInvokerCallbackHan...
57,979
public Object invoke(InvocationRequest invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SE...
public Object invoke(InvocationRequest invocation) throws Throwable { if (trace) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SESSION_ID); ...
57,980
public Object invoke(InvocationRequest invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SE...
public Object invoke(InvocationRequest invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SE...
57,981
public Object invoke(InvocationRequest invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SE...
public Object invoke(InvocationRequest invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SE...
57,982
public Object invoke(InvocationRequest invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SE...
public Object invoke(InvocationRequest invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SE...
57,983
public Object invoke(InvocationRequest invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SE...
public Object invoke(InvocationRequest invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("Invoking:" + invocation); } MethodInvocation i = (MethodInvocation)invocation.getParameter(); String s = (String)i.getMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SE...
57,984
public void removeListener(InvokerCallbackHandler callbackHandler) { if (log.isTraceEnabled()) { log.trace("removing callback handler: " + callbackHandler); } synchronized(callbackHandlers) { for(Iterator i = callbackHandlers.keySet().iterator(); i.hasNext();) { Object key...
public void removeListener(InvokerCallbackHandler callbackHandler) { if (trace) { log.trace("removing callback handler: " + callbackHandler); } synchronized(callbackHandlers) { for(Iterator i = callbackHandlers.keySet().iterator(); i.hasNext();) { Object key = i.next(); ...
57,985
public void setInvoker(ServerInvoker invoker) { this.invoker = invoker; if (log.isTraceEnabled()) {log.trace("set ServerInvoker to " + this.invoker); } }
public void setInvoker(ServerInvoker invoker) { this.invoker = invoker; if (trace) {log.trace("set ServerInvoker to " + this.invoker); } }
57,986
public void setMBeanServer(MBeanServer server) { this.server = server; if (log.isTraceEnabled()) { log.trace("set MBeanServer to " + this.server); } }
public void setMBeanServer(MBeanServer server) { this.server = server; if (trace) { log.trace("set MBeanServer to " + this.server); } }
57,987
public void prefixTo(SocketBuffer skbuf) { skbuf.insert(SIZE); skbuf.set(0, opcode); skbuf.set(1, hwType); skbuf.set(2, clientHwAddress.getLength()); skbuf.set(3, hopCount); skbuf.set32(4, transactionID); skbuf.set16(8, secondsElapsed); skbuf.set16(10, flags); if (clientIPAddress != null) ...
public void prefixTo(SocketBuffer skbuf) { skbuf.insert(SIZE); skbuf.set(0, opcode); skbuf.set(1, hwType); skbuf.set(2, clientHwAddress.getLength()); skbuf.set(3, hopCount); skbuf.set32(4, transactionID); skbuf.set16(8, secondsElapsed); skbuf.set16(10, flags); if (clientIPAddress != null) ...
57,988
private BCSSChild() { }
BCSSChild(Object targetChild, Object peer) { }
57,989
public boolean addService (Class serviceClass, BeanContextServiceProvider bcsp) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean addService (Class serviceClass, BeanContextServiceProvider bcsp) throws NotImplementedException { throw new Error ("Not implemented"); }
57,992
public boolean addService (Class serviceClass, BeanContextServiceProvider bcsp) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean addService (Class serviceClass, BeanContextServiceProvider bcsp) throws NotImplementedException { return addService(serviceClass, bcsp, true); }
57,993
protected BeanContextSupport.BCSChild createBCSChild (Object targetChild, Object peer) throws NotImplementedException { throw new Error ("Not implemented"); }
protected BeanContextSupport.BCSChild createBCSChild (Object targetChild, Object peer) { throw new Error ("Not implemented"); }
57,994
protected BeanContextSupport.BCSChild createBCSChild (Object targetChild, Object peer) throws NotImplementedException { throw new Error ("Not implemented"); }
protected BeanContextSupport.BCSChild createBCSChild (Object targetChild, Object peer) throws NotImplementedException { return new BCSSChild(targetChild, peer); }
57,995
protected final void fireServiceAdded (BeanContextServiceAvailableEvent bcssae) throws NotImplementedException { throw new Error ("Not implemented"); }
protected final void fireServiceAdded (BeanContextServiceAvailableEvent bcssae) { throw new Error ("Not implemented"); }
57,996
protected final void fireServiceAdded (BeanContextServiceAvailableEvent bcssae) throws NotImplementedException { throw new Error ("Not implemented"); }
protected final void fireServiceAdded (BeanContextServiceAvailableEvent bcssae) throws NotImplementedException { synchronized (bcsListeners) { int size = bcsListeners.size(); for (int i = 0; i < size; ++i) { BeanContextServicesListener bcsl = (BeanContextServicesListener) bcsListeners.get(i); bcsl.serviceAvail...
57,997
protected final void fireServiceRevoked(BeanContextServiceRevokedEvent event) throws NotImplementedException { throw new Error ("Not implemented"); }
protected final void fireServiceRevoked(BeanContextServiceRevokedEvent event) { throw new Error ("Not implemented"); }
57,998
protected final void fireServiceRevoked(BeanContextServiceRevokedEvent event) throws NotImplementedException { throw new Error ("Not implemented"); }
protected final void fireServiceRevoked(BeanContextServiceRevokedEvent event) throws NotImplementedException { synchronized (bcsListeners) { int size = bcsListeners.size(); for (int i = 0; i < size; ++i) { BeanContextServicesListener bcsl = (BeanContextServicesListener) bcsListeners.get(i); bcsl.serviceRevoked...
57,999
public Iterator getCurrentServiceClasses () throws NotImplementedException { throw new Error ("Not implemented"); }
public Iterator getCurrentServiceClasses () { throw new Error ("Not implemented"); }
58,000
public Iterator getCurrentServiceClasses () throws NotImplementedException { throw new Error ("Not implemented"); }
public Iterator getCurrentServiceClasses () throws NotImplementedException { synchronized (services) { return services.keySet().iterator(); } }
58,001
public Iterator getCurrentServiceSelectors (Class serviceClass) throws NotImplementedException { throw new Error ("Not implemented"); }
public Iterator getCurrentServiceSelectors (Class serviceClass) { throw new Error ("Not implemented"); }
58,002
public Iterator getCurrentServiceSelectors (Class serviceClass) throws NotImplementedException { throw new Error ("Not implemented"); }
public Iterator getCurrentServiceSelectors (Class serviceClass) throws NotImplementedException { synchronized (services) { BeanContextServiceProvider bcsp = (BeanContextServiceProvider) services.get(serviceClass); return bcsp.getCurrentServiceSelectors(this, serviceClass); } }
58,003
public boolean hasService (Class serviceClass) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean hasService (Class serviceClass) { throw new Error ("Not implemented"); }
58,004
public boolean hasService (Class serviceClass) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean hasService (Class serviceClass) throws NotImplementedException { synchronized (services) { return services.containsKey(serviceClass); } }
58,005
public void removeBeanContextServicesListener (BeanContextServicesListener listener) { int index = bcsListeners.indexOf(listener); if (index > -1) bcsListeners.remove(index); }
publicvoidremoveBeanContextServicesListener(BeanContextServicesListenerlistener){intindex=bcsListeners.indexOf(listener);if(index>-1)bcsListeners.remove(index);}
58,006
public void serviceAvailable (BeanContextServiceAvailableEvent bcssae) throws NotImplementedException { throw new Error ("Not implemented"); }
public void serviceAvailable (BeanContextServiceAvailableEvent bcssae) { throw new Error ("Not implemented"); }
58,008
public void serviceAvailable (BeanContextServiceAvailableEvent bcssae) throws NotImplementedException { throw new Error ("Not implemented"); }
public void serviceAvailable (BeanContextServiceAvailableEvent bcssae) throws NotImplementedException { synchronized (services) { Class klass = bcssae.getServiceClass(); if (services.containsKey(klass)) return; Iterator it = bcsChildren(); while (it.hasNext()) { Object obj = it.next(); if (obj instanceof Bean...
58,009
public void serviceRevoked (BeanContextServiceRevokedEvent bcssre) throws NotImplementedException { throw new Error ("Not implemented"); }
public void serviceRevoked (BeanContextServiceRevokedEvent bcssre) { throw new Error ("Not implemented"); }
58,010
public void serviceRevoked (BeanContextServiceRevokedEvent bcssre) throws NotImplementedException { throw new Error ("Not implemented"); }
public void serviceRevoked (BeanContextServiceRevokedEvent bcssre) throws NotImplementedException { synchronized (services) { Class klass = bcssre.getServiceClass(); if (services.containsKey(klass)) return; Iterator it = bcsChildren(); while (it.hasNext()) { Object obj = it.next(); if (obj instanceof BeanCont...
58,011
List getReferenceInfos(long channelID, int number) throws Exception;
List getReferenceInfos(long channelID, int number) throws Exception;
58,012
public JBossSession(ConnectionDelegate connectionDelegate, SessionDelegate sessionDelegate, boolean isXA, int sessionType, boolean transacted, int acknowledgeMode) throws JMSException { this.sessionDe...
public JBossSession(ConnectionDelegate connectionDelegate, SessionDelegate sessionDelegate, boolean isXA, int sessionType, boolean transacted, int acknowledgeMode) throws JMSException { this.sessionDe...
58,013
public JBossSession(ConnectionDelegate connectionDelegate, SessionDelegate sessionDelegate, boolean isXA, int sessionType, boolean transacted, int acknowledgeMode) throws JMSException { this.sessionDe...
public JBossSession(ConnectionDelegate connectionDelegate, SessionDelegate sessionDelegate, boolean isXA, int sessionType, boolean transacted, int acknowledgeMode) throws JMSException { this.sessionDe...
58,014
public TemporaryQueue createTemporaryQueue() throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_TOPIC_SESSION) { throw new IllegalStateException("Cannot create a temp. queue using a TopicSession"); } JBossTemporaryQueue queue = new JBossTemporaryQueue(connect...
public TemporaryQueue createTemporaryQueue() throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_TOPIC_SESSION) { throw new IllegalStateException("Cannot create a temp. queue using a TopicSession"); } JBossTemporaryQueue queue = new JBossTemporaryQueue(connect...
58,015
public TemporaryTopic createTemporaryTopic() throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_QUEUE_SESSION) { throw new IllegalStateException("Cannot create a temporary topic on a QueueSession"); } JBossTemporaryTopic topic = new JBossTemporaryTopic(connec...
public TemporaryTopic createTemporaryTopic() throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_QUEUE_SESSION) { throw new IllegalStateException("Cannot create a temporary topic on a QueueSession"); } JBossTemporaryTopic topic = new JBossTemporaryTopic(connec...
58,016
public void unsubscribe(String name) throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_QUEUE_SESSION) { throw new IllegalStateException("Cannot unsubscribe using a QueueSession"); } connectionDelegate.unsubscribe(name); }
public void unsubscribe(String name) throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_QUEUE_SESSION) { throw new IllegalStateException("Cannot unsubscribe using a QueueSession"); } sessionDelegate.unsubscribe(name); }
58,017
public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, params, p[i]); ...
public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try return getInstance(type, params, p[i]); } ...
58,018
public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, params, p[i]); ...
public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, params, p[i]); ...
58,019
public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, params, p[i]); ...
public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, params, p[i]); ...
58,020
public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, params, p[i]); ...
if (lastException != null) throw lastException; if (lastException != null) throw lastException; publicif (lastException != null) throw lastException; staticif (lastException != null) throw lastException; CertStoreif (lastException != null) throw lastException; getInstance(Stringif (lastException != null) throw lastExce...
58,021
protected String paramString() { return "JDesktopPane"; }
protected String paramString() { String superParamStr = super.paramString(); StringBuffer sb = new StringBuffer(); sb.append(",isOptimizedDrawingPossible="); sb.append(isOptimizedDrawingEnabled()); sb.append(",desktopManager="); if (desktopManager != null) sb.append(desktopManager); return superParamStr + sb.toSt...
58,022
public void tearDown() throws Exception { ServerManagement.undeployQueue("Queue"); //ServerManagement.deInit(); super.tearDown(); }
public void tearDown() throws Exception { ServerManagement.undeployQueue("Queue"); //ServerManagement.deInit(); super.tearDown(); }
58,023
public List getSecurityPermissions(long id) { return new BasicWorkflow(getRemoteUser()).getSecurityPermissions(id); }
public List getSecurityPermissions(long id) { return new BasicWorkflow(getRemoteUser()).getSecurityPermissions(id, null); }
58,025
protected synchronized Client getClient() throws Exception { if (client == null) { //we force this client to use a different invoker by adding a dummy parameter on the invoker locator //we do this otherwise the pinger will get started with this client //since remoting only provide...
protected Client getClient() { if (client == null) { //we force this client to use a different invoker by adding a dummy parameter on the invoker locator //we do this otherwise the pinger will get started with this client //since remoting only provides one pinger per invoker ...
58,026
protected synchronized Client getClient() throws Exception { if (client == null) { //we force this client to use a different invoker by adding a dummy parameter on the invoker locator //we do this otherwise the pinger will get started with this client //since remoting only provide...
protected synchronized Client getClient() throws Exception { if (client == null) { //we force this client to use a different invoker by adding a dummy parameter on the invoker locator //we do this otherwise the pinger will get started with this client //since remoting only provide...
58,027
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } String methodName = ((MethodInvocation)invocation).getMethod().getName(); Object ret = null; ...
public synchronized Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } String methodName = ((MethodInvocation)invocation).getMethod().getName(); Object ret = n...
58,028
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } String methodName = ((MethodInvocation)invocation).getMethod().getName(); Object ret = null; ...
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } String methodName = ((MethodInvocation)invocation).getMethod().getName(); Object ret = null; ...
58,029
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } String methodName = ((MethodInvocation)invocation).getMethod().getName(); Object ret = null; ...
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } String methodName = ((MethodInvocation)invocation).getMethod().getName(); Object ret = null; ...
58,030
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, X.509 Certificates"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Sig...
58,033
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
58,034
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
58,035
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
58,036
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
58,037
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Sign...
58,038
private void pullMessages() throws Throwable { RemoteQueueStub theQueue; int thePullSize; synchronized (pullLock) { if (pullQueue == null) { return; } theQueue = pullQueue; thePullSize = pullSize; } Transa...
private void pullMessages() throws Throwable { RemoteQueueStub theQueue; int thePullSize; synchronized (pullLock) { if (pullQueue == null) { return; } theQueue = pullQueue; thePullSize = pullSize; } Transa...
58,040
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get...
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get...
58,042
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get...
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get...
58,043
protected int getPCOffset(Address sf) { return PC_OFFSET; }
protected int getPCOffset(Address sf) { return PC_OFFSET; }
58,044
public void addAck(Object xid, AckInfo ackInfo) throws JMSException { if (log.isTraceEnabled()) { log.trace("Addding ack for xid:" + xid); } TxState tx = getTx(xid); if (tx == null) { throw new JMSException("There is no transaction with id:" + xid); } tx.getAcks().add(ackInfo)...
public void addAck(Object xid, AckInfo ackInfo) throws JMSException { if (trace) { log.trace("Addding ack for xid:" + xid); } TxState tx = getTx(xid); if (tx == null) { throw new JMSException("There is no transaction with id:" + xid); } tx.getAcks().add(ackInfo); }
58,045
public void addMessage(Object xid, Message m) { if (log.isTraceEnabled()) { log.trace("Addding message for xid:" + xid); } TxState tx = getTx(xid); tx.getMessages().add(m); }
public void addMessage(Object xid, Message m) { if (trace) { log.trace("Addding message for xid:" + xid); } TxState tx = getTx(xid); tx.getMessages().add(m); }
58,046
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); if (onePhase) { //Invalid xid if (tx == null)...
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); if (onePhase) { //Invalid xid if (tx == null) { ...
58,047
public void commitLocal(LocalTxXid xid, ConnectionDelegate connection) throws JMSException { if (log.isTraceEnabled()) { log.trace("Commiting local xid=" + xid); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { final String msg = "Cannot find transaction wi...
public void commitLocal(LocalTxXid xid, ConnectionDelegate connection) throws JMSException { if (trace) { log.trace("Commiting local xid=" + xid); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { final String msg = "Cannot find transaction with xid:"; ...
58,048
public Xid convertTx(LocalTxXid anonXid, Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Converting tx anonXid=" + anonXid + ", xid=" + xid); } TxState state = getTx(anonXid); if (state == null) { log.error("Cannot find transaction with xid:" + anonXid); ...
public Xid convertTx(LocalTxXid anonXid, Xid xid) throws XAException { if (trace) { log.trace("Converting tx anonXid=" + anonXid + ", xid=" + xid); } TxState state = getTx(anonXid); if (state == null) { log.error("Cannot find transaction with xid:" + anonXid); throw new...
58,049
public void endTx(Xid xid, boolean success) throws XAException { if (log.isTraceEnabled()) { log.trace("Ending xid=" + xid + ", success=" + success); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new...
public void endTx(Xid xid, boolean success) throws XAException { if (trace) { log.trace("Ending xid=" + xid + ", success=" + success); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XA...
58,050
public TxState getTx(Object xid) { if (log.isTraceEnabled()) { log.trace("Getting tx for tx id:" + xid); } TxState tx = (TxState) transactions.get(xid); return tx; }
public TxState getTx(Object xid) { if (trace) { log.trace("Getting tx for tx id:" + xid); } TxState tx = (TxState) transactions.get(xid); return tx; }
58,051
public Xid joinTx(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Joining tx xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
public Xid joinTx(Xid xid) throws XAException { if (trace) { log.trace("Joining tx xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); } ret...
58,052
public int prepare(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Preparing xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAExce...
public int prepare(Xid xid, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("Preparing xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAExcepti...
58,053
public Xid[] recover(int flags, ConnectionDelegate conn) throws XAException { if (log.isTraceEnabled()) { log.trace("Calling recover " + flags); } if (flags == XAResource.TMSTARTRSCAN) { return conn.getPreparedTransactions(); } else { return new Xid[0]; } ...
public Xid[] recover(int flags, ConnectionDelegate conn) throws XAException { if (trace) { log.trace("Calling recover " + flags); } if (flags == XAResource.TMSTARTRSCAN) { return conn.getPreparedTransactions(); } else { return new Xid[0]; } }
58,054
public Xid resumeTx(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Resuming tx xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA)...
public Xid resumeTx(Xid xid) throws XAException { if (trace) { log.trace("Resuming tx xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); } r...
58,055
public void rollback(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); TransactionRequest request = null; //We don't need to send the messages to the server on a r...
public void rollback(Xid xid, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); TransactionRequest request = null; //We don't need to send the messages to the server on a rollback if...
58,056
public void rollbackLocal(LocalTxXid xid, ConnectionDelegate connection) throws JMSException { if (log.isTraceEnabled()) { log.trace("Rolling back local xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { final String msg = "Cannot find transaction with xid:" + xid; l...
public void rollbackLocal(LocalTxXid xid, ConnectionDelegate connection) throws JMSException { if (trace) { log.trace("Rolling back local xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { final String msg = "Cannot find transaction with xid:" + xid; log.error(msg); ...
58,057
public Xid startTx(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Starting tx xid=" + xid); } TxState state = getTx(xid); if (state != null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_DUPID); ...
public Xid startTx(Xid xid) throws XAException { if (trace) { log.trace("Starting tx xid=" + xid); } TxState state = getTx(xid); if (state != null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_DUPID); } transac...
58,058
public Xid suspendTx(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Suppending tx xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
public Xid suspendTx(Xid xid) throws XAException { if (trace) { log.trace("Suppending tx xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); } retu...
58,059
private static InlineBoxMeasurements calculateInlineMeasurements(LayoutContext c, InlineBox iB, VerticalAlignContext vaContext) { LineMetrics lm = iB.getStyle().getLineMetrics(c); CalculatedStyle style = iB.getStyle().getCalculatedSty...
private static InlineBoxMeasurements calculateInlineMeasurements(LayoutContext c, InlineBox iB, VerticalAlignContext vaContext) { LineMetrics lm = iB.getStyle().getLineMetrics(c); CalculatedStyle style = iB.getStyle().getCalculatedSty...
58,060
private static InlineBoxMeasurements calculateInlineMeasurements(LayoutContext c, InlineBox iB, VerticalAlignContext vaContext) { LineMetrics lm = iB.getStyle().getLineMetrics(c); CalculatedStyle style = iB.getStyle().getCalculatedSty...
private static InlineBoxMeasurements calculateInlineMeasurements(LayoutContext c, InlineBox iB, VerticalAlignContext vaContext) { LineMetrics lm = iB.getStyle().getLineMetrics(c); CalculatedStyle style = iB.getStyle().getCalculatedSty...
58,061
private static InlineBoxMeasurements getInitialMeasurements( LayoutContext c, Box container, LineMetrics strutLM) { Style style = container.getStyle(); float lineHeight = style.getCalculatedStyle().getLineHeight(c); FontSpecification fontSpec = style.getCalculatedStyle().getFont(c); ...
private static InlineBoxMeasurements getInitialMeasurements( LayoutContext c, Box container, LineMetrics strutLM) { Style style = container.getStyle(); float lineHeight = style.getCalculatedStyle().getLineHeight(c); int halfLeading = Math.round((lineHeight - fontSpec.size) / 2...
58,062
private static InlineBoxMeasurements getInitialMeasurements( LayoutContext c, Box container, LineMetrics strutLM) { Style style = container.getStyle(); float lineHeight = style.getCalculatedStyle().getLineHeight(c); FontSpecification fontSpec = style.getCalculatedStyle().getFont(c); ...
private static InlineBoxMeasurements getInitialMeasurements( LayoutContext c, Box container, LineMetrics strutLM) { Style style = container.getStyle(); float lineHeight = style.getCalculatedStyle().getLineHeight(c); FontSpecification fontSpec = style.getCalculatedStyle().getFont(c); ...
58,063
public void deInit() { try { if (subName != null) { sess.unsubscribe(subName); } sess.close(); } catch (Exception e) { log.error("!!!!!!!!!!!!!!!!!!Close failed", e); ...
public void deInit() { try { if (subName != null) { sess.unsubscribe(subName); } sess.close(); } catch (Throwable e) { log.error("!!!!!!!!!!!!!!!!!!Close failed", e); ...
58,064
public void deInit() { try { if (subName != null) { sess.unsubscribe(subName); } sess.close(); } catch (Exception e) { log.error("!!!!!!!!!!!!!!!!!!Close failed", e); ...
public void deInit() { try { if (subName != null) { sess.unsubscribe(subName); } sess.close(); } catch (Exception e) { log.error("deInit failed", e); throwable = e; ...
58,065
public void init() { try { Connection conn = getNextConnection(); if (subName != null) { try { conn.setClientID(clientID); } catch (Exception e) { ...
public void init() { try { Connection conn = getNextConnection(); if (subName != null) { try { conn.setClientID(clientID); } catch (Throwable e) { ...
58,066
public void init() { try { Connection conn = getNextConnection(); if (subName != null) { try { conn.setClientID(clientID); } catch (Exception e) { ...
public void init() { try { Connection conn = getNextConnection(); if (subName != null) { try { conn.setClientID(clientID); } catch (Exception e) { ...
58,067
public void run() { try { int count = 0; while (count < (numMessages)) { Message m = cons.receive(RECEIVE_TIMEOUT); if (m != null) { ...
public void run() { try { int count = 0; while (count < (numMessages)) { Message m = cons.receive(RECEIVE_TIMEOUT); if (m != null) { ...
58,068
public void run() { try { int count = 0; while (count < (numMessages)) { Message m = cons.receive(RECEIVE_TIMEOUT); if (m != null) { ...
public void run() { try { int count = 0; while (count < (numMessages)) { Message m = cons.receive(RECEIVE_TIMEOUT); if (m != null) { ...
58,069
public void acknowledge(Routable r, Transaction tx) throws Throwable { Object[] touple = null; SingleReceiverDelivery d = null; for (Iterator i = messages.iterator(); i.hasNext(); ) { Object[] o = (Object[])i.next(); Message m = (Message)o[0]; if (m == r) { ...
public void acknowledge(Routable r, Transaction tx) throws Throwable { Object[] touple = null; SingleReceiverDelivery d = null; for (Iterator i = messages.iterator(); i.hasNext(); ) { Object[] o = (Object[])i.next(); Message m = (Message)o[0]; if (m == r) { ...
58,070
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo...
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo...
58,071
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if(command.equals("permissionadd")) { add(); } else if(command.equals("permissionremove")) { remove(); } else if(command.equals("permissionedit")) { modify(); } else if(command.equals("...
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand().toLowerCase(); if(command.equals("permissionadd")) { add(); } else if(command.equals("permissionremove")) { remove(); } else if(command.equals("permissionedit")) { modify(); } else if(co...
58,072
public void addNamingListener(Name target, String filter, SearchControls ctls, NamingListener l) throws NamingException;
public void addNamingListener(Name target, String filter, SearchControls ctls, NamingListener l) throws NamingException;
58,073
public synchronized Object invoke(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (trace) { log.trace("invoking " + methodName + " on server"); } SimpleMetaData md = mi.getMetaData(); md.addMetaD...
public synchronized Object invoke(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (trace) { log.trace("invoking " + methodName + " on server"); } SimpleMetaData md = mi.getMetaData(); md.addMetaD...
58,074
private CSSName(String propName) { try { this.propName = propName; this.assignedID = CSSName.maxAssigned++; } catch (Exception ex) { ex.printStackTrace(); } }
private CSSName(String propName, boolean isPrimitive) { try { this.propName = propName; this.assignedID = CSSName.maxAssigned++; } catch (Exception ex) { ex.printStackTrace(); } }
58,075
private CSSName(String propName) { try { this.propName = propName; this.assignedID = CSSName.maxAssigned++; } catch (Exception ex) { ex.printStackTrace(); } }
private CSSName(String propName) { try { this.propName = propName; this.setAssignedID(CSSName.maxAssigned++); this.isPrimitive = isPrimitive; } catch (Exception ex) { ex.printStackTrace(); } }
58,076
private final static synchronized CSSName addProperty(String propName, boolean isPrimitive) { if (ALL_PROPERTY_NAMES == null) { ALL_PROPERTY_NAMES = new TreeMap(); } if ( ALL_PRIMITIVE_PROPERTY_NAMES == null ) { ALL_PRIMITIVE_PROPERTY_NAMES = new TreeMap(); } ...
private final static synchronized CSSName addProperty(String propName, boolean isPrimitive) { if (ALL_PROPERTY_NAMES == null) { ALL_PROPERTY_NAMES = new TreeMap(); } if ( ALL_PRIMITIVE_PROPERTY_NAMES == null ) { ALL_PRIMITIVE_PROPERTY_NAMES = new TreeMap(); } ...
58,077
public void tearDown() throws Exception { super.tearDown(); ServerManagement.deInit(); }
public void tearDown() throws Exception { super.tearDown(); }
58,078
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
58,079
private Box findBox(MouseEvent evt) { Box box = panel.findBox(evt.getX(), evt.getY()); if (box == null) return null; if (box instanceof LineBox) return null; return box; }
private Box findBox(MouseEvent evt) { Box box = panel.findElementBox(evt.getX(), evt.getY()); if (box == null) return null; if (box instanceof LineBox) return null; return box; }
58,080
private void restyle(Box ib) { if (prev == ib) { return; } if (ib == null) panel.hovered_element = null; else panel.hovered_element = ib.getRealElement(); // if moved out of the old block then unstyle it if (prev != null) { boolea...
private void restyle(Box ib) { if (prev == ib) { return; } if (ib == null) panel.hovered_element = null; else panel.hovered_element = ib.getRealElement(); // if moved out of the old block then unstyle it if (prev != null) { boolea...
58,081
public void testSendDestination() throws Exception { final Message m1 = producerSession.createMessage(); consumerConnection.start(); new Thread(new Runnable() { public void run() { try { // this is needed to make sure the main thread has enoug...
public void testSendDestination() throws Exception { final Message m1 = producerSession.createMessage(); consumerConnection.start(); new Thread(new Runnable() { public void run() { try { // this is needed to make sure the main thread has enoug...
58,082
public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); topicProducer.send(topic2, m1); } catch(Exception e) { log.error(e); ...
public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); anonProducer.send(topic2, m1); } catch(Exception e) { log.error(e); ...
58,083