Skip to content

Replace deprecated method JsonNode.fields()#23631

Merged
davsclaus merged 1 commit into
apache:mainfrom
apupier:replaceDeprecatedJsonNodeFields
May 30, 2026
Merged

Replace deprecated method JsonNode.fields()#23631
davsclaus merged 1 commit into
apache:mainfrom
apupier:replaceDeprecatedJsonNodeFields

Conversation

@apupier
Copy link
Copy Markdown
Contributor

@apupier apupier commented May 29, 2026

    /**
     * NOTE: This method is deprecated, use {@link #properties()}
instead.
     *
     * @return Iterator that can be used to traverse all key/value pairs
for
     *   object nodes; empty iterator (no contents) for other types
     *
     * @deprecated As of 2.19, replaced by {@link #properties()}
     */

Description

Target

  • I checked that the commit is targeting the correct branch (Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.
  • I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

```
    /**
     * NOTE: This method is deprecated, use {@link #properties()}
instead.
     *
     * @return Iterator that can be used to traverse all key/value pairs
for
     *   object nodes; empty iterator (no contents) for other types
     *
     * @deprecated As of 2.19, replaced by {@link #properties()}
     */
```

Signed-off-by: Aurélien Pupier <apupier@ibm.com>
@github-actions
Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions
Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • components/camel-servicenow/camel-servicenow-component
All tested modules (9 modules)
  • Camel :: JBang :: MCP
  • Camel :: JBang :: Plugin :: Route Parser
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: JBang :: Plugin :: Validate
  • Camel :: Launcher :: Container
  • Camel :: ServiceNow :: Component
  • Camel :: ServiceNow :: Maven Plugin
  • Camel :: YAML DSL :: Validator
  • Camel :: YAML DSL :: Validator Maven Plugin

⚙️ View full build and test results

@apupier apupier marked this pull request as ready for review May 29, 2026 11:38
@davsclaus davsclaus merged commit d62d3b5 into apache:main May 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants