Skip to content

refactor: remove unused JsonUtil#18

Merged
igorsatsyuk merged 1 commit into
mainfrom
cleanup/remove-unused-jsonutil
May 10, 2026
Merged

refactor: remove unused JsonUtil#18
igorsatsyuk merged 1 commit into
mainfrom
cleanup/remove-unused-jsonutil

Conversation

@igorsatsyuk
Copy link
Copy Markdown
Owner

What

  • Remove dead JsonUtil and JsonUtilException from common
  • Drop now-unused jackson-databind dependency from common/pom.xml

Verification

  • mvn -f common/pom.xml test
  • mvn -f cdc-service/pom.xml test

Copilot AI review requested due to automatic review settings May 10, 2026 14:26
Copy link
Copy Markdown

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

Removes the unused JSON utility helper from the common module and cleans up the module’s dependencies accordingly, reducing dead code and avoiding an unnecessary Jackson transitive dependency from common.

Changes:

  • Deleted JsonUtil and its custom JsonUtilException from common.
  • Removed the JsonUtilTest test suite (now irrelevant after deleting the utility).
  • Dropped the jackson-databind dependency from common/pom.xml.

Reviewed changes

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

File Description
common/src/test/java/lt/satsyuk/common/util/JsonUtilTest.java Removes tests for the deleted JsonUtil.
common/src/main/java/lt/satsyuk/common/util/JsonUtilException.java Removes the custom runtime exception used only by JsonUtil.
common/src/main/java/lt/satsyuk/common/util/JsonUtil.java Removes the unused JSON serialization/deserialization helper.
common/pom.xml Removes now-unused jackson-databind dependency from common.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@igorsatsyuk igorsatsyuk self-assigned this May 10, 2026
@igorsatsyuk igorsatsyuk merged commit 99f0ed7 into main May 10, 2026
19 checks passed
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