Skip to content
Snippets Groups Projects

Rename 'name' in BaseNode to 'title' #38

Merged Martin Lowe requested to merge github/fork/autumnfound/malowe/master/38 into master
8 files
+ 20
20
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -51,7 +51,7 @@ public class CatalogCodec implements CollectibleCodec<Catalog> {
Document doc = new Document();
doc.put(DatabaseFieldNames.DOCID, value.getId());
doc.put(DatabaseFieldNames.NAME, value.getName());
doc.put(DatabaseFieldNames.TITLE, value.getTitle());
doc.put(DatabaseFieldNames.URL, value.getUrl());
doc.put(DatabaseFieldNames.CATALOG_ICON, value.getIcon());
doc.put(DatabaseFieldNames.CATALOG_SELF_CONTAINED, value.isSelfContained());
@@ -73,7 +73,7 @@ public class CatalogCodec implements CollectibleCodec<Catalog> {
Catalog out = new Catalog();
out.setId(document.getString(DatabaseFieldNames.DOCID));
out.setUrl(document.getString(DatabaseFieldNames.URL));
out.setName(document.getString(DatabaseFieldNames.NAME));
out.setTitle(document.getString(DatabaseFieldNames.TITLE));
out.setIcon(document.getString(DatabaseFieldNames.CATALOG_ICON));
out.setSelfContained(document.getBoolean(DatabaseFieldNames.CATALOG_SELF_CONTAINED));
out.setSearchEnabled(document.getBoolean(DatabaseFieldNames.CATALOG_SEARCH_ENABLED));
Loading