From 54e7cabf6419fc2436ce96355288cef343966374 Mon Sep 17 00:00:00 2001 From: "Maxim.Mossienko" Date: Mon, 19 Aug 2013 13:46:20 +0200 Subject: [PATCH] reverted increase of ielementtype limit to catch more clients that create ielementtype in wrong way --- platform/core-api/src/com/intellij/psi/tree/IElementType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/core-api/src/com/intellij/psi/tree/IElementType.java b/platform/core-api/src/com/intellij/psi/tree/IElementType.java index ed349f7ee449..b64d76112220 100644 --- a/platform/core-api/src/com/intellij/psi/tree/IElementType.java +++ b/platform/core-api/src/com/intellij/psi/tree/IElementType.java @@ -51,7 +51,7 @@ public class IElementType { }; public static final short FIRST_TOKEN_INDEX = 1; - public static final short MAX_INDEXED_TYPES = 20000; + public static final short MAX_INDEXED_TYPES = 15000; private static short ourCounter = FIRST_TOKEN_INDEX; private static IElementType[] ourRegistry = new IElementType[700];