Skip to content

Commit 3229704

Browse files
committed
Restyle
1 parent 0b794c4 commit 3229704

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/codegen-data-model-provider/CodegenDataModelProvider_Write.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -331,15 +331,15 @@ DataModel::ActionReturnStatus CodegenDataModelProvider::WriteAttribute(const Dat
331331
if (checkAcl && request.previousSuccessPath.has_value())
332332
{
333333
// NOTE: explicit cast/check only for attribute path and nothing else.
334-
//
334+
//
335335
// In particular `request.path` is a DATA path (contains a list index)
336-
// and we do not want request.previousSuccessPath to be auto-cast to a
336+
// and we do not want request.previousSuccessPath to be auto-cast to a
337337
// data path with a empty list and fail the compare.
338338
//
339339
// This could be `request.previousSuccessPath != request.path` (where order
340-
// is important) however that would seem more brittle (relying that a != b
340+
// is important) however that would seem more brittle (relying that a != b
341341
// behaves differently than b != a due to casts). Overall Data paths are not
342-
// the same as attribute paths.
342+
// the same as attribute paths.
343343
//
344344
// Also note that Concrete path have a mExpanded that is not used in compares.
345345
const ConcreteAttributePath & attributePathA = request.path;

0 commit comments

Comments
 (0)