[MAGNOLIA-7199] Core: Remove dependency to artifact jug Created: 20/Nov/17  Updated: 10/Mar/21  Resolved: 10/Mar/21

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Daniel Kasmeroglu Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

Although the method info.magnolia.cms.core.Path$getUniqueLabel(Node, String) is deprecated it still uses the artifact JUG in order to generate random UUIDs.
This is not necessary as the required functionality is part of the JRE since 1.5 and has been removed in my local git. The following commit modifies the method and removes the artifact:

The artifact has only been removed in core so it still might be used in other magnolia projects although a java comment suggests otherwise.


Generated at Mon Feb 12 04:21:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.