Skip to content

Commit

Permalink
Fix file detection bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rfocosi committed Jun 20, 2020
1 parent e83c073 commit 89164f8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions msx2cas-cmd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<groupId>br.com.dod.msx2cas</groupId>
<artifactId>cmd</artifactId>
<packaging>jar</packaging>
<version>3.2.0</version>
<version>3.2.1</version>

<dependencies>
<dependency>
<groupId>br.com.dod.msx2cas</groupId>
<artifactId>core</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion msx2cas-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>br.com.dod.msx2cas</groupId>
<artifactId>core</artifactId>
<packaging>jar</packaging>
<version>3.2.0</version>
<version>3.2.1</version>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private boolean equalsRom49k(String fileName) throws IOException {
}

public boolean equals(String fileName) throws IOException {
return equals(fileName, 0) || equalsRom49k(fileName);
return equals(fileName, 0) || (this == ROM && equalsRom49k(fileName));
}

public boolean equals(byte[] inputHandler) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>br.com.dod</groupId>
<artifactId>msx2cas</artifactId>
<packaging>pom</packaging>
<version>3.2.0</version>
<version>3.2.1</version>

<modules>
<module>msx2cas-core</module>
Expand Down

0 comments on commit 89164f8

Please sign in to comment.