Skip to content

Conversation

rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Sep 30, 2025

The javax.ws.rs-api dependency was only needed for a collection class that wasn't needed.

Also forcing the usage of commons-lang3 as Black Duck mysteriously thinks an instance of 3.7 is being brought in as a direct dependency somehow.

@Copilot Copilot AI review requested due to automatic review settings September 30, 2025 17:01
@rjrudin rjrudin requested a review from stevebio as a code owner September 30, 2025 17:01
Copy link

github-actions bot commented Sep 30, 2025

Copyright Validation Results
Total: 10 | Passed: 3 | Failed: 0 | Skipped: 7 | at: 2025-09-30 19:00:04 UTC | commit: 3a3bbd1

⏭️ Skipped (Excluded) Files

  • .copyrightconfig
  • .env
  • .gitignore
  • build.gradle
  • examples/build.gradle
  • marklogic-client-api/build.gradle
  • pom.xml

✅ Valid Files

  • marklogic-client-api/src/main/java/com/marklogic/client/impl/RequestParametersImplementation.java
  • marklogic-client-api/src/main/java/com/marklogic/client/util/RequestParameters.java
  • marklogic-client-api/src/test/java/com/marklogic/client/test/BitemporalTest.java

✅ All files have valid copyright headers!

Copy link

@Copilot 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 upgrades Jakarta dependencies and removes the unused javax.ws.rs-api dependency to prepare for version 8.0.0. The main goal is to modernize the dependency stack by moving to Jakarta 4.x APIs (which require Java 17) and eliminate unused dependencies.

Key changes:

  • Updated Jakarta JAXB from 3.x to 4.x versions
  • Removed javax.ws.rs-api dependency and its usage
  • Updated OkHttp and other runtime dependencies to latest versions

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.

File Description
pom.xml Updates Jakarta and runtime dependency versions, removes javax.ws.rs-api
RequestParameters.java Replaces inheritance from RequestParametersImplementation with direct HashMap implementation
RequestParametersImplementation.java Completely removed as it's no longer needed
build.gradle Updates Jakarta dependencies and removes javax.ws.rs-api, adds explanatory comments

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

}

/**
* Returns whether not any request parameters have been specified.
Copy link
Preview

Copilot AI Sep 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar error in comment. Should be 'Returns whether or not any request parameters have been specified.' (missing 'or').

Suggested change
* Returns whether not any request parameters have been specified.
* Returns whether or not any request parameters have been specified.

Copilot uses AI. Check for mistakes.

import java.util.Set;

import com.marklogic.client.impl.RequestParametersImplementation;
import java.util.*;
Copy link
Preview

Copilot AI Sep 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Wildcard import should be replaced with explicit imports for better code clarity and to avoid potential naming conflicts.

Suggested change
import java.util.*;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import java.util.Arrays;

Copilot uses AI. Check for mistakes.

@rjrudin rjrudin force-pushed the feature/jakarta-bumps branch 2 times, most recently from 34d6393 to 2e16231 Compare September 30, 2025 18:09
The javax.ws.rs-api dependency was only needed for a collection class that wasn't needed.

Also forcing the usage of commons-lang3 as Black Duck mysteriously thinks an instance of 3.7 is being brought in as a direct dependency somehow.

Also switched to latest nightly build for local testing, as Jenkins is using that too.
@rjrudin rjrudin force-pushed the feature/jakarta-bumps branch from 2e16231 to 3a3bbd1 Compare September 30, 2025 18:59
@rjrudin rjrudin merged commit 4397dc9 into develop Sep 30, 2025
3 checks passed
@rjrudin rjrudin deleted the feature/jakarta-bumps branch September 30, 2025 19:09
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.

1 participant