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
a7119179
Commit
a7119179
authored
6 years ago
by
Graham Wallis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2803: Improvements to toString methods
Signed-off-by:
Graham Wallis
<
graham_wallis@uk.ibm.com
>
parent
d1b3f21c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
AtlasEnumDef.java
...ain/java/org/apache/atlas/model/typedef/AtlasEnumDef.java
+3
-0
AtlasRelationshipDef.java
.../org/apache/atlas/model/typedef/AtlasRelationshipDef.java
+12
-2
No files found.
intg/src/main/java/org/apache/atlas/model/typedef/AtlasEnumDef.java
View file @
a7119179
...
...
@@ -217,6 +217,9 @@ public class AtlasEnumDef extends AtlasBaseTypeDef implements Serializable {
sb
.
append
(
", elementDefs=["
);
dumpObjects
(
elementDefs
,
sb
);
sb
.
append
(
"]"
);
sb
.
append
(
", defaultValue {"
);
sb
.
append
(
defaultValue
);
sb
.
append
(
'}'
);
sb
.
append
(
'}'
);
return
sb
;
...
...
This diff is collapsed.
Click to expand it.
intg/src/main/java/org/apache/atlas/model/typedef/AtlasRelationshipDef.java
View file @
a7119179
...
...
@@ -255,9 +255,19 @@ public class AtlasRelationshipDef extends AtlasStructDef implements java.io.Seri
sb
.
append
(
','
);
sb
.
append
(
this
.
propagateTags
);
sb
.
append
(
','
);
sb
.
append
(
this
.
endDef1
.
toString
());
if
(
this
.
endDef1
!=
null
)
{
sb
.
append
(
this
.
endDef1
.
toString
());
}
else
{
sb
.
append
(
" end1 is null!"
);
}
sb
.
append
(
','
);
sb
.
append
(
this
.
endDef2
.
toString
());
if
(
this
.
endDef2
!=
null
)
{
sb
.
append
(
this
.
endDef2
.
toString
());
}
else
{
sb
.
append
(
" end2 is null!"
);
}
sb
.
append
(
'}'
);
return
sb
;
}
...
...
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