Skip to content

Commit 337f013

Browse files
committed
Hash Utils - Remove dependency on Log Utils
This is not a breaking change, so no need for a version bump.
1 parent e737a02 commit 337f013

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

hash-utils/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ java {
2323

2424
dependencies {
2525
compileOnly libs.nulls
26-
27-
implementation projects.logUtils
2826
}
2927

3028
tasks.named('jar', Jar) {

hash-utils/src/main/java/net/minecraftforge/util/hash/HashStore.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55
package net.minecraftforge.util.hash;
66

7-
import net.minecraftforge.util.logging.Log;
87
import org.jetbrains.annotations.NotNullByDefault;
98
import org.jetbrains.annotations.Nullable;
109

@@ -100,8 +99,9 @@ public HashStore load(File file) {
10099
String[] split = line.split("=");
101100
oldHashes.put(split[0], split[1]);
102101
}
103-
} catch (IOException e) {
104-
Log.warn("Failed to read cache file. It will be ignored. : " + e.getMessage());
102+
} catch (IOException ignored) {
103+
// TODO [HashUtils] Make a way to properly inform consumer on cache miss
104+
//System.err.println("Failed to read cache file. It will be ignored. : " + e.getMessage());
105105
}
106106

107107
return this;

0 commit comments

Comments
 (0)