Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Belle2019-10-25 14:37:24 +0000
committerJan Belle2019-10-25 14:37:24 +0000
commitab0a74c9a162d020b8d5185f3ad168ddd3d85c8c (patch)
tree760d49a4097d2b024d2ef8a85c4f1de0728c3dad /plugins
parent4125ab19d6fbe82d60f55c7a4304f6ffe6e72a72 (diff)
downloadorg.eclipse.etrice-ab0a74c9a162d020b8d5185f3ad168ddd3d85c8c.tar.gz
org.eclipse.etrice-ab0a74c9a162d020b8d5185f3ad168ddd3d85c8c.tar.xz
org.eclipse.etrice-ab0a74c9a162d020b8d5185f3ad168ddd3d85c8c.zip
[core] Reactivate deprecation warning for import statements with uri
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/validation/BaseJavaValidator.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/validation/BaseJavaValidator.java b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/validation/BaseJavaValidator.java
index b3d2177e9..aad0efa4f 100644
--- a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/validation/BaseJavaValidator.java
+++ b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/validation/BaseJavaValidator.java
@@ -203,10 +203,10 @@ public class BaseJavaValidator extends org.eclipse.etrice.core.common.validation
}
Resource resource = imp.eResource();
- // too many warnings for now
-// if(!modelPathProvider.get(resource).isEmpty()) {
-// warning("import statements using uris are deprecated", BasePackage.Literals.IMPORT__IMPORT_URI, DEPRECATED_IMPORT_URI);
-// }
+
+ if(!modelPathProvider.get(resource).isEmpty()) {
+ warning("import statements using uris are deprecated", BasePackage.Literals.IMPORT__IMPORT_URI, DEPRECATED_IMPORT_URI);
+ }
String uriString = importUriResolver.resolve(imp);
if (uriString == null) {

Back to the top