Files
tustu/app/bb/FileEquals.java
johndoe6345789 a17fd820b6 Add script to fix misnamed constructors in Java files
This commit introduces a new Python script, `fix_constructors_v2.py`, which automates the process of correcting constructor names in Java files based on Gradle error outputs. The script scans specified Java files, identifies constructors that do not match their class names, and updates them accordingly. It handles various edge cases, ensuring that only relevant constructors are modified. The script also provides feedback on the changes made during execution.
2026-01-11 20:45:07 +00:00

41 lines
1.1 KiB
Java

package bb;
import ae.FileUsingHashMap;
import java.io.File;
class FileEquals {
private File c;
private FileUsingHashMap d;
boolean a = false;
FileEquals(E paramE, FileUsingHashMap paramk, File paramFile, boolean paramBoolean) {
this.c = paramFile;
this.d = paramk;
this.a = paramBoolean;
}
public File a() {
return this.c;
}
public boolean equals(Object paramObject) {
return (paramObject instanceof K && this.c != null) ? ((K)paramObject).a().equals(this.c) : ((paramObject instanceof File && this.c != null) ? ((File)paramObject).equals(this.c) : super.equals(paramObject));
}
public String toString() {
String str = null;
if (this.b.j != null)
str = this.b.j.a(this.c);
if (str == null)
str = this.d.h().a(this.c);
return (str == null || str.isEmpty()) ? this.c.getName() : (this.a ? (str + " (" + this.c.getName() + ") - Recommended") : (str + " (" + this.c.getName() + ")"));
}
}
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/bb/K.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/