mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 14:15:20 +00:00
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.
This commit is contained in:
@@ -4,7 +4,7 @@ import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
|
||||
class BeInterfaceNovember implements ActionListener {
|
||||
N(M paramM) {}
|
||||
BeInterfaceNovember(M paramM) {}
|
||||
|
||||
public void actionPerformed(ActionEvent paramActionEvent) {
|
||||
M.a(this.a);
|
||||
|
||||
Reference in New Issue
Block a user