summaryrefslogtreecommitdiffstats
path: root/storageapi
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-08-12 22:34:23 +0200
committerHenning Baldersheim <balder@oath.com>2018-08-12 22:34:23 +0200
commitfded37d945ca2539c96621b9ae33806ebbadf875 (patch)
tree2d66b6dadb6fc937471707038455a94ec50bfed0 /storageapi
parent21c4a91b55b57aad88fd95a0c9dbeedaa03600da (diff)
Remove whitespace
Diffstat (limited to 'storageapi')
-rw-r--r--storageapi/src/vespa/storageapi/message/persistence.h2
-rw-r--r--storageapi/src/vespa/storageapi/message/removelocation.cpp2
-rw-r--r--storageapi/src/vespa/storageapi/message/removelocation.h2
-rw-r--r--storageapi/src/vespa/storageapi/message/visitor.cpp2
-rw-r--r--storageapi/src/vespa/storageapi/message/visitor.h10
-rw-r--r--storageapi/src/vespa/storageapi/messageapi/maintenancecommand.h2
-rw-r--r--storageapi/src/vespa/storageapi/messageapi/returncode.h2
-rw-r--r--storageapi/src/vespa/storageapi/messageapi/storagemessage.cpp6
-rw-r--r--storageapi/src/vespa/storageapi/messageapi/storagemessage.h4
9 files changed, 16 insertions, 16 deletions
diff --git a/storageapi/src/vespa/storageapi/message/persistence.h b/storageapi/src/vespa/storageapi/message/persistence.h
index d352b2a5e94..6e93c0e7c05 100644
--- a/storageapi/src/vespa/storageapi/message/persistence.h
+++ b/storageapi/src/vespa/storageapi/message/persistence.h
@@ -194,7 +194,7 @@ public:
const document::DocumentId& getDocumentId() const { return _docId; }
Timestamp getBeforeTimestamp() const { return _beforeTimestamp; }
const vespalib::string& getFieldSet() const { return _fieldSet; }
- void setFieldSet(vespalib::stringref fieldSet) { _fieldSet = fieldSet; }
+ void setFieldSet(vespalib::stringref fieldSet) { _fieldSet = fieldSet; }
vespalib::string getSummary() const override;
void print(std::ostream& out, bool verbose, const std::string& indent) const override;
diff --git a/storageapi/src/vespa/storageapi/message/removelocation.cpp b/storageapi/src/vespa/storageapi/message/removelocation.cpp
index ac50bdd6a1e..b53584601ef 100644
--- a/storageapi/src/vespa/storageapi/message/removelocation.cpp
+++ b/storageapi/src/vespa/storageapi/message/removelocation.cpp
@@ -8,7 +8,7 @@ namespace storage::api {
IMPLEMENT_COMMAND(RemoveLocationCommand, RemoveLocationReply)
IMPLEMENT_REPLY(RemoveLocationReply)
-RemoveLocationCommand::RemoveLocationCommand(vespalib::stringref documentSelection,
+RemoveLocationCommand::RemoveLocationCommand(vespalib::stringref documentSelection,
const document::Bucket &bucket)
: BucketInfoCommand(MessageType::REMOVELOCATION, bucket),
_documentSelection(documentSelection)
diff --git a/storageapi/src/vespa/storageapi/message/removelocation.h b/storageapi/src/vespa/storageapi/message/removelocation.h
index cdf43219169..46555497035 100644
--- a/storageapi/src/vespa/storageapi/message/removelocation.h
+++ b/storageapi/src/vespa/storageapi/message/removelocation.h
@@ -10,7 +10,7 @@ namespace storage::api {
class RemoveLocationCommand : public BucketInfoCommand
{
public:
- RemoveLocationCommand(vespalib::stringref documentSelection, const document::Bucket &bucket);
+ RemoveLocationCommand(vespalib::stringref documentSelection, const document::Bucket &bucket);
~RemoveLocationCommand();
void print(std::ostream& out, bool verbose, const std::string& indent) const override;
diff --git a/storageapi/src/vespa/storageapi/message/visitor.cpp b/storageapi/src/vespa/storageapi/message/visitor.cpp
index 658e3d22ca3..f5850de98ad 100644
--- a/storageapi/src/vespa/storageapi/message/visitor.cpp
+++ b/storageapi/src/vespa/storageapi/message/visitor.cpp
@@ -140,7 +140,7 @@ CreateVisitorReply::print(std::ostream& out, bool verbose,
}
}
-DestroyVisitorCommand::DestroyVisitorCommand(vespalib::stringref instanceId)
+DestroyVisitorCommand::DestroyVisitorCommand(vespalib::stringref instanceId)
: StorageCommand(MessageType::VISITOR_DESTROY),
_instanceId(instanceId)
{
diff --git a/storageapi/src/vespa/storageapi/message/visitor.h b/storageapi/src/vespa/storageapi/message/visitor.h
index 696d8962256..0019488b583 100644
--- a/storageapi/src/vespa/storageapi/message/visitor.h
+++ b/storageapi/src/vespa/storageapi/message/visitor.h
@@ -63,13 +63,13 @@ public:
~CreateVisitorCommand();
void setVisitorCmdId(uint32_t id) { _visitorCmdId = id; }
- void setControlDestination(vespalib::stringref d)
+ void setControlDestination(vespalib::stringref d)
{ _controlDestination = d; }
- void setDataDestination(vespalib::stringref d) { _dataDestination = d; }
+ void setDataDestination(vespalib::stringref d) { _dataDestination = d; }
void setParameters(const vdslib::Parameters& params) { _params = params; }
void setMaximumPendingReplyCount(uint32_t count)
{ _maxPendingReplyCount = count; }
- void setFieldSet(vespalib::stringref fieldSet)
+ void setFieldSet(vespalib::stringref fieldSet)
{ _fieldSet = fieldSet; }
void setVisitRemoves(bool value = true) { _visitRemoves = value; }
void setVisitInconsistentBuckets(bool visitInconsistent = true)
@@ -77,7 +77,7 @@ public:
void addBucketToBeVisited(const document::BucketId& id)
{ _buckets.push_back(id); }
void setVisitorId(const VisitorId id) { _visitorId = id; }
- void setInstanceId(vespalib::stringref id) { _instanceId = id; }
+ void setInstanceId(vespalib::stringref id) { _instanceId = id; }
void setQueueTimeout(uint32_t milliSecs) { _queueTimeout = milliSecs; }
void setFromTime(Timestamp ts) { _fromTime = ts; }
void setToTime(Timestamp ts) { _toTime = ts; }
@@ -157,7 +157,7 @@ private:
vespalib::string _instanceId;
public:
- explicit DestroyVisitorCommand(vespalib::stringref instanceId);
+ explicit DestroyVisitorCommand(vespalib::stringref instanceId);
const vespalib::string & getInstanceId() const { return _instanceId; }
diff --git a/storageapi/src/vespa/storageapi/messageapi/maintenancecommand.h b/storageapi/src/vespa/storageapi/messageapi/maintenancecommand.h
index 3bf65d3ac15..029365973c5 100644
--- a/storageapi/src/vespa/storageapi/messageapi/maintenancecommand.h
+++ b/storageapi/src/vespa/storageapi/messageapi/maintenancecommand.h
@@ -17,7 +17,7 @@ public:
~MaintenanceCommand();
const vespalib::string& getReason() const { return _reason; };
- void setReason(vespalib::stringref reason) { _reason = reason; };
+ void setReason(vespalib::stringref reason) { _reason = reason; };
protected:
vespalib::string _reason;
};
diff --git a/storageapi/src/vespa/storageapi/messageapi/returncode.h b/storageapi/src/vespa/storageapi/messageapi/returncode.h
index 23c16c85c5e..ccd95a81aa3 100644
--- a/storageapi/src/vespa/storageapi/messageapi/returncode.h
+++ b/storageapi/src/vespa/storageapi/messageapi/returncode.h
@@ -87,7 +87,7 @@ public:
size_t getSerializedSize() const override;
const vespalib::string& getMessage() const { return _message; }
- void setMessage(vespalib::stringref message) { _message = message; }
+ void setMessage(vespalib::stringref message) { _message = message; }
Result getResult() const { return _result; }
diff --git a/storageapi/src/vespa/storageapi/messageapi/storagemessage.cpp b/storageapi/src/vespa/storageapi/messageapi/storagemessage.cpp
index 39ece68d2fe..563a2aab7c1 100644
--- a/storageapi/src/vespa/storageapi/messageapi/storagemessage.cpp
+++ b/storageapi/src/vespa/storageapi/messageapi/storagemessage.cpp
@@ -123,7 +123,7 @@ MessageType::MessageType::get(Id id)
}
return *it->second;
}
-MessageType::MessageType(vespalib::stringref name, Id id,
+MessageType::MessageType(vespalib::stringref name, Id id,
const MessageType* replyOf)
: _name(name), _id(id), _reply(NULL), _replyOf(replyOf)
{
@@ -163,14 +163,14 @@ std::ostream & operator << (std::ostream & os, const StorageMessageAddress & add
}
static vespalib::string
-createAddress(vespalib::stringref cluster, const lib::NodeType& type, uint16_t index)
+createAddress(vespalib::stringref cluster, const lib::NodeType& type, uint16_t index)
{
vespalib::asciistream os;
os << STORAGEADDRESS_PREFIX << cluster << '/' << type.toString() << '/' << index << "/default";
return os.str();
}
-StorageMessageAddress::StorageMessageAddress(vespalib::stringref cluster, const lib::NodeType& type,
+StorageMessageAddress::StorageMessageAddress(vespalib::stringref cluster, const lib::NodeType& type,
uint16_t index, Protocol protocol)
: _route(),
_retryEnabled(false),
diff --git a/storageapi/src/vespa/storageapi/messageapi/storagemessage.h b/storageapi/src/vespa/storageapi/messageapi/storagemessage.h
index 34ad25e76cf..c81ee51ae22 100644
--- a/storageapi/src/vespa/storageapi/messageapi/storagemessage.h
+++ b/storageapi/src/vespa/storageapi/messageapi/storagemessage.h
@@ -163,7 +163,7 @@ private:
MessageType *_reply;
const MessageType *_replyOf;
- MessageType(vespalib::stringref name, Id id, const MessageType* replyOf = 0);
+ MessageType(vespalib::stringref name, Id id, const MessageType* replyOf = 0);
public:
static const MessageType DOCBLOCK;
static const MessageType DOCBLOCK_REPLY;
@@ -280,7 +280,7 @@ private:
public:
StorageMessageAddress(const mbus::Route& route);
- StorageMessageAddress(vespalib::stringref clusterName,
+ StorageMessageAddress(vespalib::stringref clusterName,
const lib::NodeType& type, uint16_t index,
Protocol protocol = STORAGE);
~StorageMessageAddress();