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

Refactor bindEEPackage Method to Vanilla Java #332

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

rokon12
Copy link
Contributor

@rokon12 rokon12 commented Sep 29, 2024

  • Converted bindEEPackage method and associated helper methods from Groovy to vanilla Java.
  • Replaced Groovy closures with standard Java loops.
  • Updated traverseFiles method to use Java for-each loops for better readability.
  • Adjusted the file processing logic to utilize Java's Paths and Files classes.
  • Changed Groovy println statements to Java's System.out.println.
  • Ensured proper escaping of special characters in regex patterns.
  • Added a main method to demonstrate an example usage of the bindEEPackage method.

This refactor improves compatibility and ensures that the code is using standard Java conventions.

- Converted `bindEEPackage` method and associated helper methods from Groovy to vanilla Java.
- Replaced Groovy closures with standard Java loops.
- Updated `traverseFiles` method to use Java for-each loops for better readability.
- Adjusted the file processing logic to utilize Java's `Paths` and `Files` classes.
- Changed Groovy `println` statements to Java's `System.out.println`.
- Ensured proper escaping of special characters in regex patterns.
- Added a `main` method to demonstrate an example usage of the `bindEEPackage` method.

This refactor improves compatibility and ensures that the code is using standard Java conventions.
@eclipse-starter-bot
Copy link

Can one of the admins verify this patch?

@m-reza-rahman m-reza-rahman merged commit f29645f into master Sep 29, 2024
1 check passed
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