TF-4236 Misleading variable name: maxBatches represents batch size, not batch count.
This commit is contained in:
@@ -24,4 +24,4 @@ class NotParsableBlobIdToEmailException implements Exception {
|
||||
NotParsableBlobIdToEmailException({this.ids});
|
||||
}
|
||||
|
||||
class EmailIdListIsEmptyException implements Exception {}
|
||||
class EmailIdsSuccessIsEmptyException implements Exception {}
|
||||
@@ -37,7 +37,7 @@ class AddALabelToAThreadInteractor {
|
||||
));
|
||||
} else if (result.emailIdsSuccess.isEmpty) {
|
||||
yield Left(AddALabelToAThreadFailure(
|
||||
exception: EmailIdListIsEmptyException(),
|
||||
exception: EmailIdsSuccessIsEmptyException(),
|
||||
labelDisplay: labelDisplay,
|
||||
));
|
||||
} else {
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ class RemoveALabelFromAThreadInteractor {
|
||||
));
|
||||
} else if (result.emailIdsSuccess.isEmpty) {
|
||||
yield Left(RemoveALabelFromAThreadFailure(
|
||||
exception: EmailIdListIsEmptyException(),
|
||||
exception: EmailIdsSuccessIsEmptyException(),
|
||||
labelDisplay: labelDisplay,
|
||||
));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user