Conversation
|
Wow, this is great, thanks so much! We will review it |
abelgardep
left a comment
There was a problem hiding this comment.
@hannesa2 Some changes requested
|
I applied most of the suggestions |
|
Thanks for the changes! But there are some pending ones that require some attention and research. As you know, we may get some nullability problems if we have kotlin code running with java code with not nullable parameters. Some files in this pr have a lot of usages and we should research a little bit which params are nullable and which not. That's why is not trivial to kotlinize files. For example, i have found an usage of uploadNewFile from UriUploader.java that sends a null to a parameter set as not nullable. |
|
Autogenerate kotlin code from java using AS is not always the best solution. If i kotlinize a file, i should research and check if everything is working as it was before since we have not a full test coverage (we are on our way with new arch). I found that problem but perhaps there are even more. |
|
@hannesa2 do you mind if we kotlinize these classes in the re-architecting process, or do you prefer to apply the suggestions of @abelgardep to move forward this PR? |
|
I've no strong opinion here, I don't depend on it. Tell me what to do. Even an unmerged "close" is an option |
|
Ok. Let's close ftm. In case we want to take advantage of this, will reopen. Thanks for your enagagement. |

During #2679 I kotlinize some files and fixed some lint warnings.
To keep #2679 I separated my work into two PR.