File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed
cc/arduino/contributions/libraries Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public abstract class ContributedLibrary extends DownloadableContribution {
6363
6464 public abstract List <String > getTypes ();
6565
66- public abstract List <ContributedLibraryReference > getRequires ();
66+ public abstract List <ContributedLibraryDependency > getRequires ();
6767
6868 public abstract List <String > getProvidesIncludes ();
6969
@@ -146,7 +146,7 @@ public String info() {
146146 res += "\n " ;
147147 res += " requires :\n " ;
148148 if (getRequires () != null )
149- for (ContributedLibraryReference r : getRequires ()) {
149+ for (ContributedLibraryDependency r : getRequires ()) {
150150 res += " " + r ;
151151 }
152152 res += "\n " ;
Original file line number Diff line number Diff line change 2929
3030package cc .arduino .contributions .libraries ;
3131
32- public abstract class ContributedLibraryReference {
32+ public abstract class ContributedLibraryDependency {
3333
3434 public abstract String getName ();
3535
36- public abstract String getMaintainer ();
37-
38- public abstract String getVersion ();
36+ public abstract String getVersionRequired ();
3937
4038 @ Override
4139 public String toString () {
42- return getName () + " " + getVersion () + " (" + getMaintainer () + ")" ;
40+ return getName () + " " + getVersionRequired () ;
4341 }
4442}
Original file line number Diff line number Diff line change 4444
4545import cc .arduino .Constants ;
4646import cc .arduino .contributions .VersionHelper ;
47- import cc .arduino .contributions .libraries .ContributedLibraryReference ;
47+ import cc .arduino .contributions .libraries .ContributedLibraryDependency ;
4848import processing .app .helpers .PreferencesMap ;
4949import processing .app .packages .UserLibraryFolder .Location ;
5050
@@ -230,7 +230,7 @@ public String getMaintainer() {
230230 return maintainer ;
231231 }
232232
233- public List <ContributedLibraryReference > getRequires () {
233+ public List <ContributedLibraryDependency > getRequires () {
234234 return null ;
235235 }
236236
You can’t perform that action at this time.
0 commit comments