-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [fix] Allow getCookiesFromUrl to return empty string if no cookies are (#118) returned empty value from getCookie(url) instead of null * [fix] Fix tests * [fix] Remove key on doAfterNext * [fix] Remove duplicated defaultConfig setup. * [feature] Added new extension function List.nullIfEmpty(). * [feature] WGA-3519 : FragmentManager no longer nullable. * [fix] NO_JIRA : Recycler view lib update. * [fix] Roll back recyclerview update. * ################################################# # |<---- Preferably using up to 50 chars --->|<------------------->| gradle files cleanup # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| # Description - Explain why this change is being made # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| # (Optional) Links to relevant tickets, articles or other resources # Example: Crash from Firebase - www.xpto.com ################################################# # |<---- Preferably using up to 50 chars ---> # --- COMMIT END --- # Tag can be # feature (new feature) # fix (bug/crash fix) # refactor (refactoring code) # style (formatting, missing semi colons, etc; no code change) # doc (changes to documentation) # test (adding or refactoring tests; no production code change) # version (version bump/new release; no production code change) # debug (Changes in debugging code/frameworks; no production code change) # license (Edits regarding licensing; no production code change) # hack (Temporary fix to make things move forward; please avoid it) # WIP (Work In Progress; for intermediate commits to keep patches reasonably sized) # defaults (changes default options) # # Note: Multiple tags can be combined, e.g. [fix][version] Fix issue X with methodhandles and bump to version 1.2.3 # -------------------- # Remember to: # * This can (should) use the title and description as the pull request # * Capitalize the subject line # * Use the imperative mood in the subject line # * Do not end the subject line with a period # * Separate subject from body with a blank line # * Use the body to explain what and why vs. how # * Can use multiple lines with "-" or "*" for bullet points in body # -------------------- * Removed unused import * Separated Collection utils from List utils Co-authored-by: Pedro Belchior <[email protected]> Co-authored-by: Belchior <[email protected]> Co-authored-by: Guilherme Almeida <[email protected]> Co-authored-by: Rita Ferreira <[email protected]>
- Loading branch information
1 parent
7d7eb31
commit 4cefb51
Showing
10 changed files
with
45 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
kt-extensions/src/main/java/com/mindera/skeletoid/kt/extensions/utils/List.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.mindera.skeletoid.kt.extensions.utils | ||
|
||
fun <T: Any> List<T>.nullIfEmpty(): List<T>? { | ||
return if (isEmpty()) null else this | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.