Repository: incubator-atlas Updated Branches: refs/heads/master f74bd951b -> 2763ff303
fix for unit test failure (from ATLAS-1472) and rat failure (from ATLAS-1387) Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/2763ff30 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/2763ff30 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/2763ff30 Branch: refs/heads/master Commit: 2763ff3038d167bdf971fca3c5d18e378911b09e Parents: f74bd95 Author: Madhan Neethiraj <[email protected]> Authored: Mon Jan 30 18:44:04 2017 -0800 Committer: Madhan Neethiraj <[email protected]> Committed: Mon Jan 30 19:50:22 2017 -0800 ---------------------------------------------------------------------- .../store/graph/AtlasTypeDefGraphStore.java | 2 -- .../atlas/util/CompiledQueryCacheKeyTest.java | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/2763ff30/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java ---------------------------------------------------------------------- diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java index 433d09c..7bd8a83 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java @@ -648,8 +648,6 @@ public abstract class AtlasTypeDefGraphStore implements AtlasTypeDefStore, Activ AtlasTransientTypeRegistry ttr = lockTypeRegistryAndReleasePostCommit(); - ttr.addTypes(typesDef); - AtlasEnumDefStore enumDefStore = getEnumDefStore(ttr); AtlasStructDefStore structDefStore = getStructDefStore(ttr); AtlasClassificationDefStore classifiDefStore = getClassificationDefStore(ttr); http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/2763ff30/repository/src/test/java/org/apache/atlas/util/CompiledQueryCacheKeyTest.java ---------------------------------------------------------------------- diff --git a/repository/src/test/java/org/apache/atlas/util/CompiledQueryCacheKeyTest.java b/repository/src/test/java/org/apache/atlas/util/CompiledQueryCacheKeyTest.java index c926f4d..c653710 100644 --- a/repository/src/test/java/org/apache/atlas/util/CompiledQueryCacheKeyTest.java +++ b/repository/src/test/java/org/apache/atlas/util/CompiledQueryCacheKeyTest.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.apache.atlas.util; import static org.testng.Assert.assertEquals;
