#74 some code fixes

This commit is contained in:
Anton Romanov 2019-04-16 13:41:10 +04:00
parent 95f70f425a
commit d81d1cf72c
3 changed files with 840 additions and 864 deletions

View File

@ -23,15 +23,11 @@ public class TagService {
return tags
.stream()
.map(tag -> {
if (tag.getId() != null) {
if (tag.getId() != null) {
return getExistById(tag);
} else {
Tag existTag = isExistByName(tag.getTagName());
if (existTag != null) {
return existTag;
} else {
return create(tag);
}
return existTag != null ? existTag : create(tag);
}
}).collect(Collectors.toList());
}

File diff suppressed because it is too large Load Diff

View File

@ -10,12 +10,6 @@
<!-- Portfolio Grid -->
<section class="bg-light" id="portfolio">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">Work hard</h2>
<h3 class="section-subheading text-muted">sometimes</h3>
</div>
</div>
<div class="row">
<div class="col-md-4 col-sm-6 portfolio-item">
<a class="portfolio-link" href="./papers/papers">