Skip to content

Commit a66f999

Browse files
committed
make format
1 parent 040216d commit a66f999

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

cpp/src/plasma/client.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -791,12 +791,12 @@ Status PlasmaClient::Impl::Seal(const ObjectID& object_id) {
791791
auto object_entry = objects_in_use_.find(object_id);
792792

793793
if (object_entry == objects_in_use_.end()) {
794-
return MakePlasmaError(PlasmaErrorCode::PlasmaObjectNonexistent,"Seal() called on an object without a reference to it"
795-
);
794+
return MakePlasmaError(PlasmaErrorCode::PlasmaObjectNonexistent,
795+
"Seal() called on an object without a reference to it");
796796
}
797797
if (object_entry->second->is_sealed) {
798-
return MakePlasmaError(PlasmaErrorCode::PlasmaObjectAlreadySealed,"Seal() called on an already sealed object"
799-
);
798+
return MakePlasmaError(PlasmaErrorCode::PlasmaObjectAlreadySealed,
799+
"Seal() called on an already sealed object");
800800
}
801801

802802
object_entry->second->is_sealed = true;

cpp/src/plasma/protocol.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ Status PlasmaErrorStatus(fb::PlasmaError plasma_error) {
8686
case fb::PlasmaError::OK:
8787
return Status::OK();
8888
case fb::PlasmaError::ObjectExists:
89-
return MakePlasmaError(PlasmaErrorCode::PlasmaObjectExists, "object already exists in the plasma store"
90-
);
89+
return MakePlasmaError(PlasmaErrorCode::PlasmaObjectExists,
90+
"object already exists in the plasma store");
9191
case fb::PlasmaError::ObjectNonexistent:
92-
return MakePlasmaError(PlasmaErrorCode::PlasmaObjectNonexistent, "object does not exist in the plasma store",
93-
);
92+
return MakePlasmaError(PlasmaErrorCode::PlasmaObjectNonexistent,
93+
"object does not exist in the plasma store");
9494
case fb::PlasmaError::OutOfMemory:
95-
return MakePlasmaError(PlasmaErrorCode::PlasmaStoreFull, "object does not fit in the plasma store",
96-
);
95+
return MakePlasmaError(PlasmaErrorCode::PlasmaStoreFull,
96+
"object does not fit in the plasma store");
9797
default:
9898
ARROW_LOG(FATAL) << "unknown plasma error code " << static_cast<int>(plasma_error);
9999
}

0 commit comments

Comments
 (0)