Skip to content

Conversation

@rainer-prosi
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a 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.lang to apache.commons.lang3 with 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.

Comment on lines +662 to +664
/**
* @return
*/
Copy link

Copilot AI Nov 30, 2025

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'.

Copilot uses AI. Check for mistakes.
# Conflicts:
#	build.gradle
#	src/main/java/org/cip4/jdfutility/FileItemList.java
#	src/main/java/org/cip4/jdfutility/GetFileServlet.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants