This is an automated email from the ASF dual-hosted git repository.

madhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new 727e6e0  ATLAS-3102: updated copy constructor of AtlasBaseTypeDef to 
copy serviceType
727e6e0 is described below

commit 727e6e0312f99c2ca91d3909ece47ae2604acd08
Author: Diego Marino Monetti <dmari...@gmail.com>
AuthorDate: Tue Mar 26 19:50:58 2019 +0100

    ATLAS-3102: updated copy constructor of AtlasBaseTypeDef to copy serviceType
    
    Signed-off-by: Madhan Neethiraj <mad...@apache.org>
---
 intg/src/main/java/org/apache/atlas/model/typedef/AtlasBaseTypeDef.java | 2 ++
 .../main/java/org/apache/atlas/model/typedef/AtlasRelationshipDef.java  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/intg/src/main/java/org/apache/atlas/model/typedef/AtlasBaseTypeDef.java 
b/intg/src/main/java/org/apache/atlas/model/typedef/AtlasBaseTypeDef.java
index 5dfb304..eb86345 100644
--- a/intg/src/main/java/org/apache/atlas/model/typedef/AtlasBaseTypeDef.java
+++ b/intg/src/main/java/org/apache/atlas/model/typedef/AtlasBaseTypeDef.java
@@ -191,6 +191,7 @@ public abstract class AtlasBaseTypeDef implements 
java.io.Serializable {
             setUpdateTime(other.getUpdateTime());
             setVersion(other.getVersion());
             setName(other.getName());
+            setServiceType(other.getServiceType());
             setDescription(other.getDescription());
             setTypeVersion(other.getTypeVersion());
             setOptions(other.getOptions());
@@ -204,6 +205,7 @@ public abstract class AtlasBaseTypeDef implements 
java.io.Serializable {
             setUpdateTime(null);
             setVersion(null);
             setName(null);
+            setServiceType(null);
             setDescription(null);
             setTypeVersion(null);
             setOptions(null);
diff --git 
a/intg/src/main/java/org/apache/atlas/model/typedef/AtlasRelationshipDef.java 
b/intg/src/main/java/org/apache/atlas/model/typedef/AtlasRelationshipDef.java
index 60783ab..76caf35 100644
--- 
a/intg/src/main/java/org/apache/atlas/model/typedef/AtlasRelationshipDef.java
+++ 
b/intg/src/main/java/org/apache/atlas/model/typedef/AtlasRelationshipDef.java
@@ -268,7 +268,7 @@ public class AtlasRelationshipDef extends AtlasStructDef 
implements java.io.Seri
         setEndDef2(endDef2);
     }
 
-    public AtlasRelationshipDef(AtlasRelationshipDef other) throws 
AtlasBaseException {
+    public AtlasRelationshipDef(AtlasRelationshipDef other) {
         super(other);
 
         if (other != null) {

Reply via email to