[hornetq-commits] JBoss hornetq SVN: r11327 - in trunk/hornetq-core/src/main/java/org/hornetq: core/server/impl and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Sep 12 09:38:16 EDT 2011


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/DeliveryImpl.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
===================================================================
--- 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 <a href="mailto:tim.fox at jboss.com">Tim Fox</a>
- *
- */
-public interface Delivery
-{
-   MessageReference getReference();
-
-   long getConsumerID();
-}

Deleted: trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/DeliveryImpl.java
===================================================================
--- trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/DeliveryImpl.java	2011-09-12 13:33:49 UTC (rev 11326)
+++ trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/DeliveryImpl.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 <a href="mailto:tim.fox at jboss.com">Tim Fox</a>
- *
- */
-public class DeliveryImpl implements Delivery
-{
-   private final long consumerID;
-
-   private final MessageReference reference;
-
-   public DeliveryImpl(final long consumerID, final MessageReference reference)
-   {
-      this.consumerID = consumerID;
-      this.reference = reference;
-   }
-
-   public long getConsumerID()
-   {
-      return consumerID;
-   }
-
-   public MessageReference getReference()
-   {
-      return reference;
-   }
-}

Deleted: trunk/hornetq-core/src/main/java/org/hornetq/utils/HQDeque.java
===================================================================
--- 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<T>
-{
-   void addFirst(T t);
-   
-   void addLast(T t);
-   
-   HQIterator<T> iterator();
-   
-   boolean isEmpty();
-   
-   T removeFirst();
-   
-   T getFirst();
-   
-   void clear();
-}

Deleted: trunk/hornetq-core/src/main/java/org/hornetq/utils/HQIterator.java
===================================================================
--- 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>
-{
-   E next();
-   
-   void remove();
-   
-   void prev();
-}



More information about the hornetq-commits mailing list