Skip to content

Commit

Permalink
drop commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Nov 10, 2017
1 parent 407e805 commit e6e10d3
Showing 1 changed file with 0 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,38 +219,6 @@ public DocumentLayoutDescriptor build()
return new DocumentLayoutDescriptor(this);
}

// private List<DocumentLayoutSectionDescriptor> buildSections()
// {
// return sectionBuilders
// .stream()
// .filter(sectionBuilder -> checkValid(sectionBuilder))
// .map(sectionBuilder -> sectionBuilder.build())
// .filter(section -> checkValid(section))
// .collect(ImmutableList.toImmutableList());
// }
//
// private boolean checkValid(final DocumentLayoutSectionDescriptor.Builder sectionBuilder)
// {
// if (sectionBuilder.isInvalid())
// {
// logger.trace("Skip adding {} to {} because it's not valid", sectionBuilder, this);
// return false;
// }
//
// return true;
// }
//
// private final boolean checkValid(final DocumentLayoutSectionDescriptor section)
// {
// if (!section.hasColumns())
// {
// logger.trace("Skip adding {} to {} because it does not have columns", section, this);
// return false;
// }
//
// return true;
// }

private Map<DetailId, DocumentLayoutDetailDescriptor> buildDetails()
{
return detailsBuilders
Expand Down Expand Up @@ -284,12 +252,6 @@ public Builder setDocActionElement(final DocumentLayoutElementDescriptor docActi
return this;
}

// public Builder addSections(final Collection<DocumentLayoutSectionDescriptor.Builder> sectionsBuilders)
// {
// sectionBuilders.addAll(sectionsBuilders);
// return this;
// }

public Builder setGridView(final ViewLayout.Builder gridView)
{
this._gridView = gridView;
Expand Down

0 comments on commit e6e10d3

Please sign in to comment.