@@ -94,7 +94,7 @@ public boolean test(UserLibrary library) {
94
94
public static Map <String , Object > FIND_DIALOG_STATE = new HashMap <String , Object >();
95
95
private final ContributionInstaller contributionInstaller ;
96
96
private final LibraryInstaller libraryInstaller ;
97
- private Timer selfCheckTimer ;
97
+ private ContributionsSelfCheck contributionsSelfCheck ;
98
98
99
99
// set to true after the first time the menu is built.
100
100
// so that the errors while building don't show up again.
@@ -466,8 +466,8 @@ public Base(String[] args) throws Exception {
466
466
467
467
new Thread (new BuiltInCoreIsNewerCheck (this )).start ();
468
468
469
- selfCheckTimer = new Timer ( false );
470
- selfCheckTimer . schedule ( new ContributionsSelfCheck ( this , new UpdatableBoardsLibsFakeURLsHandler ( this ), BaseNoGui . indexer , contributionInstaller , BaseNoGui . librariesIndexer , libraryInstaller ) , Constants .BOARDS_LIBS_UPDATABLE_CHECK_START_PERIOD );
469
+ contributionsSelfCheck = new ContributionsSelfCheck ( this , new UpdatableBoardsLibsFakeURLsHandler ( this ), BaseNoGui . indexer , contributionInstaller , BaseNoGui . librariesIndexer , libraryInstaller );
470
+ new Timer ( false ). schedule ( contributionsSelfCheck , Constants .BOARDS_LIBS_UPDATABLE_CHECK_START_PERIOD );
471
471
472
472
} else if (parser .isNoOpMode ()) {
473
473
// Do nothing (intended for only changing preferences)
@@ -1228,8 +1228,8 @@ public void onBoardOrPortChange() {
1228
1228
}
1229
1229
1230
1230
public void openLibraryManager (String dropdownItem ) {
1231
- if (selfCheckTimer != null ) {
1232
- selfCheckTimer .cancel ();
1231
+ if (contributionsSelfCheck != null ) {
1232
+ contributionsSelfCheck .cancel ();
1233
1233
}
1234
1234
@ SuppressWarnings ("serial" )
1235
1235
LibraryManagerUI managerUI = new LibraryManagerUI (activeEditor , BaseNoGui .librariesIndexer , libraryInstaller ) {
@@ -1257,8 +1257,8 @@ protected void onIndexesUpdated() throws Exception {
1257
1257
}
1258
1258
1259
1259
public void openBoardsManager (final String filterText , String dropdownItem ) throws Exception {
1260
- if (selfCheckTimer != null ) {
1261
- selfCheckTimer .cancel ();
1260
+ if (contributionsSelfCheck != null ) {
1261
+ contributionsSelfCheck .cancel ();
1262
1262
}
1263
1263
@ SuppressWarnings ("serial" )
1264
1264
ContributionManagerUI managerUI = new ContributionManagerUI (activeEditor , BaseNoGui .indexer , contributionInstaller ) {
0 commit comments