File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed
download-utils/src/main/java/net/minecraftforge/util/download
src/main/java/net/minecraftforge/util/hash Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public String read(final JsonReader in) throws IOException {
105105 Log .error ("Invalid number of redirects: " + location );
106106 return null ;
107107 } else {
108- //System.out.println ("Following redirect: " + location);
108+ Log . debug ("Following redirect: " + location );
109109 uri = uri .resolve (location );
110110 url = uri .toURL ();
111111 }
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ plugins {
99apply from : rootProject. file(' build_shared.gradle' )
1010
1111dependencies {
12+ implementation project(' :log-utils' )
13+
1214 // Static Analysis
1315 compileOnly libs. nulls
1416}
Original file line number Diff line number Diff line change 44 */
55package net .minecraftforge .util .hash ;
66
7+ import net .minecraftforge .util .logging .Log ;
8+
79import java .io .File ;
810import java .io .IOException ;
911import java .nio .charset .StandardCharsets ;
@@ -90,7 +92,7 @@ public HashStore load(File file) {
9092 oldHashes .put (split [0 ], split [1 ]);
9193 }
9294 } catch (IOException e ) {
93- System . out . println ("Failed to read cache file. It will be ignored. : " + e .getMessage ());
95+ Log . warn ("Failed to read cache file. It will be ignored. : " + e .getMessage ());
9496 }
9597
9698 return this ;
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jar {
2121 manifest {
2222 attributes(' Automatic-Module-Name' : ' net.minecraftforge.utils.logging' )
2323 attributes([
24- ' Specification-Title' : ' Logging Utils' ,
25- ' Specification-Vendor' : ' Forge Development LLC' ,
26- ' Specification-Version' : gitversion. version. info. tag,
27- ' Implementation-Title' : ' Logging Utils' ,
28- ' Implementation-Vendor' : ' Forge Development LLC' ,
24+ ' Specification-Title' : ' Logging Utils' ,
25+ ' Specification-Vendor' : ' Forge Development LLC' ,
26+ ' Specification-Version' : gitversion. version. info. tag,
27+ ' Implementation-Title' : ' Logging Utils' ,
28+ ' Implementation-Vendor' : ' Forge Development LLC' ,
2929 ' Implementation-Version' : project. version
3030 ] as LinkedHashMap , ' net/minecraftforge/util/logging/' )
3131 }
You can’t perform that action at this time.
0 commit comments