Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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