Skip to content

Commit

Permalink
⚰️ Remove Internal method.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmai-dev committed Aug 13, 2023
1 parent 0b4a9c5 commit 48615d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.github.maiqingqiang.goormhelper.startup;

import com.github.maiqingqiang.goormhelper.services.GoORMHelperCacheManager;
import com.intellij.openapi.application.ReadAction;
import com.intellij.openapi.project.DumbAware;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.startup.StartupActivity;
import com.intellij.openapi.startup.StartupManager;
import org.jetbrains.annotations.NotNull;

public class GoORMHelperStartupActivity implements StartupActivity, DumbAware {
@Override
public void runActivity(@NotNull Project project) {
StartupManager.getInstance(project).runAfterOpened(() -> GoORMHelperCacheManager.getInstance(project).scan());
ReadAction.run(() -> GoORMHelperCacheManager.getInstance(project).scan());
}
}

0 comments on commit 48615d8

Please sign in to comment.