You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/05/11 09:56:21 UTC
[10/30] ignite git commit: IGNITE-5118 Added prefix to pojo class if
have same name with java built-in classes.
IGNITE-5118 Added prefix to pojo class if have same name with java built-in classes.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/988ca322
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/988ca322
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/988ca322
Branch: refs/heads/ignite-5075-cacheStart
Commit: 988ca32241651e629ae740c9bbd998c10f3148a7
Parents: 174528f
Author: Vasiliy Sisko <vs...@gridgain.com>
Authored: Thu May 4 21:15:32 2017 +0700
Committer: Andrey Novikov <an...@gridgain.com>
Committed: Thu May 4 21:15:32 2017 +0700
----------------------------------------------------------------------
modules/web-console/frontend/controllers/domains-controller.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/988ca322/modules/web-console/frontend/controllers/domains-controller.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/controllers/domains-controller.js b/modules/web-console/frontend/controllers/domains-controller.js
index ea5e389..d7237b9 100644
--- a/modules/web-console/frontend/controllers/domains-controller.js
+++ b/modules/web-console/frontend/controllers/domains-controller.js
@@ -596,7 +596,7 @@ export default ['domainsController', [
};
function isValidJavaIdentifier(s) {
- return JavaTypes.validIdentifier(s) && !JavaTypes.isKeyword(s) &&
+ return JavaTypes.validIdentifier(s) && !JavaTypes.isKeyword(s) && JavaTypes.nonBuiltInClass(s) &&
SqlTypes.validIdentifier(s) && !SqlTypes.isKeyword(s);
}