Committed by
GitHub
Merge pull request #349 from gumbarros/patch-1
get_instance.dart redundant ternary
Showing
1 changed file
with
1 additions
and
5 deletions
| @@ -227,11 +227,7 @@ class GetInstance { | @@ -227,11 +227,7 @@ class GetInstance { | ||
| 227 | 227 | ||
| 228 | FcBuilder builder = GetConfig._singl[newKey] as FcBuilder; | 228 | FcBuilder builder = GetConfig._singl[newKey] as FcBuilder; | 
| 229 | if (builder.permanent) { | 229 | if (builder.permanent) { | 
| 230 | - (key == null) | ||
| 231 | - ? print( | ||
| 232 | - '[GET] [$newKey] has been marked as permanent, SmartManagement is not authorized to delete it.') | ||
| 233 | - : print( | ||
| 234 | - '[GET] [$newKey] has been marked as permanent, SmartManagement is not authorized to delete it.'); | 230 | + print('[GET] [$newKey] has been marked as permanent, SmartManagement is not authorized to delete it.'); | 
| 235 | return false; | 231 | return false; | 
| 236 | } | 232 | } | 
| 237 | final i = builder.dependency; | 233 | final i = builder.dependency; | 
- 
Please register or login to post a comment