Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused color property type from DTD and impossible file property type #7528

Merged
merged 2 commits into from
Sep 4, 2020

Conversation

DanVanAtta
Copy link
Member

  1. No map uses the 'color' property type, eg:
    <property name="colorProperty>
  1. In the property type handling code there is an option for
    a "file" type. That is not defined in the DTD as a valid
    tag to property and hence would be impossible to have.

Testing

In a folder where I have all maps checked out, ran:

  find . -name "*.xml" -type f | while read file; do grep -H "<color" "$file"; done | head

Screens Shots

Additional Notes to Reviewer

Release Note

REMOVE|Remove XML 'color' property option

DanVanAtta and others added 2 commits September 3, 2020 22:31
…ty type

1) No map uses the 'color' property type, eg:
<property name="colorProperty>
  <color/>
</property>

2) In the property type handling code there is an option for
a "file" type. That is not defined in the DTD as a valid
tag to property and hence would be impossible to have.
@codeclimate
Copy link

codeclimate bot commented Sep 4, 2020

Code Climate has analyzed commit ec6dfd0 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 26.8% (0.0% change).

View more on Code Climate.

@RoiEXLab RoiEXLab merged commit f52c756 into master Sep 4, 2020
@RoiEXLab RoiEXLab deleted the remove-unused-color-property branch September 4, 2020 15:46
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