Skip to content

Conversation

@capdevon
Copy link
Contributor

@capdevon capdevon commented May 3, 2025

This pull request introduces several enhancements to the EmitterShape class hierarchy to improve code clarity and maintainability. The changes include:

  • Removal of redundant Cloneable extension: The EmitterShape interface extends JmeCloneable, which itself already extends Cloneable. The explicit extension of Cloneable in EmitterShape is therefore redundant and has been removed.

  • Improved Javadoc documentation: Comprehensive Javadoc documentation has been added to the EmitterPointShape, EmitterSphereShape, and EmitterBoxShape classes, including field and method descriptions, to improve class understanding and usability.

capdevon added 6 commits May 3, 2025 20:40
The interface code has been updated with two key changes for conciseness and adherence to Java conventions. 

1. The explicit public keyword has been removed from the interface methods, as interface methods are implicitly public by default. 

2. The EmitterShape interface no longer explicitly extends Cloneable. This is because the JmeCloneable interface, which EmitterShape already extends, itself extends Cloneable, thus making the direct extension redundant
@yaRnMcDonuts yaRnMcDonuts added this to the v3.9.0 milestone May 6, 2025
@yaRnMcDonuts yaRnMcDonuts merged commit 1327f1e into jMonkeyEngine:master May 16, 2025
15 checks passed
@capdevon capdevon deleted the capdevon-emitter-shape branch June 15, 2025 22:52
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.

2 participants