wrapping not needed

This commit is contained in:
Athou
2014-08-14 09:40:40 +02:00
parent 0ff477579b
commit aa02c7b93a
2 changed files with 3 additions and 3 deletions

View File

@@ -117,7 +117,7 @@ public class CategoryREST {
id = ALL;
}
Date newerThanDate = newerThan == null ? null : new Date(Long.valueOf(newerThan));
Date newerThanDate = newerThan == null ? null : new Date(newerThan);
List<Long> excludedIds = null;
if (StringUtils.isNotEmpty(excludedSubscriptionIds)) {
@@ -386,7 +386,7 @@ public class CategoryREST {
Preconditions.checkNotNull(req);
Preconditions.checkNotNull(req.getId());
FeedCategory category = feedCategoryDAO.findById(user, Long.valueOf(req.getId()));
FeedCategory category = feedCategoryDAO.findById(user, req.getId());
if (category == null) {
return Response.status(Status.NOT_FOUND).build();
}

View File

@@ -133,7 +133,7 @@ public class FeedREST {
boolean unreadOnly = readType == ReadingMode.unread;
Date newerThanDate = newerThan == null ? null : new Date(Long.valueOf(newerThan));
Date newerThanDate = newerThan == null ? null : new Date(newerThan);
FeedSubscription subscription = feedSubscriptionDAO.findById(user, Long.valueOf(id));
if (subscription != null) {