mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
annotations not needed anymore
This commit is contained in:
@@ -15,7 +15,6 @@ import javax.persistence.criteria.Root;
|
||||
import javax.persistence.criteria.SetJoin;
|
||||
import javax.persistence.criteria.Subquery;
|
||||
import javax.persistence.metamodel.SingularAttribute;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import org.apache.commons.codec.digest.DigestUtils;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
@@ -114,7 +113,6 @@ public class FeedDAO extends GenericDAO<Feed> {
|
||||
|
||||
}
|
||||
|
||||
@XmlRootElement
|
||||
public static enum DuplicateMode {
|
||||
NORMALIZED_URL(Feed_.normalizedUrlHash), LAST_CONTENT(Feed_.lastContentHash), PUSH_TOPIC(Feed_.pushTopicHash);
|
||||
private SingularAttribute<Feed, String> path;
|
||||
|
||||
@@ -3,9 +3,6 @@ package com.commafeed.backend.model;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
@@ -15,8 +12,6 @@ import org.apache.log4j.Level;
|
||||
@Entity
|
||||
@Table(name = "APPLICATIONSETTINGS")
|
||||
@SuppressWarnings("serial")
|
||||
@XmlRootElement
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@Getter
|
||||
@Setter
|
||||
public class ApplicationSettings extends AbstractModel {
|
||||
|
||||
@@ -10,7 +10,6 @@ import javax.persistence.JoinColumn;
|
||||
import javax.persistence.Lob;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
@@ -27,17 +26,14 @@ import org.hibernate.annotations.CacheConcurrencyStrategy;
|
||||
@Setter
|
||||
public class UserSettings extends AbstractModel {
|
||||
|
||||
@XmlRootElement
|
||||
public enum ReadingMode {
|
||||
all, unread
|
||||
}
|
||||
|
||||
@XmlRootElement
|
||||
public enum ReadingOrder {
|
||||
asc, desc
|
||||
}
|
||||
|
||||
@XmlRootElement
|
||||
public enum ViewMode {
|
||||
title, expanded
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user