mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
LibraryManager: category is now topic, type added to list official/contributed/recommended libs
This commit is contained in:
@ -58,8 +58,6 @@ public abstract class ContributedLibrary extends DownloadableContribution {
|
||||
|
||||
public abstract String getSentence();
|
||||
|
||||
public abstract String getSupportLevel();
|
||||
|
||||
public abstract List<String> getArchitectures();
|
||||
|
||||
public abstract List<String> getTypes();
|
||||
@ -91,8 +89,7 @@ public abstract class ContributedLibrary extends DownloadableContribution {
|
||||
* @return
|
||||
*/
|
||||
public boolean supportsArchitecture(String reqArch) {
|
||||
return getArchitectures().contains(reqArch) ||
|
||||
getArchitectures().contains("*");
|
||||
return getArchitectures().contains(reqArch) || getArchitectures().contains("*");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -123,8 +123,4 @@ public class LegacyUserLibrary extends UserLibrary {
|
||||
return "LegacyLibrary:" + name + "\n";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSupportLevel() {
|
||||
return "Unsupported";
|
||||
}
|
||||
}
|
||||
|
@ -278,8 +278,4 @@ public class UserLibrary extends ContributedLibrary {
|
||||
return res;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSupportLevel() {
|
||||
return "Unsupported";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user