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 <[email protected]> Authored: Sat Oct 17 08:50:00 2015 +0530 Committer: Suma Shivaprasad <[email protected]> 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 {
