File tree 3 files changed +7
-9
lines changed
cc/arduino/contributions/libraries
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 {
63
63
64
64
public abstract List <String > getTypes ();
65
65
66
- public abstract List <ContributedLibraryReference > getRequires ();
66
+ public abstract List <ContributedLibraryDependency > getRequires ();
67
67
68
68
public abstract List <String > getProvidesIncludes ();
69
69
@@ -146,7 +146,7 @@ public String info() {
146
146
res += "\n " ;
147
147
res += " requires :\n " ;
148
148
if (getRequires () != null )
149
- for (ContributedLibraryReference r : getRequires ()) {
149
+ for (ContributedLibraryDependency r : getRequires ()) {
150
150
res += " " + r ;
151
151
}
152
152
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 44
44
45
45
import cc .arduino .Constants ;
46
46
import cc .arduino .contributions .VersionHelper ;
47
- import cc .arduino .contributions .libraries .ContributedLibraryReference ;
47
+ import cc .arduino .contributions .libraries .ContributedLibraryDependency ;
48
48
import processing .app .helpers .PreferencesMap ;
49
49
import processing .app .packages .UserLibraryFolder .Location ;
50
50
@@ -230,7 +230,7 @@ public String getMaintainer() {
230
230
return maintainer ;
231
231
}
232
232
233
- public List <ContributedLibraryReference > getRequires () {
233
+ public List <ContributedLibraryDependency > getRequires () {
234
234
return null ;
235
235
}
236
236
You can’t perform that action at this time.
0 commit comments