Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Commit aa7c094

Browse files
author
Mustafa ÖNCEL
committed
Release 0.4.1
1 parent 602ebf9 commit aa7c094

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.lifemcserver</groupId>
88
<artifactId>bytecode-version-analyzer</artifactId>
9-
<version>0.4</version>
9+
<version>0.4.1</version>
1010

1111
<name>Bytecode Version Analyzer</name>
1212
<description>Analyzer for bytecode versions of class files in a JAR file.</description>

src/main/java/com/lifemcserver/bytecodeversionanalyzer/BytecodeVersionAnalyzer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ private static final String getIssuesUrl() {
910910
* or the META-INF/maven directory, using the {@link BytecodeVersionAnalyzer#GROUP_ID} and {@link BytecodeVersionAnalyzer#ARTIFACT_ID}.
911911
*/
912912
private static final void loadPom() {
913-
InputStream stream = Thread.currentThread().getContextClassLoader().getResourceAsStream("META-INF" + File.separator + "maven" + File.separator + GROUP_ID + File.separator + ARTIFACT_ID + File.separator + "pom.xml");
913+
InputStream stream = Thread.currentThread().getContextClassLoader().getResourceAsStream("META-INF/maven/" + GROUP_ID + "/" + ARTIFACT_ID + "/pom.xml");
914914

915915
try {
916916
if (stream == null) {
@@ -1671,7 +1671,7 @@ private static final void accept0(final Map<String, ClassFileVersion> classes, f
16711671
if (!entry.isDirectory()) {
16721672
detectSigningFile(name);
16731673

1674-
if (name.endsWith(".class") && !name.contains("META-INF" + File.separator + "versions")) {
1674+
if (name.endsWith(".class") && !name.contains("META-INF/versions")) {
16751675
final JarEntry newEntry = jar.getJarEntry(name);
16761676

16771677
if (shouldSkip(newEntry, entry, jar)) {

0 commit comments

Comments
 (0)