Skip to content

Commit

Permalink
Add label to metadataToMap
Browse files Browse the repository at this point in the history
  • Loading branch information
daines committed Mar 16, 2015
1 parent 977340e commit 8700536
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -106,6 +106,9 @@ public static Map<String, Object> metadataToMap(BriefObjectMetadata metadata, Ac
if (metadata.getId() != null)
result.put("id", metadata.getId());

if (metadata.getLabel() != null)
result.put("label", metadata.getLabel());

if (metadata.getTitle() != null)
result.put("title", metadata.getTitle());

Expand Down

0 comments on commit 8700536

Please sign in to comment.