File tree 2 files changed +1
-51
lines changed
arduino-core/src/cc/arduino/contributions/libraries
2 files changed +1
-51
lines changed Original file line number Diff line number Diff line change 30
30
package cc .arduino .contributions .libraries ;
31
31
32
32
import cc .arduino .Constants ;
33
- import cc .arduino .contributions .libraries .filters .TypePredicate ;
34
33
import cc .arduino .contributions .packages .ContributedPlatform ;
35
34
import com .fasterxml .jackson .databind .DeserializationFeature ;
36
35
import com .fasterxml .jackson .databind .ObjectMapper ;
@@ -130,7 +129,7 @@ public void rescanLibraries() {
130
129
}
131
130
132
131
installedLibraries .stream () //
133
- .filter (new TypePredicate ("Contributed" )) //
132
+ .filter (l -> l . getTypes (). contains ("Contributed" )) //
134
133
.filter (l -> l .getLocation () == Location .CORE || l .getLocation () == Location .REFERENCED_CORE ) //
135
134
.forEach (l -> {
136
135
ContributedPlatform platform = BaseNoGui .indexer .getPlatformByFolder (l .getInstalledFolder ());
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments