-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[aggregate] Changed to not implement Collection
The bnd DS Annotations code got confused if the Aggregate implemented Collection and it was used as the intended @reference. So you now need to call getServices() to get the services.
- Loading branch information
Showing
3 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
biz.aQute.api/src/main/java/biz/aQute/aggregate/api/Aggregate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
package biz.aQute.aggregate.api; | ||
|
||
import java.util.Collection; | ||
import java.util.List; | ||
|
||
public interface Aggregate<S> extends Collection<S> { | ||
public interface Aggregate<S> { | ||
|
||
List<S> getServices(); | ||
|
||
} |