diff options
author | Michael Keppler | 2019-01-06 16:03:46 +0000 |
---|---|---|
committer | Michael Keppler | 2019-01-06 16:03:46 +0000 |
commit | 2cfc23d2a6aaf2c47bb90782e06d8bff28947061 (patch) | |
tree | db3ec86c3b5e1c904b4cd3ac331811d238f5db58 /org.eclipse.mylyn.github.core | |
parent | f36f2823a3549000f182bffe9c49a9483cf8de41 (diff) | |
download | egit-github-2cfc23d2a6aaf2c47bb90782e06d8bff28947061.tar.gz egit-github-2cfc23d2a6aaf2c47bb90782e06d8bff28947061.tar.xz egit-github-2cfc23d2a6aaf2c47bb90782e06d8bff28947061.zip |
Silence all discouraged access warnings in Java code
All the references to internal classes or fields have been implemented
on purpose and there are no better APIs available. Let us therefore
silence all the "discouraged access" warnings. We will notice changes in
future versions of the dependencies rather by deprecation warnings or by
compiler failures.
Change-Id: Ib7af041b1e8ac0f0dba5c45fda6ef93188674bb3
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.mylyn.github.core')
2 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/issue/IssueConnector.java b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/issue/IssueConnector.java index 0055864c..e93e3ced 100644 --- a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/issue/IssueConnector.java +++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/issue/IssueConnector.java @@ -59,6 +59,7 @@ import org.eclipse.mylyn.tasks.core.sync.ISynchronizationSession; /** * GitHub issue repository connector. */ +@SuppressWarnings("restriction") public class IssueConnector extends RepositoryConnector { /** diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/pr/PullRequestConnector.java b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/pr/PullRequestConnector.java index 6ff999f0..7aecec05 100644 --- a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/pr/PullRequestConnector.java +++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/pr/PullRequestConnector.java @@ -46,6 +46,7 @@ import org.eclipse.mylyn.tasks.core.sync.ISynchronizationSession; /** * GitHub pull request connector. */ +@SuppressWarnings("restriction") public class PullRequestConnector extends RepositoryConnector { /** |