Skip to content

Commit d3b729a

Browse files
committed
opt: code cleanup
1 parent 8a6ab31 commit d3b729a

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/main/java/jadx/gui/plugins/JadxAIMCP.java

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ public JadxAIMCP() {
103103
// empty constructor
104104
}
105105

106-
/**
107-
* Starts delayed initialization process that waits for JADX to fully load
108-
*/
106+
// Starts delayed initialization process that waits for JADX to fully load
109107
private void startDelayedInitialization() {
110108
scheduler.scheduleAtFixedRate(() -> {
111109
try {
@@ -141,9 +139,7 @@ private void startDelayedInitialization() {
141139
}, MAX_STARTUP_ATTEMPTS, TimeUnit.SECONDS);
142140
}
143141

144-
/**
145-
* Checks if JADX has fully loaded and has valid data to work with
146-
*/
142+
// Checks if JADX has fully loaded and has valid data to work with
147143
private boolean isJadxFullyLoaded() {
148144
try {
149145
if (mainWindow == null) {
@@ -181,9 +177,7 @@ private boolean isJadxFullyLoaded() {
181177
}
182178
}
183179

184-
/**
185-
* Cleanup method to properly shutdown the server and scheduler
186-
*/
180+
// Cleanup method to properly shutdown the server and scheduler
187181
public void shutdown() {
188182
try {
189183
if (scheduler != null && !scheduler.isShutdown()) {
@@ -235,8 +229,7 @@ public void start() {
235229
}
236230
}
237231

238-
// -------------------------- various request handlers
239-
// -------------------------- //
232+
// -------------------------- various request handlers -------------------------- //
240233

241234
// method to handle /current-class request //
242235
public void handleCurrentClass(Context ctx) {

0 commit comments

Comments
 (0)