mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-05-07 03:49:40 +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.
32 lines
810 B
Java
32 lines
810 B
Java
package com.efiAnalytics.apps.ts.tuningViews;
|
|
|
|
import bH.D;
|
|
|
|
class TabRenameHandler implements m {
|
|
J a;
|
|
|
|
String b;
|
|
|
|
TabRenameHandler(z paramz, J paramJ, String paramString) {
|
|
this.a = paramJ;
|
|
this.b = paramString;
|
|
}
|
|
|
|
public boolean a(String paramString1, String paramString2) {
|
|
if (paramString2 == null || paramString2.trim().isEmpty())
|
|
return false;
|
|
int i = this.c.a.f(this.b);
|
|
if (i >= 0) {
|
|
this.c.a.setTitleAt(i, paramString2);
|
|
return true;
|
|
}
|
|
D.c("Could not find tab titled " + this.b + " to rename to: " + paramString2);
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/apps/ts/tuningViews/B.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |