Skip to content

Commit

Permalink
Fix audits in the scope of 2.7.0 #1209
Browse files Browse the repository at this point in the history
Fix discouraged access warnings

Signed-off-by: Alexander Fedorov <[email protected]>
  • Loading branch information
ruspl-afed committed Mar 1, 2023
1 parent 1d18f5d commit d31c3a5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
12 changes: 10 additions & 2 deletions bundles/org.eclipse.passage.loc.api/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@ Export-Package: org.eclipse.passage.loc.internal.api;
org.eclipse.passage.loc.products.core,
org.eclipse.passage.loc.features.core,
org.eclipse.passage.loc.users.core,
org.eclipse.passage.loc.operator.gear",
org.eclipse.passage.loc.internal.api.workspace;x-friends:="org.eclipse.passage.loc.workspace,org.eclipse.passage.loc.store",
org.eclipse.passage.loc.operator.gear,
org.eclipse.passage.loc.products.emfforms",
org.eclipse.passage.loc.internal.api.workspace;
x-friends:="org.eclipse.passage.loc.workspace,
org.eclipse.passage.loc.store,
org.eclipse.passage.loc.features.core,
org.eclipse.passage.loc.users.core,
org.eclipse.passage.loc.products.core,
org.eclipse.passage.loc.licenses.core,
org.eclipse.passage.loc.products.emfforms",
org.eclipse.passage.loc.internal.emf;
x-friends:="org.eclipse.passage.loc.licenses.core,
org.eclipse.passage.loc.edit.ui,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2021 ArSysOp
* Copyright (c) 2021, 2023 ArSysOp
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand Down Expand Up @@ -29,7 +29,6 @@
import org.eclipse.passage.loc.internal.equinox.OperatorGearAware;
import org.eclipse.passage.loc.internal.licenses.core.i18n.LicensesCoreMessages;

@SuppressWarnings("restriction")
final class LicenseAgreements {

private final AgreementRegistry registry;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2022 ArSysOp
* Copyright (c) 2022, 2023 ArSysOp
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand All @@ -23,7 +23,6 @@
import org.eclipse.passage.loc.internal.api.workspace.LicensePacks;
import org.eclipse.passage.loc.internal.equinox.OperatorGearAware;

@SuppressWarnings("restriction")
final class LicensePackResidence implements Supplier<Path> {

private final LicenseRequisites license;
Expand All @@ -45,8 +44,8 @@ private Path userHomeResidence() {
return new UserHomeProductResidence(//
license.getProduct().getIdentifier(), //
license.getProduct().getVersion())//
.get()//
.resolve(license.getIdentifier());
.get()//
.resolve(license.getIdentifier());
}

private Optional<Path> fromWorkspace() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2021, 2022 ArSysOp
* Copyright (c) 2021, 2023 ArSysOp
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand Down Expand Up @@ -33,7 +33,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@SuppressWarnings("restriction")
final class ProductVersionKeys {

private final String plugin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2019, 2022 ArSysOp
* Copyright (c) 2019, 2023 ArSysOp
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand Down Expand Up @@ -32,7 +32,6 @@
import org.eclipse.passage.loc.internal.api.workspace.OperatorWorkspace;
import org.eclipse.passage.loc.workbench.emfforms.renderers.FileContentRenderer;

@SuppressWarnings("restriction")
public abstract class ProductVersionKeyRenderer extends FileContentRenderer<ProductVersion> {

protected final OperatorWorkspace workspace;
Expand Down

0 comments on commit d31c3a5

Please sign in to comment.