mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-05-06 19:39:42 +00:00
a17fd820b6
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.
64 lines
2.0 KiB
Java
64 lines
2.0 KiB
Java
package com.efiAnalytics.apps.ts.tuningViews;
|
|
|
|
import V.ExceptionInVPackage;
|
|
import bH.D;
|
|
import com.efiAnalytics.ui.ExceptionInVPackage;
|
|
import com.efiAnalytics.ui.bV;
|
|
import javax.swing.SwingUtilities;
|
|
import v.VInterfaceGolf;
|
|
|
|
class TuningViewLoader implements ExceptionInVPackage {
|
|
private b b = null;
|
|
|
|
private String[] c = null;
|
|
|
|
TuningViewLoader(J paramJ, b paramb, String[] paramArrayOfString) {
|
|
this.b = paramb;
|
|
this.c = paramArrayOfString;
|
|
}
|
|
|
|
public boolean ExceptionInVPackage() {
|
|
c();
|
|
return true;
|
|
}
|
|
|
|
public void b() {}
|
|
|
|
public void c() {
|
|
W w = new W(this);
|
|
SwingUtilities.invokeLater(w);
|
|
}
|
|
|
|
private void d() {
|
|
try {
|
|
VInterfaceGolf VInterfaceGolf = new VInterfaceGolf();
|
|
F f = VInterfaceGolf.ExceptionInVPackage(this.b.ExceptionInVPackage());
|
|
if (this.b.b() && !ExceptionInVPackage(f.ExceptionInVPackage())) {
|
|
String str = this.c[0];
|
|
for (byte b1 = 1; b1 < this.c.length; b1++)
|
|
str = str + " & " + this.c[b1];
|
|
boolean bool = bV.ExceptionInVPackage("Warning: Gauge Cluster firmware signature (" + f.ExceptionInVPackage() + ")\ndoes not match current firmware (" + str + ").\nYou may need to edit some components of the layout.\n \nContinue Loading?", this.ExceptionInVPackage.getParent(), true);
|
|
if (!bool)
|
|
return;
|
|
}
|
|
f.ExceptionInVPackage(this.c[0]);
|
|
this.ExceptionInVPackage.ExceptionInVPackage(f);
|
|
} catch (ExceptionInVPackage a1) {
|
|
D.ExceptionInVPackage("Unable to load dash file:\n" + this.b.ExceptionInVPackage(), (Exception)a1, this.ExceptionInVPackage.getParent());
|
|
}
|
|
}
|
|
|
|
private boolean ExceptionInVPackage(String paramString) {
|
|
for (byte b1 = 0; b1 < this.c.length; b1++) {
|
|
if (this.c[b1].equals(paramString))
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/apps/ts/tuningViews/V.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |