mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +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.
26 lines
661 B
Java
26 lines
661 B
Java
package br;
|
|
|
|
import java.awt.event.ActionEvent;
|
|
import java.awt.event.ActionListener;
|
|
import javax.swing.JCheckBox;
|
|
|
|
class BrInterfaceSierra implements ActionListener {
|
|
BrInterfaceSierra(P paramP) {}
|
|
|
|
public void actionPerformed(ActionEvent paramActionEvent) {
|
|
JCheckBox jCheckBox = (JCheckBox)paramActionEvent.getSource();
|
|
if (jCheckBox.isSelected()) {
|
|
this.a.q = "15";
|
|
this.a.a(this.a.q);
|
|
} else {
|
|
this.a.q = "Manually";
|
|
this.a.a(this.a.q);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/br/S.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |