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 @@ -61,7 +61,7 @@ public abstract class ContributedLibrary extends DownloadableContribution {
61
61
62
62
public abstract List <String > getTypes ();
63
63
64
- public abstract List <ContributedLibraryReference > getRequires ();
64
+ public abstract List <ContributedLibraryDependency > getRequires ();
65
65
66
66
public static final Comparator <ContributedLibrary > CASE_INSENSITIVE_ORDER = (o1 , o2 ) -> o1 .getName ().compareToIgnoreCase (o2 .getName ());
67
67
@@ -117,7 +117,7 @@ public String info() {
117
117
res += "\n " ;
118
118
res += " requires :\n " ;
119
119
if (getRequires () != null )
120
- for (ContributedLibraryReference r : getRequires ()) {
120
+ for (ContributedLibraryDependency r : getRequires ()) {
121
121
res += " " + r ;
122
122
}
123
123
res += "\n " ;
Original file line number Diff line number Diff line change 29
29
30
30
package cc .arduino .contributions .libraries ;
31
31
32
- public abstract class ContributedLibraryReference {
32
+ public abstract class ContributedLibraryDependency {
33
33
34
34
public abstract String getName ();
35
35
36
- public abstract String getMaintainer ();
37
-
38
- public abstract String getVersion ();
36
+ public abstract String getVersionRequired ();
39
37
40
38
@ Override
41
39
public String toString () {
42
- return getName () + " " + getVersion () + " (" + getMaintainer () + ")" ;
40
+ return getName () + " " + getVersionRequired () ;
43
41
}
44
42
}
Original file line number Diff line number Diff line change 30
30
31
31
import cc .arduino .Constants ;
32
32
import cc .arduino .contributions .libraries .ContributedLibrary ;
33
- import cc .arduino .contributions .libraries .ContributedLibraryReference ;
33
+ import cc .arduino .contributions .libraries .ContributedLibraryDependency ;
34
34
import processing .app .helpers .PreferencesMap ;
35
35
36
36
import java .io .File ;
@@ -244,7 +244,7 @@ public String getArchiveFileName() {
244
244
}
245
245
246
246
@ Override
247
- public List <ContributedLibraryReference > getRequires () {
247
+ public List <ContributedLibraryDependency > getRequires () {
248
248
return null ;
249
249
}
250
250
You can’t perform that action at this time.
0 commit comments