mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
refactor: change naming of local variable to reflect intent
This commit is contained in:
parent
5f7fdf4bd3
commit
9686d93935
3 changed files with 13 additions and 13 deletions
|
@ -337,9 +337,9 @@ class DiffLine {
|
|||
GitDiffLine get origin {
|
||||
final originInt = _diffLinePointer.ref.origin;
|
||||
late final GitDiffLine result;
|
||||
for (var flag in GitDiffLine.values) {
|
||||
if (originInt == flag.value) {
|
||||
result = flag;
|
||||
for (var type in GitDiffLine.values) {
|
||||
if (originInt == type.value) {
|
||||
result = type;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue