summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2013-02-19 10:09:10 (EST)
committer Thomas Schuetz2013-02-19 10:10:05 (EST)
commitb3cc0ed1e226cafcba7886ef9c52a40c23b32d6b (patch)
tree29e7b8bc0c4f4e4567f97e59984a85f439cefd93
parent00489ce7e4846e74ca29edfcbb2def1a654e06c5 (diff)
downloadorg.eclipse.etrice-b3cc0ed1e226cafcba7886ef9c52a40c23b32d6b.zip
org.eclipse.etrice-b3cc0ed1e226cafcba7886ef9c52a40c23b32d6b.tar.gz
org.eclipse.etrice-b3cc0ed1e226cafcba7886ef9c52a40c23b32d6b.tar.bz2
[core.validation] removed warning for types that do not begin with a
capital letter -> naming convention too narrow for some projects Change-Id: I9c1343738a7887f63ce30335db6e27b8363179da
-rw-r--r--plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java
index 6365fe6..5c3fd78 100644
--- a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java
+++ b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java
@@ -118,16 +118,6 @@ public class RoomJavaValidator extends AbstractRoomJavaValidator {
}
@Check
- public void checkTypeNameStartsWithCapital(RoomClass type) {
- if (type instanceof PrimitiveType || type instanceof ExternalType)
- return;
-
- if (!Character.isUpperCase(type.getName().charAt(0))) {
- warning("Name should start with a capital", RoomPackage.eINSTANCE.getRoomClass_Name());
- }
- }
-
- @Check
public void checkActorRefIsNotCircular(ActorRef ar) {
if (ar.eContainer() instanceof ActorClass) {
ActorClass ac = (ActorClass) ar.eContainer();