Modes

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DEN-7347: Addressed code review

  1. … 1 more file in changeset.
RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

Only reverse when using == operator

Only reverse when using == operator

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

That is what I meant. Why are we even passing this when we know the target is 0?

That is what I meant. Why are we even passing this when we know the target is 0?

Added.

Added.

DEN-7347: Addressed code reviews

  1. … 4 more files in changeset.
Changed to return none.

Changed to return none.

Done.

Done.

Done.

Done.

EMPTY_RESERVOIR_VOLUME_ML is defined as 0.

EMPTY_RESERVOIR_VOLUME_ML is defined as 0.

Added.

Added.

I think the variable will be used in future to detect incorrect direction. Sean Nash Please elaborate more.

I think the variable will be used in future to detect incorrect direction.
Sean Nash Please elaborate more.

Done.

Done.

Done.

Done.

The function has been removed.

The function has been removed.

Done.

Done.

This function does not return anything.

This function does not return anything.

This function needs a header.

This function needs a header.

Is this function in charge of completely draining a reservoir? If yes, why should we provide a target parameter? Why not drain to 0 automatically?

Is this function in charge of completely draining a reservoir? If yes, why should we provide a target parameter? Why not drain to 0 automatically?

This function needs a header.

This function needs a header.

Do we need a fault here?

Do we need a fault here?

Do we not need a fault here?

Do we not need a fault here?

Will this variable be ever used?

Will this variable be ever used?

For consistency, I recommend reversing the second part of and in the if statement.

For consistency, I recommend reversing the second part of and in the if statement.

For consistency, I recommend reversing the second part of and in the if statement.

For consistency, I recommend reversing the second part of and in the if statement.

As per our design decision, reverse the second part of the and.

As per our design decision, reverse the second part of the and.