Skip to content

Conversation

@Pankraz76
Copy link

Signed-off-by: Vincent Potucek <vpotucek@me.com>
@Pankraz76 Pankraz76 force-pushed the spotless-fix-sanity-check branch from cbb6120 to 1c167dd Compare December 9, 2025 12:48
Copy link
Author

@Pankraz76 Pankraz76 left a comment

Choose a reason for hiding this comment

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

2ct.

}

private Path[] modulepath() {
String modulepathProperty = nullToEmpty(System.getProperty("jdk.module.path"));
Copy link
Author

Choose a reason for hiding this comment

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

this change was done by me as somehow here an random compile issue emerged.

This class is actually pretty nice structured having no coupling actually, all the references technically obsolete.

String modulepathProperty = nullToEmpty(System.getProperty("jdk.module.path"));
List<String> modulepath = Splitter.on(File.pathSeparatorChar).omitEmptyStrings().splitToList(modulepathProperty);
return modulepath.stream().map(Paths::get).toArray(Path[]::new);
return Splitter
Copy link
Author

Choose a reason for hiding this comment

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

Following SoC SRP the code could have 100% cohesion, instead of 100% coupling overhead.

When refining the code this seems to be the final version.

@Pankraz76 Pankraz76 marked this pull request as ready for review December 9, 2025 12:52
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