Repository: atlas Updated Branches: refs/heads/branch-0.8 649f314e1 -> b7f1fc914
ATLAS-2074: AtlasType.resolveReferences() method made package-private Signed-off-by: Sarath Subramanian <[email protected]> (cherry picked from commit b54f4b87659dec53d57c55c77799367d5f0fe399) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/b7f1fc91 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/b7f1fc91 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/b7f1fc91 Branch: refs/heads/branch-0.8 Commit: b7f1fc914e42eeddec53bfc2ed505d9114717865 Parents: 649f314 Author: Madhan Neethiraj <[email protected]> Authored: Mon Aug 21 11:56:41 2017 -0700 Committer: Madhan Neethiraj <[email protected]> Committed: Mon Aug 21 12:27:40 2017 -0700 ---------------------------------------------------------------------- intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java | 2 +- .../java/org/apache/atlas/type/AtlasClassificationType.java | 6 +++--- intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java | 6 +++--- intg/src/main/java/org/apache/atlas/type/AtlasEnumType.java | 2 +- intg/src/main/java/org/apache/atlas/type/AtlasMapType.java | 2 +- intg/src/main/java/org/apache/atlas/type/AtlasStructType.java | 4 ++-- intg/src/main/java/org/apache/atlas/type/AtlasType.java | 6 +++--- 7 files changed, 14 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/b7f1fc91/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java b/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java index 2d386f1..89ba220 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java @@ -106,7 +106,7 @@ public class AtlasArrayType extends AtlasType { } @Override - public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { elementType = typeRegistry.getType(elementTypeName); } http://git-wip-us.apache.org/repos/asf/atlas/blob/b7f1fc91/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java b/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java index 56c3ed3..cc3e45e 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java @@ -69,7 +69,7 @@ public class AtlasClassificationType extends AtlasStructType { public AtlasClassificationDef getClassificationDef() { return classificationDef; } @Override - public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { super.resolveReferences(typeRegistry); List<AtlasClassificationType> s = new ArrayList<>(); @@ -100,7 +100,7 @@ public class AtlasClassificationType extends AtlasStructType { } @Override - public void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { super.resolveReferencesPhase2(typeRegistry); for (String superTypeName : allSuperTypes) { @@ -110,7 +110,7 @@ public class AtlasClassificationType extends AtlasStructType { } @Override - public void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { allSubTypes = Collections.unmodifiableSet(allSubTypes); typeAndAllSubTypes = Collections.unmodifiableSet(typeAndAllSubTypes); typeAndAllSubTypesQryStr = ""; // will be computed on next access http://git-wip-us.apache.org/repos/asf/atlas/blob/b7f1fc91/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java b/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java index 2ad8f1c..8a6e675 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java @@ -70,7 +70,7 @@ public class AtlasEntityType extends AtlasStructType { public AtlasEntityDef getEntityDef() { return entityDef; } @Override - public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { super.resolveReferences(typeRegistry); List<AtlasEntityType> s = new ArrayList<>(); @@ -100,7 +100,7 @@ public class AtlasEntityType extends AtlasStructType { } @Override - public void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { super.resolveReferencesPhase2(typeRegistry); for (String superTypeName : allSuperTypes) { @@ -110,7 +110,7 @@ public class AtlasEntityType extends AtlasStructType { } @Override - public void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { allSubTypes = Collections.unmodifiableSet(allSubTypes); typeAndAllSubTypes = Collections.unmodifiableSet(typeAndAllSubTypes); typeAndAllSubTypesQryStr = ""; // will be computed on next access http://git-wip-us.apache.org/repos/asf/atlas/blob/b7f1fc91/intg/src/main/java/org/apache/atlas/type/AtlasEnumType.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasEnumType.java b/intg/src/main/java/org/apache/atlas/type/AtlasEnumType.java index 1cd27b3..9a16ea3 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasEnumType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasEnumType.java @@ -62,7 +62,7 @@ public class AtlasEnumType extends AtlasType { public AtlasEnumDef getEnumDef() { return enumDef; } @Override - public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { } @Override http://git-wip-us.apache.org/repos/asf/atlas/blob/b7f1fc91/intg/src/main/java/org/apache/atlas/type/AtlasMapType.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasMapType.java b/intg/src/main/java/org/apache/atlas/type/AtlasMapType.java index 385a9ae..32b813b 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasMapType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasMapType.java @@ -86,7 +86,7 @@ public class AtlasMapType extends AtlasType { } @Override - public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { this.keyType = typeRegistry.getType(keyTypeName); this.valueType = typeRegistry.getType(valueTypeName); } http://git-wip-us.apache.org/repos/asf/atlas/blob/b7f1fc91/intg/src/main/java/org/apache/atlas/type/AtlasStructType.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasStructType.java b/intg/src/main/java/org/apache/atlas/type/AtlasStructType.java index cb9dd95..32cf08b 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasStructType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasStructType.java @@ -82,7 +82,7 @@ public class AtlasStructType extends AtlasType { } @Override - public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { Map<String, AtlasAttribute> a = new HashMap<>(); for (AtlasAttributeDef attributeDef : structDef.getAttributeDefs()) { @@ -165,7 +165,7 @@ public class AtlasStructType extends AtlasType { } @Override - public void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { super.resolveReferencesPhase2(typeRegistry); for (AtlasAttribute attribute : allAttributes.values()) { if (attribute.getInverseRefAttributeName() == null) { http://git-wip-us.apache.org/repos/asf/atlas/blob/b7f1fc91/intg/src/main/java/org/apache/atlas/type/AtlasType.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasType.java b/intg/src/main/java/org/apache/atlas/type/AtlasType.java index 747c9a6..ae7044d 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasType.java @@ -51,13 +51,13 @@ public abstract class AtlasType { this.typeCategory = typeCategory; } - public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { } - public void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { } - public void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { } public String getTypeName() { return typeName; }
