Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAT-18810: app naming updated, it contains now versions of core/pro liquibase and extension version also. #595

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SvampX
Copy link

@SvampX SvampX commented Jan 23, 2025

No description provided.

private String getFullApplicationName() {
try {
MavenXpp3Reader reader = new MavenXpp3Reader();
Model model = reader.read(new FileReader("pom.xml"));

Check warning

Code scanning / CodeQL

Potential input resource leak Warning

This FileReader is not always closed on method exit.
String extType = isCommercial ? "ProExt" : "OssExt";
URL url = Scope.getCurrentScope().getClassLoader().getResource("META-INF/MANIFEST.MF");
Manifest manifest = new Manifest(url.openStream());
Attributes attr = manifest.getMainAttributes();

Check notice

Code scanning / CodeQL

Unread local variable Note

Variable 'Attributes attr' is never read.
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.

1 participant