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
189ba064
Commit
189ba064
authored
Jun 09, 2015
by
Shwetha G S
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #140 from shwethags/stringval
fixed string attribute validation
parents
1a7dba9f
70344bb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
GraphBackedMetadataRepository.java
...atlas/repository/graph/GraphBackedMetadataRepository.java
+1
-0
DataTypes.java
...ain/java/org/apache/atlas/typesystem/types/DataTypes.java
+1
-1
No files found.
repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepository.java
View file @
189ba064
...
...
@@ -185,6 +185,7 @@ public class GraphBackedMetadataRepository implements MetadataRepository {
}
@Override
@GraphTransaction
public
List
<
String
>
getEntityList
(
String
entityType
)
throws
RepositoryException
{
LOG
.
info
(
"Retrieving entity list for type={}"
,
entityType
);
GraphQuery
query
=
titanGraph
.
query
()
...
...
typesystem/src/main/java/org/apache/atlas/typesystem/types/DataTypes.java
View file @
189ba064
...
...
@@ -456,7 +456,7 @@ public class DataTypes {
@Override
public
String
convert
(
Object
val
,
Multiplicity
m
)
throws
MetadataException
{
if
(
StringUtils
.
isNotBlank
((
CharSequence
)
val
))
{
if
(
val
!=
null
&&
(!(
val
instanceof
String
)
||
StringUtils
.
isNotBlank
((
CharSequence
)
val
)
))
{
return
val
.
toString
();
}
return
convertNull
(
m
);
...
...
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