Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-09-27 06:14:19 +0000
committerAlexander Kurtakov2020-09-27 10:42:33 +0000
commit7717d44edee15cdf4ec670e5435f919024ca29ae (patch)
treec849676aad1add20d036bb88815bae5f202c1088
parent0c518fdfe55d77cf78a9111c9e8fe1868621ec2e (diff)
downloadeclipse.pde.ui-7717d44edee15cdf4ec670e5435f919024ca29ae.tar.gz
eclipse.pde.ui-7717d44edee15cdf4ec670e5435f919024ca29ae.tar.xz
eclipse.pde.ui-7717d44edee15cdf4ec670e5435f919024ca29ae.zip
Move away of deprecated JavaConventions.validateJavaTypeNameY20200928-1200Y20200928-0700Y20200928-0600I20200928-1800I20200927-1800
Use the new one with previewEnabled=null parameter. Change-Id: Id0643f70e7a69050c3e390a78c128ac9aa9063ca Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/plugin/PluginContentPage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/plugin/PluginContentPage.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/plugin/PluginContentPage.java
index 9265a8c0f0..0d56b2dd94 100644
--- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/plugin/PluginContentPage.java
+++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/plugin/PluginContentPage.java
@@ -350,7 +350,8 @@ public class PluginContentPage extends ContentPage {
protected void validatePage() {
String errorMessage = validateProperties();
if (errorMessage == null && fGenerateActivator.getSelection()) {
- IStatus status = JavaConventions.validateJavaTypeName(fClassText.getText().trim(), PDEJavaHelper.getJavaSourceLevel(null), PDEJavaHelper.getJavaComplianceLevel(null));
+ IStatus status = JavaConventions.validateJavaTypeName(fClassText.getText().trim(),
+ PDEJavaHelper.getJavaSourceLevel(null), PDEJavaHelper.getJavaComplianceLevel(null), null);
if (status.getSeverity() == IStatus.ERROR) {
errorMessage = status.getMessage();
} else if (status.getSeverity() == IStatus.WARNING) {

Back to the top