forked from bndtools/bnd
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issue/5988-dependencybot-upload
- Loading branch information
Showing
7 changed files
with
77 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@org.osgi.annotation.bundle.Export | ||
@org.osgi.annotation.versioning.Version("1.0.0") | ||
@org.osgi.annotation.versioning.Version("1.1.0") | ||
package org.bndtools.facade; |
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
31 changes: 31 additions & 0 deletions
31
bndtools.core/test/org/bndtools/refactor/types/TestRefactors.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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package org.bndtools.refactor.types; | ||
|
||
import java.util.Date; | ||
|
||
import org.osgi.framework.BundleContext; | ||
import org.osgi.service.component.annotations.Activate; | ||
import org.osgi.service.component.annotations.Component; | ||
import org.osgi.service.component.annotations.Deactivate; | ||
import org.osgi.service.component.annotations.Reference; | ||
|
||
@Component | ||
public class TestRefactors { | ||
|
||
interface Bar {} | ||
|
||
@Activate | ||
public TestRefactors(BundleContext context, @Reference | ||
Bar serice) {} | ||
|
||
@Reference | ||
void setBar(Bar bar) {} | ||
|
||
void unsetBar(Bar bar) {} | ||
|
||
Date getDate() { | ||
return new Date(); | ||
} | ||
|
||
@Deactivate | ||
void close() {} | ||
} |
6 changes: 6 additions & 0 deletions
6
bndtools.core/test/org/bndtools/refactor/types/package-info.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@Version("1.0.0") | ||
@Export | ||
package org.bndtools.refactor.types; | ||
|
||
import org.osgi.annotation.versioning.Version; | ||
import org.osgi.annotation.bundle.Export; |
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