You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/01/21 03:17:58 UTC
svn commit: r498234 - in
/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io:
BlockingByteArrayInputStream.cpp BufferedInputStream.cpp
ByteArrayInputStream.cpp
Author: tabish
Date: Sat Jan 20 18:17:58 2007
New Revision: 498234
URL: http://svn.apache.org/viewvc?view=rev&rev=498234
Log:
http://issues.apache.org/activemq/browse/AMQCPP-49
Modified:
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BlockingByteArrayInputStream.cpp
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BufferedInputStream.cpp
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/ByteArrayInputStream.cpp
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BlockingByteArrayInputStream.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BlockingByteArrayInputStream.cpp?view=diff&rev=498234&r1=498233&r2=498234
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BlockingByteArrayInputStream.cpp (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BlockingByteArrayInputStream.cpp Sat Jan 20 18:17:58 2007
@@ -18,8 +18,10 @@
#include "BlockingByteArrayInputStream.h"
#include <algorithm>
-using namespace activemq::io;
using namespace std;
+using namespace activemq;
+using namespace activemq::io;
+using namespace activemq::exceptions;
////////////////////////////////////////////////////////////////////////////////
BlockingByteArrayInputStream::BlockingByteArrayInputStream(){
@@ -132,7 +134,7 @@
////////////////////////////////////////////////////////////////////////////////
int BlockingByteArrayInputStream::skip( int num )
-throw ( io::IOException, exceptions::UnsupportedOperationException ){
+ throw ( io::IOException, exceptions::UnsupportedOperationException ){
int ix = 0;
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BufferedInputStream.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BufferedInputStream.cpp?view=diff&rev=498234&r1=498233&r2=498234
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BufferedInputStream.cpp (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/BufferedInputStream.cpp Sat Jan 20 18:17:58 2007
@@ -18,8 +18,10 @@
#include "BufferedInputStream.h"
#include <algorithm>
-using namespace activemq::io;
using namespace std;
+using namespace activemq;
+using namespace activemq::io;
+using namespace activemq::exceptions;
////////////////////////////////////////////////////////////////////////////////
BufferedInputStream::BufferedInputStream( InputStream* stream, bool own )
@@ -131,7 +133,7 @@
////////////////////////////////////////////////////////////////////////////////
int BufferedInputStream::skip( int num )
-throw ( IOException, exceptions::UnsupportedOperationException ){
+ throw ( IOException, exceptions::UnsupportedOperationException ){
try{
// If there's no data left, reset to pointers to the beginning of the
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/ByteArrayInputStream.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/ByteArrayInputStream.cpp?view=diff&rev=498234&r1=498233&r2=498234
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/ByteArrayInputStream.cpp (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/ByteArrayInputStream.cpp Sat Jan 20 18:17:58 2007
@@ -18,8 +18,10 @@
#include "ByteArrayInputStream.h"
#include <algorithm>
-using namespace activemq::io;
using namespace std;
+using namespace activemq;
+using namespace activemq::io;
+using namespace activemq::exceptions;
////////////////////////////////////////////////////////////////////////////////
ByteArrayInputStream::ByteArrayInputStream(){
@@ -110,7 +112,7 @@
////////////////////////////////////////////////////////////////////////////////
int ByteArrayInputStream::skip( int num )
-throw ( IOException, exceptions::UnsupportedOperationException ){
+ throw ( IOException, exceptions::UnsupportedOperationException ){
int ix = 0;