Skip to content

Commit

Permalink
declare org.eclipse.releng.tools.tests as friend
Browse files Browse the repository at this point in the history
to reduce warnings
  • Loading branch information
EcljpseB0T authored and jukzi committed Dec 5, 2023
1 parent 6d61f50 commit 2168e48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -30,7 +30,6 @@
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.egit.core.op.ConnectProviderOperation;
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.lib.Constants;
import org.eclipse.jgit.lib.PersonIdent;
Expand Down Expand Up @@ -142,8 +141,9 @@ private IProject createProject(String name) throws Exception {
return project;
}

@SuppressWarnings("restriction")
private void connect() throws CoreException {
new ConnectProviderOperation(project, gitDir).execute(null);
new org.eclipse.egit.core.op.ConnectProviderOperation(project, gitDir).execute(null);
}

private Date getDateForYear(int year) throws ParseException {
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.eclipse.releng.tools/META-INF/MANIFEST.MF
Expand Up @@ -26,7 +26,7 @@ Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-17
Export-Package:
org.eclipse.releng.tools,
org.eclipse.releng.tools.git;x-friends:="org.eclipse.releng.tests",
org.eclipse.releng.tools.git;x-friends:="org.eclipse.releng.tests, org.eclipse.releng.tools.tests",
org.eclipse.releng.tools.preferences,
org.eclipse.releng.internal.tools.pomversion;x-internal:=true
Automatic-Module-Name: org.eclipse.releng.tools

0 comments on commit 2168e48

Please sign in to comment.