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 2008/12/15 22:57:13 UTC
svn commit: r726824 - in
/activemq/activemq-cpp/trunk/src/main/decaf/internal/net: URIHelper.cpp
URIType.h
Author: tabish
Date: Mon Dec 15 13:57:13 2008
New Revision: 726824
URL: http://svn.apache.org/viewvc?rev=726824&view=rev
Log:
Changes needed while implementing the URI class.
Modified:
activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIHelper.cpp
activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIType.h
Modified: activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIHelper.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIHelper.cpp?rev=726824&r1=726823&r2=726824&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIHelper.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIHelper.cpp Mon Dec 15 13:57:13 2008
@@ -177,7 +177,7 @@
// Authority was valid, so we capture the results
if( result.isValid() ) {
- result.setUserinfo( authority.getUserinfo() );
+ result.setUserInfo( authority.getUserInfo() );
result.setHost( authority.getHost() );
result.setPort( authority.getPort() );
result.setServerAuthority( true );
@@ -358,7 +358,7 @@
// this is a server based uri,
// fill in the userinfo, host and port fields
- result.setUserinfo( tempUserinfo );
+ result.setUserInfo( tempUserinfo );
result.setHost( tempHost );
result.setPort( tempPort );
result.setServerAuthority( true );
Modified: activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIType.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIType.h?rev=726824&r1=726823&r2=726824&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIType.h (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/internal/net/URIType.h Mon Dec 15 13:57:13 2008
@@ -136,7 +136,7 @@
* http://user:passwd@host:port/
* @return user info part string.
*/
- std::string getUserinfo() const {
+ std::string getUserInfo() const {
return userinfo;
}
@@ -145,7 +145,7 @@
* http://user:passwd@host:port/
* @param userinfo - user info part string.
*/
- void setUserinfo( const std::string& userinfo ) {
+ void setUserInfo( const std::string& userinfo ) {
this->userinfo = userinfo;
}