mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 21:55:12 +00:00
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.
18 lines
463 B
Java
18 lines
463 B
Java
package aP;
|
|
|
|
import java.io.File;
|
|
import java.io.FilenameFilter;
|
|
|
|
class FilenameFilterImplInApPackage implements FilenameFilter {
|
|
FilenameFilterImplInApPackage(f paramf) {}
|
|
|
|
public boolean accept(File paramFile, String paramString) {
|
|
return paramString.toLowerCase().endsWith(".sh");
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/aP/B.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |