-
Notifications
You must be signed in to change notification settings - Fork 0
Gradle/update1 #168
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
base: master
Are you sure you want to change the base?
Gradle/update1 #168
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the project's Gradle version and migrates from Apache Commons Lang to Lang3, along with various code improvements and test coverage enhancements.
Key Changes:
- Upgraded Gradle from version 7.6 to 8.12
- Migrated from
apache.commons.langtoapache.commons.lang3with updated API method calls - Enhanced test coverage with new test cases and assertions
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| gradle/wrapper/gradle-wrapper.properties | Updated Gradle distribution from 7.6 to 8.12 |
| src/main/java/org/cip4/jdfutility/server/JettyServer.java | Changed import from commons-lang to commons-lang3 and added getter for Jetty server instance |
| src/main/java/org/cip4/jdfutility/GetFileServlet.java | Migrated from StringEscapeUtils.escapeHtml to escapeHtml3 and reorganized imports |
| src/main/java/org/cip4/jdfutility/server/MyResourceHandler.java | Replaced string literals with JDFConstants.SLASH and improved URL manipulation logic |
| src/main/java/org/cip4/jdfutility/FileItemList.java | Added FileCleaningTracker support with getter/setter methods and exception handling |
| src/main/java/org/cip4/jdfutility/CheckJDFServlet.java | Initialized FileCleaningTracker to null in constructor |
| src/test/java/org/cip4/jdfutility/FileItemListTest.java | Added test for FileCleaningTracker functionality |
| src/test/java/org/cip4/jdfutility/server/MyResourceHandlerTest.java | Enhanced tests with additional assertions for URL handling |
| src/test/java/org/cip4/jdfutility/server/JettyServerTest.java | Added assertion to verify Jetty server getter |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| /** | ||
| * @return | ||
| */ |
Copilot
AI
Nov 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The JavaDoc comment is incomplete. It should describe what the method returns, e.g., '@return the underlying Jetty Server instance'.
# Conflicts: # build.gradle # src/main/java/org/cip4/jdfutility/FileItemList.java # src/main/java/org/cip4/jdfutility/GetFileServlet.java
No description provided.