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

feat(#520): Remove Redundant Classes Related To Data Transformation #742

Merged
merged 13 commits into from
Oct 2, 2024

Conversation

volodya-lombrozo
Copy link
Member

@volodya-lombrozo volodya-lombrozo commented Oct 2, 2024

In this PR I remove such classes like HexData and HexStrin. Their functionality is placed to appropriate classes.

Related to #520.
History:


PR-Codex overview

This PR focuses on refactoring the HexData representation to use XmlValue for handling hexadecimal data, along with the removal of obsolete classes and tests related to HexData. It also improves type handling and introduces new functionality for data encoding and decoding.

Detailed summary

  • Deleted HexData.java, HexDataTest.java, XmlBytes.java, and HexString.java.
  • Updated methods in XmlInstruction.java to use XmlValue for integer and boolean conversions.
  • Changed UnrecognizedOpcode class to remove the public modifier.
  • Modified DirectivesValue to handle various data types and improve hex conversion.
  • Refactored DataType to remove primitive class references and streamline type handling.
  • Updated tests to reflect changes in data handling and encoding.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@volodya-lombrozo
Copy link
Member Author

@rultor merge

@rultor
Copy link
Contributor

rultor commented Oct 2, 2024

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit e357f73 into objectionary:master Oct 2, 2024
11 checks passed
@rultor
Copy link
Contributor

rultor commented Oct 2, 2024

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 36min)

@0crat
Copy link

0crat commented Oct 2, 2024

@volodya-lombrozo Thanks for your contribution! You've earned +4 points: +4 base, -8 for exceeding 200 hits-of-code (1018), -16 for surpassing 800 hits-of-code, -16 for no code review, -4 for only 2 comments, +44 adjustment. While the volume is impressive, remember our policy emphasizes quality and review. Aim for smaller, focused contributions with thorough reviews. Your balance is now +96. Keep improving and contributing!

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