Repository: atlas Updated Branches: refs/heads/master 149625731 -> b54f4b876
ATLAS-2074: AtlasType.resolveReferences() method made package-private Signed-off-by: Sarath Subramanian <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/b54f4b87 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/b54f4b87 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/b54f4b87 Branch: refs/heads/master Commit: b54f4b87659dec53d57c55c77799367d5f0fe399 Parents: 1496257 Author: Madhan Neethiraj <[email protected]> Authored: Mon Aug 21 11:56:41 2017 -0700 Committer: Sarath Subramanian <[email protected]> Committed: Mon Aug 21 11:56:41 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 +- .../main/java/org/apache/atlas/type/AtlasRelationshipType.java | 4 ++-- intg/src/main/java/org/apache/atlas/type/AtlasStructType.java | 4 ++-- intg/src/main/java/org/apache/atlas/type/AtlasType.java | 6 +++--- 8 files changed, 16 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/b54f4b87/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 de3394f..5e30554 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/b54f4b87/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/b54f4b87/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 9dad95d..2cb8e27 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java @@ -75,7 +75,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<>(); @@ -111,7 +111,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) { @@ -121,7 +121,7 @@ public class AtlasEntityType extends AtlasStructType { } @Override - public void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { for (AtlasAttributeDef attributeDef : getStructDef().getAttributeDefs()) { String attributeName = attributeDef.getName(); AtlasType attributeType = typeRegistry.getType(attributeDef.getTypeName()); http://git-wip-us.apache.org/repos/asf/atlas/blob/b54f4b87/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/b54f4b87/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 90c898a..efbf10e 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/b54f4b87/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java b/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java index 934dffc..3de02d0 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java @@ -60,7 +60,7 @@ public class AtlasRelationshipType extends AtlasStructType { public AtlasRelationshipDef getRelationshipDef() { return relationshipDef; } @Override - public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { super.resolveReferences(typeRegistry); if (relationshipDef == null) { @@ -91,7 +91,7 @@ public class AtlasRelationshipType extends AtlasStructType { } @Override - public void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { + void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { super.resolveReferencesPhase2(typeRegistry); AtlasRelationshipEndDef endDef1 = relationshipDef.getEndDef1(); http://git-wip-us.apache.org/repos/asf/atlas/blob/b54f4b87/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 277d0fa..4304e74 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasStructType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasStructType.java @@ -81,7 +81,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()) { @@ -164,7 +164,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/b54f4b87/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 c99eb7f..dc0d300 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; }
