Author: chirino
Date: Thu Oct 16 16:02:47 2008
New Revision: 705397
URL: http://svn.apache.org/viewvc?rev=705397&view=rev
Log:
Fixing compile issue
Modified:
activemq/sandbox/chirino-pb/activemq-core/src/main/java/org/apache/activemq/pbwire/PBConversionSupport.java
activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/pbwire/PBAMQStoreQueueTest.java
activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreQueueTest.java
Modified:
activemq/sandbox/chirino-pb/activemq-core/src/main/java/org/apache/activemq/pbwire/PBConversionSupport.java
URL:
http://svn.apache.org/viewvc/activemq/sandbox/chirino-pb/activemq-core/src/main/java/org/apache/activemq/pbwire/PBConversionSupport.java?rev=705397&r1=705396&r2=705397&view=diff
==============================================================================
---
activemq/sandbox/chirino-pb/activemq-core/src/main/java/org/apache/activemq/pbwire/PBConversionSupport.java
(original)
+++
activemq/sandbox/chirino-pb/activemq-core/src/main/java/org/apache/activemq/pbwire/PBConversionSupport.java
Thu Oct 16 16:02:47 2008
@@ -1,12 +1,26 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF 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.apache.activemq.pbwire;
-import java.io.IOException;
import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import java.util.Set;
import java.util.Map.Entry;
import org.apache.activemq.command.ActiveMQBytesMessage;
@@ -33,26 +47,10 @@
import org.apache.activemq.command.TransactionId;
import org.apache.activemq.command.XATransactionId;
import org.apache.activemq.openwire.v1.BaseDataStreamMarshaller;
-import org.apache.commons.collections.map.HashedMap;
import com.google.protobuf.ByteString;
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.
- */
+
public class PBConversionSupport {
public static PBThrowable convert(Throwable e, boolean includeStackTrace) {
Modified:
activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/pbwire/PBAMQStoreQueueTest.java
URL:
http://svn.apache.org/viewvc/activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/pbwire/PBAMQStoreQueueTest.java?rev=705397&r1=705396&r2=705397&view=diff
==============================================================================
---
activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/pbwire/PBAMQStoreQueueTest.java
(original)
+++
activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/pbwire/PBAMQStoreQueueTest.java
Thu Oct 16 16:02:47 2008
@@ -34,4 +34,8 @@
super.configureBroker(answer, uri);
((AMQPersistenceAdapter)answer.getPersistenceAdapter()).setWireFormat(new
PBWireFormat());
}
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(PBAMQStoreQueueTest.class);
+ }
}
Modified:
activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreQueueTest.java
URL:
http://svn.apache.org/viewvc/activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreQueueTest.java?rev=705397&r1=705396&r2=705397&view=diff
==============================================================================
---
activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreQueueTest.java
(original)
+++
activemq/sandbox/chirino-pb/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreQueueTest.java
Thu Oct 16 16:02:47 2008
@@ -19,6 +19,7 @@
import java.io.File;
import org.apache.activemq.broker.BrokerService;
+import org.apache.activemq.pbwire.PBAMQStoreQueueTest;
import org.apache.activemq.store.amq.AMQPersistenceAdapter;
/**
@@ -38,5 +39,9 @@
answer.setDeleteAllMessagesOnStartup(true);
}
-
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(AMQStoreQueueTest.class);
+ }
+
}