You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by su...@apache.org on 2015/10/17 05:20:33 UTC
incubator-atlas git commit: ATLAS-236
DefaultMetaDataService.createType() calls validateTypeDefinition() twice in
consecutive lines(jspeidel via sumasai)
Repository: incubator-atlas
Updated Branches:
refs/heads/master b37c030d7 -> 23ce5c969
ATLAS-236 DefaultMetaDataService.createType() calls validateTypeDefinition() twice in consecutive lines(jspeidel via sumasai)
Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/23ce5c96
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/23ce5c96
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/23ce5c96
Branch: refs/heads/master
Commit: 23ce5c9693e0fdefd27a8be6b4e64f6d2568678d
Parents: b37c030
Author: Suma Shivaprasad <su...@gmail.com>
Authored: Sat Oct 17 08:50:00 2015 +0530
Committer: Suma Shivaprasad <su...@gmail.com>
Committed: Sat Oct 17 08:50:00 2015 +0530
----------------------------------------------------------------------
.../java/org/apache/atlas/services/DefaultMetadataService.java | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/23ce5c96/repository/src/main/java/org/apache/atlas/services/DefaultMetadataService.java
----------------------------------------------------------------------
diff --git a/repository/src/main/java/org/apache/atlas/services/DefaultMetadataService.java b/repository/src/main/java/org/apache/atlas/services/DefaultMetadataService.java
index ea39f92..fbfa731 100755
--- a/repository/src/main/java/org/apache/atlas/services/DefaultMetadataService.java
+++ b/repository/src/main/java/org/apache/atlas/services/DefaultMetadataService.java
@@ -163,8 +163,6 @@ public class DefaultMetadataService implements MetadataService {
@Override
public JSONObject createType(String typeDefinition) throws AtlasException {
ParamChecker.notEmpty(typeDefinition, "type definition cannot be empty");
- validateTypeDefinition(typeDefinition);
-
TypesDef typesDef = validateTypeDefinition(typeDefinition);
try {