Skip to content

AC-832 Migrating type converter package to kotlin and fixing minor issue with type converters#811

Merged
rishabh-997 merged 3 commits intoopenmrs:masterfrom
dino-saurabh:AC-832
Sep 23, 2020
Merged

AC-832 Migrating type converter package to kotlin and fixing minor issue with type converters#811
rishabh-997 merged 3 commits intoopenmrs:masterfrom
dino-saurabh:AC-832

Conversation

@dino-saurabh
Copy link
Collaborator

@dino-saurabh dino-saurabh commented Sep 6, 2020

Description of what I changed

  1. Fixed some irregularities in type converters
  2. Deleted one redundant type converter
  3. Converting the package to kotlin

Issue I worked on

JIRA Issue: https://issues.openmrs.org/browse/AC-832

Checklist: I completed these to help reviewers :)

  • My pull request only contains ONE single commit
    (the number above, next to the 'Commits' tab is 1).
  • I have added tests to cover my changes. (If you refactored
    existing code that was well tested you do not have to add tests)
  • All new and existing tests passed.
  • My pull request is based on the latest changes of the master branch.

@dino-saurabh
Copy link
Collaborator Author

@f4ww4z @rishabh-997 please check up the changes once before I convert them into kotlin!!

@codecov-commenter
Copy link

codecov-commenter commented Sep 6, 2020

Codecov Report

Merging #811 into master will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #811   +/-   ##
=======================================
  Coverage   13.64%   13.64%           
=======================================
  Files         237      236    -1     
  Lines        9552     9552           
  Branches      917      918    +1     
=======================================
  Hits         1303     1303           
  Misses       8143     8143           
  Partials      106      106           
Impacted Files Coverage Δ
.../models/typeConverters/AllergyReactionConverter.kt 0.00% <0.00%> (ø)
...ile/models/typeConverters/FormResourceConverter.kt 0.00% <0.00%> (ø)
.../models/typeConverters/ObservationListConverter.kt 0.00% <0.00%> (ø)
...le/models/typeConverters/PersonAddressConverter.kt 0.00% <0.00%> (ø)
.../models/typeConverters/PersonAttributeConverter.kt 0.00% <0.00%> (ø)
...rs/mobile/models/typeConverters/PersonConverter.kt 0.00% <0.00%> (ø)
...obile/models/typeConverters/PersonNameConverter.kt 0.00% <0.00%> (ø)
...odels/typeConverters/ProviderAttributeConverter.kt 0.00% <0.00%> (ø)
.../org/openmrs/mobile/utilities/PatientComparator.kt 0.00% <0.00%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 13233e8...463c715. Read the comment docs.

Copy link
Collaborator

@rishabh-997 rishabh-997 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are fine, you can migrate them to kotlin 👍

@dino-saurabh
Copy link
Collaborator Author

@rishabh-997 i will convert them into kotlin soon just caught up in some work, will make the PR ready for review then 👍

@dino-saurabh dino-saurabh marked this pull request as ready for review September 16, 2020 19:25
@dino-saurabh dino-saurabh changed the title [WIP] AC-832 Migrating type converter package to kotlin and fixing minor issue with type converters AC-832 Migrating type converter package to kotlin and fixing minor issue with type converters Sep 16, 2020
Copy link
Collaborator

@rishabh-997 rishabh-997 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @LuGO0, can you try to fix the Travis failure...

@dino-saurabh
Copy link
Collaborator Author

@rishabh-997 I think its not a travis failure but actually travis failed to start test can you restart the travis test for this commit !!

@dino-saurabh
Copy link
Collaborator Author

@rishabh-997 I rebased its fine now :)

@dino-saurabh
Copy link
Collaborator Author

@rishabh I encountered No NPEs while normal usage.

@rishabh-997 rishabh-997 merged commit 4752978 into openmrs:master Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants