From do-not-reply at jboss.org Mon Sep 12 09:38:16 2011 Content-Type: multipart/mixed; boundary="===============1131726736507452712==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: hornetq-commits at lists.jboss.org Subject: [hornetq-commits] JBoss hornetq SVN: r11327 - in trunk/hornetq-core/src/main/java/org/hornetq: core/server/impl and 1 other directories. Date: Mon, 12 Sep 2011 09:38:16 -0400 Message-ID: <201109121338.p8CDcGeN016433@svn01.web.mwc.hst.phx2.redhat.com> --===============1131726736507452712== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: borges Date: 2011-09-12 09:38:15 -0400 (Mon, 12 Sep 2011) New Revision: 11327 Removed: trunk/hornetq-core/src/main/java/org/hornetq/core/server/Delivery.java trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/DeliveryIm= pl.java trunk/hornetq-core/src/main/java/org/hornetq/utils/HQDeque.java trunk/hornetq-core/src/main/java/org/hornetq/utils/HQIterator.java Log: Delete 'dead' unused code. Deleted: trunk/hornetq-core/src/main/java/org/hornetq/core/server/Delivery.= java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/hornetq-core/src/main/java/org/hornetq/core/server/Delivery.java = 2011-09-12 13:33:49 UTC (rev 11326) +++ trunk/hornetq-core/src/main/java/org/hornetq/core/server/Delivery.java = 2011-09-12 13:38:15 UTC (rev 11327) @@ -1,28 +0,0 @@ -/* - * Copyright 2009 Red Hat, Inc. - * Red Hat licenses this file to you under the Apache License, version - * 2.0 (the "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0 - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -package org.hornetq.core.server; - -/** - * = - * A Delivery - * = - * @author Tim Fox - * - */ -public interface Delivery -{ - MessageReference getReference(); - - long getConsumerID(); -} Deleted: trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/Deli= veryImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/DeliveryI= mpl.java 2011-09-12 13:33:49 UTC (rev 11326) +++ trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/DeliveryI= mpl.java 2011-09-12 13:38:15 UTC (rev 11327) @@ -1,47 +0,0 @@ -/* - * Copyright 2009 Red Hat, Inc. - * Red Hat licenses this file to you under the Apache License, version - * 2.0 (the "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0 - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -package org.hornetq.core.server.impl; - -import org.hornetq.core.server.Delivery; -import org.hornetq.core.server.MessageReference; - -/** - * = - * A DeliveryImpl - * = - * @author Tim Fox - * - */ -public class DeliveryImpl implements Delivery -{ - private final long consumerID; - - private final MessageReference reference; - - public DeliveryImpl(final long consumerID, final MessageReference refer= ence) - { - this.consumerID =3D consumerID; - this.reference =3D reference; - } - - public long getConsumerID() - { - return consumerID; - } - - public MessageReference getReference() - { - return reference; - } -} Deleted: trunk/hornetq-core/src/main/java/org/hornetq/utils/HQDeque.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/hornetq-core/src/main/java/org/hornetq/utils/HQDeque.java 2011-09= -12 13:33:49 UTC (rev 11326) +++ trunk/hornetq-core/src/main/java/org/hornetq/utils/HQDeque.java 2011-09= -12 13:38:15 UTC (rev 11327) @@ -1,39 +0,0 @@ -/* - * Copyright 2010 Red Hat, Inc. - * Red Hat licenses this file to you under the Apache License, version - * 2.0 (the "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0 - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -package org.hornetq.utils; - - -/** - * A HQDeque - * - * @author Tim Fox - * - * - */ -public interface HQDeque -{ - void addFirst(T t); - = - void addLast(T t); - = - HQIterator iterator(); - = - boolean isEmpty(); - = - T removeFirst(); - = - T getFirst(); - = - void clear(); -} Deleted: trunk/hornetq-core/src/main/java/org/hornetq/utils/HQIterator.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/hornetq-core/src/main/java/org/hornetq/utils/HQIterator.java 2011= -09-12 13:33:49 UTC (rev 11326) +++ trunk/hornetq-core/src/main/java/org/hornetq/utils/HQIterator.java 2011= -09-12 13:38:15 UTC (rev 11327) @@ -1,30 +0,0 @@ -/* - * Copyright 2010 Red Hat, Inc. - * Red Hat licenses this file to you under the Apache License, version - * 2.0 (the "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0 - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -package org.hornetq.utils; - -/** - * A HQIterator - * - * @author Tim Fox - * - * - */ -public interface HQIterator -{ - E next(); - = - void remove(); - = - void prev(); -} --===============1131726736507452712==--