Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
0a5eb916
Commit
0a5eb916
authored
6 years ago
by
Diego Marino Monetti
Committed by
Madhan Neethiraj
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3160: remove unthrown exception specified in AtlasRelationshipDef constructors
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
c37656cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
AtlasRelationshipDef.java
.../org/apache/atlas/model/typedef/AtlasRelationshipDef.java
+4
-11
No files found.
intg/src/main/java/org/apache/atlas/model/typedef/AtlasRelationshipDef.java
View file @
0a5eb916
...
...
@@ -19,11 +19,9 @@ package org.apache.atlas.model.typedef;
import
com.fasterxml.jackson.annotation.JsonAutoDetect
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
org.apache.atlas.exception.AtlasBaseException
;
import
org.apache.atlas.model.TypeCategory
;
import
javax.xml.bind.annotation.XmlAccessType
;
...
...
@@ -124,9 +122,8 @@ public class AtlasRelationshipDef extends AtlasStructDef implements java.io.Seri
/**
* AtlasRelationshipDef contructor
* @throws AtlasBaseException
*/
public
AtlasRelationshipDef
()
throws
AtlasBaseException
{
public
AtlasRelationshipDef
()
{
this
(
null
,
null
,
null
,
null
,
null
,
null
,
null
);
}
...
...
@@ -158,8 +155,7 @@ public class AtlasRelationshipDef extends AtlasStructDef implements java.io.Seri
PropagateTags
propagatetags
,
AtlasRelationshipEndDef
endDef1
,
AtlasRelationshipEndDef
endDef2
)
{
this
(
name
,
description
,
typeVersion
,
relationshipCategory
,
propagatetags
,
endDef1
,
endDef2
,
new
ArrayList
<
AtlasAttributeDef
>());
this
(
name
,
description
,
typeVersion
,
relationshipCategory
,
propagatetags
,
endDef1
,
endDef2
,
new
ArrayList
<>());
}
/**
...
...
@@ -185,16 +181,13 @@ public class AtlasRelationshipDef extends AtlasStructDef implements java.io.Seri
* the relationship instance
*
* The ends are defined as 1 and 2 to avoid implying a direction. So we do not use to and from.
*
* @throws AtlasBaseException
*/
public
AtlasRelationshipDef
(
String
name
,
String
description
,
String
typeVersion
,
String
serviceType
,
RelationshipCategory
relationshipCategory
,
PropagateTags
propagatetags
,
AtlasRelationshipEndDef
endDef1
,
AtlasRelationshipEndDef
endDef2
)
throws
AtlasBaseException
{
this
(
name
,
description
,
typeVersion
,
relationshipCategory
,
propagatetags
,
endDef1
,
endDef2
,
new
ArrayList
<
AtlasAttributeDef
>());
AtlasRelationshipEndDef
endDef2
)
{
this
(
name
,
description
,
typeVersion
,
serviceType
,
relationshipCategory
,
propagatetags
,
endDef1
,
endDef2
,
new
ArrayList
<>());
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment