modules) {
- this._modules = modules;
+ this.modules = modules;
}
/**
@@ -234,7 +234,7 @@ public class Person implements Cloneable, Serializable, Extendable {
*/
@Override
public Module getModule(final String uri) {
- return ModuleUtils.getModule(this._modules, uri);
+ return ModuleUtils.getModule(modules, uri);
}
}
diff --git a/src/main/java/com/sun/syndication/feed/impl/BeanIntrospector.java b/src/main/java/com/sun/syndication/feed/impl/BeanIntrospector.java
index 2800f84..43c1430 100644
--- a/src/main/java/com/sun/syndication/feed/impl/BeanIntrospector.java
+++ b/src/main/java/com/sun/syndication/feed/impl/BeanIntrospector.java
@@ -41,13 +41,13 @@ import java.util.Set;
*/
public class BeanIntrospector {
- private static final Map _introspected = new HashMap();
+ private static final Map introspected = new HashMap();
public static synchronized PropertyDescriptor[] getPropertyDescriptors(final Class klass) throws IntrospectionException {
- PropertyDescriptor[] descriptors = (PropertyDescriptor[]) _introspected.get(klass);
+ PropertyDescriptor[] descriptors = (PropertyDescriptor[]) introspected.get(klass);
if (descriptors == null) {
descriptors = getPDs(klass);
- _introspected.put(klass, descriptors);
+ introspected.put(klass, descriptors);
}
return descriptors;
}
diff --git a/src/main/java/com/sun/syndication/feed/impl/CloneableBean.java b/src/main/java/com/sun/syndication/feed/impl/CloneableBean.java
index 26fec20..afc9dc6 100644
--- a/src/main/java/com/sun/syndication/feed/impl/CloneableBean.java
+++ b/src/main/java/com/sun/syndication/feed/impl/CloneableBean.java
@@ -45,8 +45,8 @@ public class CloneableBean implements Serializable, Cloneable {
private static final Class[] NO_PARAMS_DEF = new Class[0];
private static final Object[] NO_PARAMS = new Object[0];
- private final Object _obj;
- private Set _ignoreProperties;
+ private final Object obj;
+ private Set ignoreProperties;
/**
* Default constructor.
@@ -56,7 +56,7 @@ public class CloneableBean implements Serializable, Cloneable {
*
*/
protected CloneableBean() {
- this._obj = this;
+ obj = this;
}
/**
@@ -66,14 +66,14 @@ public class CloneableBean implements Serializable, Cloneable {
*
*
* public class Foo implements Cloneable {
- * private CloneableBean _cloneableBean;
+ * private CloneableBean cloneableBean;
*
* public Foo() {
- * _cloneableBean = new CloneableBean(this);
+ * cloneableBean = new CloneableBean(this);
* }
*
* public Object clone() throws CloneNotSupportedException {
- * return _cloneableBean.beanClone();
+ * return cloneableBean.beanClone();
* }
*
* }
@@ -104,8 +104,8 @@ public class CloneableBean implements Serializable, Cloneable {
*
*/
public CloneableBean(final Object obj, final Set ignoreProperties) {
- this._obj = obj;
- this._ignoreProperties = ignoreProperties != null ? ignoreProperties : Collections.EMPTY_SET;
+ this.obj = obj;
+ this.ignoreProperties = ignoreProperties != null ? ignoreProperties : Collections.EMPTY_SET;
}
/**
@@ -142,8 +142,8 @@ public class CloneableBean implements Serializable, Cloneable {
public Object beanClone() throws CloneNotSupportedException {
Object clonedBean;
try {
- clonedBean = this._obj.getClass().newInstance();
- final PropertyDescriptor[] pds = BeanIntrospector.getPropertyDescriptors(this._obj.getClass());
+ clonedBean = obj.getClass().newInstance();
+ final PropertyDescriptor[] pds = BeanIntrospector.getPropertyDescriptors(obj.getClass());
if (pds != null) {
for (int i = 0; i < pds.length; i++) {
final Method pReadMethod = pds[i].getReadMethod();
@@ -154,7 +154,7 @@ public class CloneableBean implements Serializable, Cloneable {
// and
// setter
// methods
- !this._ignoreProperties.contains(pds[i].getName()) && // is
+ !ignoreProperties.contains(pds[i].getName()) && // is
// not
// in
// the
@@ -173,7 +173,7 @@ public class CloneableBean implements Serializable, Cloneable {
// that
// take
// parameters
- Object value = pReadMethod.invoke(this._obj, NO_PARAMS);
+ Object value = pReadMethod.invoke(obj, NO_PARAMS);
if (value != null) {
value = doClone(value);
pWriteMethod.invoke(clonedBean, new Object[] { value });
@@ -186,7 +186,7 @@ public class CloneableBean implements Serializable, Cloneable {
} catch (final Exception ex) {
System.out.println(ex);
ex.printStackTrace(System.out);
- throw new CloneNotSupportedException("Cannot clone a " + this._obj.getClass() + " object");
+ throw new CloneNotSupportedException("Cannot clone a " + obj.getClass() + " object");
}
return clonedBean;
}
diff --git a/src/main/java/com/sun/syndication/feed/impl/CopyFromHelper.java b/src/main/java/com/sun/syndication/feed/impl/CopyFromHelper.java
index 09cfd08..084fa6a 100644
--- a/src/main/java/com/sun/syndication/feed/impl/CopyFromHelper.java
+++ b/src/main/java/com/sun/syndication/feed/impl/CopyFromHelper.java
@@ -36,19 +36,19 @@ import com.sun.syndication.feed.CopyFrom;
public class CopyFromHelper {
private static final Object[] NO_PARAMS = new Object[0];
- private final Class _beanInterfaceClass;
- private final Map _baseInterfaceMap; // ENTRIES(propertyName,interface.class)
- private final Map _baseImplMap; // ENTRIES(interface.class,implementation.class)
+ private final Class beanInterfaceClass;
+ private final Map baseInterfaceMap; // ENTRIES(propertyName,interface.class)
+ private final Map baseImplMap; // ENTRIES(interface.class,implementation.class)
public CopyFromHelper(final Class beanInterfaceClass, final Map basePropInterfaceMap, final Map basePropClassImplMap) {
- this._beanInterfaceClass = beanInterfaceClass;
- this._baseInterfaceMap = basePropInterfaceMap;
- this._baseImplMap = basePropClassImplMap;
+ this.beanInterfaceClass = beanInterfaceClass;
+ baseInterfaceMap = basePropInterfaceMap;
+ baseImplMap = basePropClassImplMap;
}
public void copy(final Object target, final Object source) {
try {
- final PropertyDescriptor[] pds = BeanIntrospector.getPropertyDescriptors(this._beanInterfaceClass);
+ final PropertyDescriptor[] pds = BeanIntrospector.getPropertyDescriptors(beanInterfaceClass);
if (pds != null) {
for (final PropertyDescriptor pd : pds) {
final String propertyName = pd.getName();
@@ -70,7 +70,7 @@ public class CopyFromHelper {
// that
// take
// parameters
- this._baseInterfaceMap.containsKey(propertyName)) { // only
+ baseInterfaceMap.containsKey(propertyName)) { // only
// copies
// properties
// defined
@@ -78,7 +78,7 @@ public class CopyFromHelper {
// copyFrom-able
Object value = pReadMethod.invoke(source, NO_PARAMS);
if (value != null) {
- final Class baseInterface = (Class) this._baseInterfaceMap.get(propertyName);
+ final Class baseInterface = (Class) baseInterfaceMap.get(propertyName);
value = doCopy(value, baseInterface);
pWriteMethod.invoke(target, new Object[] { value });
}
@@ -91,10 +91,10 @@ public class CopyFromHelper {
}
private CopyFrom createInstance(final Class interfaceClass) throws Exception {
- if (this._baseImplMap.get(interfaceClass) == null) {
+ if (baseImplMap.get(interfaceClass) == null) {
return null;
} else {
- return (CopyFrom) ((Class) this._baseImplMap.get(interfaceClass)).newInstance();
+ return (CopyFrom) ((Class) baseImplMap.get(interfaceClass)).newInstance();
}
}
diff --git a/src/main/java/com/sun/syndication/feed/impl/EqualsBean.java b/src/main/java/com/sun/syndication/feed/impl/EqualsBean.java
index ea192a7..cea3f78 100644
--- a/src/main/java/com/sun/syndication/feed/impl/EqualsBean.java
+++ b/src/main/java/com/sun/syndication/feed/impl/EqualsBean.java
@@ -40,8 +40,8 @@ public class EqualsBean implements Serializable {
private static final Object[] NO_PARAMS = new Object[0];
- private final Class _beanClass;
- private final Object _obj;
+ private final Class beanClass;
+ private final Object obj;
/**
* Default constructor.
@@ -53,8 +53,8 @@ public class EqualsBean implements Serializable {
*
*/
protected EqualsBean(final Class beanClass) {
- this._beanClass = beanClass;
- this._obj = this;
+ this.beanClass = beanClass;
+ obj = this;
}
/**
@@ -64,18 +64,18 @@ public class EqualsBean implements Serializable {
*
*
* public class Foo implements FooI {
- * private EqualsBean _equalsBean;
+ * private EqualsBean equalsBean;
*
* public Foo() {
- * _equalsBean = new EqualsBean(FooI.class);
+ * equalsBean = new EqualsBean(FooI.class);
* }
*
* public boolean equals(Object obj) {
- * return _equalsBean.beanEquals(obj);
+ * return equalsBean.beanEquals(obj);
* }
*
* public int hashCode() {
- * return _equalsBean.beanHashCode();
+ * return equalsBean.beanHashCode();
* }
*
* }
@@ -90,8 +90,8 @@ public class EqualsBean implements Serializable {
if (!beanClass.isInstance(obj)) {
throw new IllegalArgumentException(obj.getClass() + " is not instance of " + beanClass);
}
- this._beanClass = beanClass;
- this._obj = obj;
+ this.beanClass = beanClass;
+ this.obj = obj;
}
/**
@@ -127,7 +127,7 @@ public class EqualsBean implements Serializable {
*
*/
public boolean beanEquals(final Object obj) {
- final Object bean1 = this._obj;
+ final Object bean1 = this.obj;
final Object bean2 = obj;
boolean eq;
if (bean1 == null && bean2 == null) {
@@ -135,12 +135,12 @@ public class EqualsBean implements Serializable {
} else if (bean1 == null || bean2 == null) {
eq = false;
} else {
- if (!this._beanClass.isInstance(bean2)) {
+ if (!beanClass.isInstance(bean2)) {
eq = false;
} else {
eq = true;
try {
- final PropertyDescriptor[] pds = BeanIntrospector.getPropertyDescriptors(this._beanClass);
+ final PropertyDescriptor[] pds = BeanIntrospector.getPropertyDescriptors(beanClass);
if (pds != null) {
for (int i = 0; eq && i < pds.length; i++) {
final Method pReadMethod = pds[i].getReadMethod();
@@ -208,7 +208,7 @@ public class EqualsBean implements Serializable {
*
*/
public int beanHashCode() {
- return this._obj.toString().hashCode();
+ return obj.toString().hashCode();
}
private boolean doEquals(final Object obj1, final Object obj2) {
diff --git a/src/main/java/com/sun/syndication/feed/impl/ObjectBean.java b/src/main/java/com/sun/syndication/feed/impl/ObjectBean.java
index dfb12e2..47266af 100644
--- a/src/main/java/com/sun/syndication/feed/impl/ObjectBean.java
+++ b/src/main/java/com/sun/syndication/feed/impl/ObjectBean.java
@@ -43,9 +43,9 @@ import java.util.Set;
*
*/
public class ObjectBean implements Serializable, Cloneable {
- private final EqualsBean _equalsBean;
- private final ToStringBean _toStringBean;
- private final CloneableBean _cloneableBean;
+ private final EqualsBean equalsBean;
+ private final ToStringBean toStringBean;
+ private final CloneableBean cloneableBean;
/**
* Constructor.
@@ -75,9 +75,9 @@ public class ObjectBean implements Serializable, Cloneable {
*
*/
public ObjectBean(final Class beanClass, final Object obj, final Set ignoreProperties) {
- this._equalsBean = new EqualsBean(beanClass, obj);
- this._toStringBean = new ToStringBean(beanClass, obj);
- this._cloneableBean = new CloneableBean(obj, ignoreProperties);
+ equalsBean = new EqualsBean(beanClass, obj);
+ toStringBean = new ToStringBean(beanClass, obj);
+ cloneableBean = new CloneableBean(obj, ignoreProperties);
}
/**
@@ -91,7 +91,7 @@ public class ObjectBean implements Serializable, Cloneable {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._cloneableBean.beanClone();
+ return cloneableBean.beanClone();
}
/**
@@ -105,7 +105,7 @@ public class ObjectBean implements Serializable, Cloneable {
*/
@Override
public boolean equals(final Object other) {
- return this._equalsBean.beanEquals(other);
+ return equalsBean.beanEquals(other);
}
/**
@@ -119,7 +119,7 @@ public class ObjectBean implements Serializable, Cloneable {
*/
@Override
public int hashCode() {
- return this._equalsBean.beanHashCode();
+ return equalsBean.beanHashCode();
}
/**
@@ -131,7 +131,7 @@ public class ObjectBean implements Serializable, Cloneable {
*/
@Override
public String toString() {
- return this._toStringBean.toString();
+ return toStringBean.toString();
}
}
diff --git a/src/main/java/com/sun/syndication/feed/impl/ToStringBean.java b/src/main/java/com/sun/syndication/feed/impl/ToStringBean.java
index 7fa45c3..33dd9f0 100644
--- a/src/main/java/com/sun/syndication/feed/impl/ToStringBean.java
+++ b/src/main/java/com/sun/syndication/feed/impl/ToStringBean.java
@@ -51,8 +51,8 @@ public class ToStringBean implements Serializable {
private static final Object[] NO_PARAMS = new Object[0];
- private final Class _beanClass;
- private final Object _obj;
+ private final Class beanClass;
+ private final Object obj;
/**
* Default constructor.
@@ -65,8 +65,8 @@ public class ToStringBean implements Serializable {
*
*/
protected ToStringBean(final Class beanClass) {
- this._beanClass = beanClass;
- this._obj = this;
+ this.beanClass = beanClass;
+ obj = this;
}
/**
@@ -96,8 +96,8 @@ public class ToStringBean implements Serializable {
*
*/
public ToStringBean(final Class beanClass, final Object obj) {
- this._beanClass = beanClass;
- this._obj = obj;
+ this.beanClass = beanClass;
+ this.obj = obj;
}
/**
@@ -115,7 +115,7 @@ public class ToStringBean implements Serializable {
final String[] tsInfo = (String[]) (stack.isEmpty() ? null : stack.peek());
String prefix;
if (tsInfo == null) {
- final String className = this._obj.getClass().getName();
+ final String className = obj.getClass().getName();
prefix = className.substring(className.lastIndexOf(".") + 1);
} else {
prefix = tsInfo[0];
@@ -135,7 +135,7 @@ public class ToStringBean implements Serializable {
private String toString(final String prefix) {
final StringBuffer sb = new StringBuffer(128);
try {
- final PropertyDescriptor[] pds = BeanIntrospector.getPropertyDescriptors(this._beanClass);
+ final PropertyDescriptor[] pds = BeanIntrospector.getPropertyDescriptors(beanClass);
if (pds != null) {
for (final PropertyDescriptor pd : pds) {
final String pName = pd.getName();
@@ -151,13 +151,13 @@ public class ToStringBean implements Serializable {
// that
// take
// parameters
- final Object value = pReadMethod.invoke(this._obj, NO_PARAMS);
+ final Object value = pReadMethod.invoke(obj, NO_PARAMS);
printProperty(sb, prefix + "." + pName, value);
}
}
}
} catch (final Exception ex) {
- sb.append("\n\nEXCEPTION: Could not complete " + this._obj.getClass() + ".toString(): " + ex.getMessage() + "\n");
+ sb.append("\n\nEXCEPTION: Could not complete " + obj.getClass() + ".toString(): " + ex.getMessage() + "\n");
}
return sb.toString();
}
diff --git a/src/main/java/com/sun/syndication/feed/module/DCModuleImpl.java b/src/main/java/com/sun/syndication/feed/module/DCModuleImpl.java
index fd07683..d659de9 100644
--- a/src/main/java/com/sun/syndication/feed/module/DCModuleImpl.java
+++ b/src/main/java/com/sun/syndication/feed/module/DCModuleImpl.java
@@ -39,22 +39,22 @@ import com.sun.syndication.feed.impl.ObjectBean;
*
*/
public class DCModuleImpl extends ModuleImpl implements DCModule {
- private final ObjectBean _objBean;
- private List _title;
- private List _creator;
- private List _subject;
- private List _description;
- private List _publisher;
- private List _contributors;
- private List _date;
- private List _type;
- private List _format;
- private List _identifier;
- private List _source;
- private List _language;
- private List _relation;
- private List _coverage;
- private List _rights;
+ private final ObjectBean objBean;
+ private List title;
+ private List creator;
+ private List subject;
+ private List description;
+ private List publisher;
+ private List contributors;
+ private List date;
+ private List type;
+ private List format;
+ private List identifier;
+ private List source;
+ private List language;
+ private List relation;
+ private List coverage;
+ private List rights;
/**
* Properties to be ignored when cloning.
@@ -95,7 +95,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
public DCModuleImpl() {
super(DCModule.class, URI);
- this._objBean = new ObjectBean(DCModule.class, this, CONVENIENCE_PROPERTIES);
+ objBean = new ObjectBean(DCModule.class, this, CONVENIENCE_PROPERTIES);
}
/**
@@ -108,7 +108,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getTitles() {
- return this._title == null ? (this._title = new ArrayList()) : this._title;
+ return title == null ? (title = new ArrayList()) : title;
}
/**
@@ -121,7 +121,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setTitles(final List titles) {
- this._title = titles;
+ title = titles;
}
/**
@@ -133,7 +133,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getTitle() {
- return this._title != null && this._title.size() > 0 ? (String) this._title.get(0) : null;
+ return title != null && title.size() > 0 ? (String) title.get(0) : null;
}
/**
@@ -146,8 +146,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setTitle(final String title) {
- this._title = new ArrayList();
- this._title.add(title);
+ this.title = new ArrayList();
+ this.title.add(title);
}
/**
@@ -160,7 +160,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getCreators() {
- return this._creator == null ? (this._creator = new ArrayList()) : this._creator;
+ return creator == null ? (creator = new ArrayList()) : creator;
}
/**
@@ -173,7 +173,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setCreators(final List creators) {
- this._creator = creators;
+ creator = creators;
}
/**
@@ -185,7 +185,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getCreator() {
- return this._creator != null && this._creator.size() > 0 ? (String) this._creator.get(0) : null;
+ return creator != null && creator.size() > 0 ? (String) creator.get(0) : null;
}
/**
@@ -198,8 +198,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setCreator(final String creator) {
- this._creator = new ArrayList();
- this._creator.add(creator);
+ this.creator = new ArrayList();
+ this.creator.add(creator);
}
/**
@@ -212,7 +212,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getSubjects() {
- return this._subject == null ? (this._subject = new ArrayList()) : this._subject;
+ return subject == null ? (subject = new ArrayList()) : subject;
}
/**
@@ -225,7 +225,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setSubjects(final List subjects) {
- this._subject = subjects;
+ subject = subjects;
}
/**
@@ -237,7 +237,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public DCSubject getSubject() {
- return this._subject != null && this._subject.size() > 0 ? (DCSubject) this._subject.get(0) : null;
+ return subject != null && subject.size() > 0 ? (DCSubject) subject.get(0) : null;
}
/**
@@ -250,8 +250,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setSubject(final DCSubject subject) {
- this._subject = new ArrayList();
- this._subject.add(subject);
+ this.subject = new ArrayList();
+ this.subject.add(subject);
}
/**
@@ -264,7 +264,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getDescriptions() {
- return this._description == null ? (this._description = new ArrayList()) : this._description;
+ return description == null ? (description = new ArrayList()) : description;
}
/**
@@ -277,7 +277,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setDescriptions(final List descriptions) {
- this._description = descriptions;
+ description = descriptions;
}
/**
@@ -289,7 +289,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getDescription() {
- return this._description != null && this._description.size() > 0 ? (String) this._description.get(0) : null;
+ return description != null && description.size() > 0 ? (String) description.get(0) : null;
}
/**
@@ -303,8 +303,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setDescription(final String description) {
- this._description = new ArrayList();
- this._description.add(description);
+ this.description = new ArrayList();
+ this.description.add(description);
}
/**
@@ -317,7 +317,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getPublishers() {
- return this._publisher == null ? (this._publisher = new ArrayList()) : this._publisher;
+ return publisher == null ? (publisher = new ArrayList()) : publisher;
}
/**
@@ -330,7 +330,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setPublishers(final List publishers) {
- this._publisher = publishers;
+ publisher = publishers;
}
/**
@@ -342,7 +342,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getPublisher() {
- return this._publisher != null && this._publisher.size() > 0 ? (String) this._publisher.get(0) : null;
+ return publisher != null && publisher.size() > 0 ? (String) publisher.get(0) : null;
}
/**
@@ -356,8 +356,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setPublisher(final String publisher) {
- this._publisher = new ArrayList();
- this._publisher.add(publisher);
+ this.publisher = new ArrayList();
+ this.publisher.add(publisher);
}
/**
@@ -370,7 +370,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getContributors() {
- return this._contributors == null ? (this._contributors = new ArrayList()) : this._contributors;
+ return contributors == null ? (contributors = new ArrayList()) : contributors;
}
/**
@@ -383,7 +383,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setContributors(final List contributors) {
- this._contributors = contributors;
+ this.contributors = contributors;
}
/**
@@ -395,7 +395,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getContributor() {
- return this._contributors != null && this._contributors.size() > 0 ? (String) this._contributors.get(0) : null;
+ return contributors != null && contributors.size() > 0 ? (String) contributors.get(0) : null;
}
/**
@@ -409,8 +409,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setContributor(final String contributor) {
- this._contributors = new ArrayList();
- this._contributors.add(contributor);
+ contributors = new ArrayList();
+ contributors.add(contributor);
}
/**
@@ -423,7 +423,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getDates() {
- return this._date == null ? (this._date = new ArrayList()) : this._date;
+ return date == null ? (date = new ArrayList()) : date;
}
/**
@@ -436,7 +436,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setDates(final List dates) {
- this._date = dates;
+ date = dates;
}
/**
@@ -448,7 +448,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public Date getDate() {
- return this._date != null && this._date.size() > 0 ? (Date) this._date.get(0) : null;
+ return date != null && date.size() > 0 ? (Date) date.get(0) : null;
}
/**
@@ -461,8 +461,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setDate(final Date date) {
- this._date = new ArrayList();
- this._date.add(date);
+ this.date = new ArrayList();
+ this.date.add(date);
}
/**
@@ -475,7 +475,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getTypes() {
- return this._type == null ? (this._type = new ArrayList()) : this._type;
+ return type == null ? (type = new ArrayList()) : type;
}
/**
@@ -488,7 +488,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setTypes(final List types) {
- this._type = types;
+ type = types;
}
/**
@@ -500,7 +500,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getType() {
- return this._type != null && this._type.size() > 0 ? (String) this._type.get(0) : null;
+ return type != null && type.size() > 0 ? (String) type.get(0) : null;
}
/**
@@ -513,8 +513,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setType(final String type) {
- this._type = new ArrayList();
- this._type.add(type);
+ this.type = new ArrayList();
+ this.type.add(type);
}
/**
@@ -527,7 +527,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getFormats() {
- return this._format == null ? (this._format = new ArrayList()) : this._format;
+ return format == null ? (format = new ArrayList()) : format;
}
/**
@@ -540,7 +540,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setFormats(final List formats) {
- this._format = formats;
+ format = formats;
}
/**
@@ -552,7 +552,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getFormat() {
- return this._format != null && this._format.size() > 0 ? (String) this._format.get(0) : null;
+ return format != null && format.size() > 0 ? (String) format.get(0) : null;
}
/**
@@ -565,8 +565,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setFormat(final String format) {
- this._format = new ArrayList();
- this._format.add(format);
+ this.format = new ArrayList();
+ this.format.add(format);
}
/**
@@ -579,7 +579,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getIdentifiers() {
- return this._identifier == null ? (this._identifier = new ArrayList()) : this._identifier;
+ return identifier == null ? (identifier = new ArrayList()) : identifier;
}
/**
@@ -592,7 +592,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setIdentifiers(final List identifiers) {
- this._identifier = identifiers;
+ identifier = identifiers;
}
/**
@@ -604,7 +604,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getIdentifier() {
- return this._identifier != null && this._identifier.size() > 0 ? (String) this._identifier.get(0) : null;
+ return identifier != null && identifier.size() > 0 ? (String) identifier.get(0) : null;
}
/**
@@ -618,8 +618,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setIdentifier(final String identifier) {
- this._identifier = new ArrayList();
- this._identifier.add(identifier);
+ this.identifier = new ArrayList();
+ this.identifier.add(identifier);
}
/**
@@ -632,7 +632,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getSources() {
- return this._source == null ? (this._source = new ArrayList()) : this._source;
+ return source == null ? (source = new ArrayList()) : source;
}
/**
@@ -645,7 +645,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setSources(final List sources) {
- this._source = sources;
+ source = sources;
}
/**
@@ -657,7 +657,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getSource() {
- return this._source != null && this._source.size() > 0 ? (String) this._source.get(0) : null;
+ return source != null && source.size() > 0 ? (String) source.get(0) : null;
}
/**
@@ -670,8 +670,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setSource(final String source) {
- this._source = new ArrayList();
- this._source.add(source);
+ this.source = new ArrayList();
+ this.source.add(source);
}
/**
@@ -684,7 +684,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getLanguages() {
- return this._language == null ? (this._language = new ArrayList()) : this._language;
+ return language == null ? (language = new ArrayList()) : language;
}
/**
@@ -697,7 +697,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setLanguages(final List languages) {
- this._language = languages;
+ language = languages;
}
/**
@@ -709,7 +709,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getLanguage() {
- return this._language != null && this._language.size() > 0 ? (String) this._language.get(0) : null;
+ return language != null && language.size() > 0 ? (String) language.get(0) : null;
}
/**
@@ -723,8 +723,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setLanguage(final String language) {
- this._language = new ArrayList();
- this._language.add(language);
+ this.language = new ArrayList();
+ this.language.add(language);
}
/**
@@ -737,7 +737,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getRelations() {
- return this._relation == null ? (this._relation = new ArrayList()) : this._relation;
+ return relation == null ? (relation = new ArrayList()) : relation;
}
/**
@@ -750,7 +750,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setRelations(final List relations) {
- this._relation = relations;
+ relation = relations;
}
/**
@@ -762,7 +762,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getRelation() {
- return this._relation != null && this._relation.size() > 0 ? (String) this._relation.get(0) : null;
+ return relation != null && relation.size() > 0 ? (String) relation.get(0) : null;
}
/**
@@ -776,8 +776,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setRelation(final String relation) {
- this._relation = new ArrayList();
- this._relation.add(relation);
+ this.relation = new ArrayList();
+ this.relation.add(relation);
}
/**
@@ -790,7 +790,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getCoverages() {
- return this._coverage == null ? (this._coverage = new ArrayList()) : this._coverage;
+ return coverage == null ? (coverage = new ArrayList()) : coverage;
}
/**
@@ -803,7 +803,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setCoverages(final List coverages) {
- this._coverage = coverages;
+ coverage = coverages;
}
/**
@@ -815,7 +815,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getCoverage() {
- return this._coverage != null && this._coverage.size() > 0 ? (String) this._coverage.get(0) : null;
+ return coverage != null && coverage.size() > 0 ? (String) coverage.get(0) : null;
}
/**
@@ -829,8 +829,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setCoverage(final String coverage) {
- this._coverage = new ArrayList();
- this._coverage.add(coverage);
+ this.coverage = new ArrayList();
+ this.coverage.add(coverage);
}
/**
@@ -843,7 +843,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public List getRightsList() {
- return this._rights == null ? (this._rights = new ArrayList()) : this._rights;
+ return rights == null ? (rights = new ArrayList()) : rights;
}
/**
@@ -856,7 +856,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setRightsList(final List rights) {
- this._rights = rights;
+ this.rights = rights;
}
/**
@@ -868,7 +868,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public String getRights() {
- return this._rights != null && this._rights.size() > 0 ? (String) this._rights.get(0) : null;
+ return rights != null && rights.size() > 0 ? (String) rights.get(0) : null;
}
/**
@@ -881,8 +881,8 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public void setRights(final String rights) {
- this._rights = new ArrayList();
- this._rights.add(rights);
+ this.rights = new ArrayList();
+ this.rights.add(rights);
}
/**
@@ -896,7 +896,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public final Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -910,7 +910,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public final boolean equals(final Object other) {
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -924,7 +924,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public final int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -936,7 +936,7 @@ public class DCModuleImpl extends ModuleImpl implements DCModule {
*/
@Override
public final String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
@Override
diff --git a/src/main/java/com/sun/syndication/feed/module/DCSubjectImpl.java b/src/main/java/com/sun/syndication/feed/module/DCSubjectImpl.java
index e9b89c2..fe909dc 100644
--- a/src/main/java/com/sun/syndication/feed/module/DCSubjectImpl.java
+++ b/src/main/java/com/sun/syndication/feed/module/DCSubjectImpl.java
@@ -35,9 +35,9 @@ import com.sun.syndication.feed.impl.ObjectBean;
*
*/
public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
- private final ObjectBean _objBean;
- private String _taxonomyUri;
- private String _value;
+ private final ObjectBean objBean;
+ private String taxonomyUri;
+ private String value;
/**
* Default constructor. All properties are set to null.
@@ -45,7 +45,7 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
*
*/
public DCSubjectImpl() {
- this._objBean = new ObjectBean(this.getClass(), this);
+ objBean = new ObjectBean(this.getClass(), this);
}
/**
@@ -59,7 +59,7 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -76,7 +76,7 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
if (!(other instanceof DCSubjectImpl)) {
return false;
}
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -90,7 +90,7 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -102,7 +102,7 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
/**
@@ -114,7 +114,7 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
*/
@Override
public String getTaxonomyUri() {
- return this._taxonomyUri;
+ return taxonomyUri;
}
/**
@@ -127,7 +127,7 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
*/
@Override
public void setTaxonomyUri(final String taxonomyUri) {
- this._taxonomyUri = taxonomyUri;
+ this.taxonomyUri = taxonomyUri;
}
/**
@@ -139,7 +139,7 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
*/
@Override
public String getValue() {
- return this._value;
+ return value;
}
/**
@@ -151,7 +151,7 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
*/
@Override
public void setValue(final String value) {
- this._value = value;
+ this.value = value;
}
@Override
diff --git a/src/main/java/com/sun/syndication/feed/module/ModuleImpl.java b/src/main/java/com/sun/syndication/feed/module/ModuleImpl.java
index 7f608d0..5e97b80 100644
--- a/src/main/java/com/sun/syndication/feed/module/ModuleImpl.java
+++ b/src/main/java/com/sun/syndication/feed/module/ModuleImpl.java
@@ -29,8 +29,8 @@ import com.sun.syndication.feed.impl.ObjectBean;
*
*/
public abstract class ModuleImpl implements Cloneable, Serializable, Module {
- private final ObjectBean _objBean;
- private final String _uri;
+ private final ObjectBean objBean;
+ private final String uri;
/**
* Constructor.
@@ -40,8 +40,8 @@ public abstract class ModuleImpl implements Cloneable, Serializable, Module {
*
*/
protected ModuleImpl(final Class beanClass, final String uri) {
- this._objBean = new ObjectBean(beanClass, this);
- this._uri = uri;
+ objBean = new ObjectBean(beanClass, this);
+ this.uri = uri;
}
/**
@@ -55,7 +55,7 @@ public abstract class ModuleImpl implements Cloneable, Serializable, Module {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -72,7 +72,7 @@ public abstract class ModuleImpl implements Cloneable, Serializable, Module {
if (!(other instanceof ModuleImpl)) {
return false;
}
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -86,7 +86,7 @@ public abstract class ModuleImpl implements Cloneable, Serializable, Module {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -98,7 +98,7 @@ public abstract class ModuleImpl implements Cloneable, Serializable, Module {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
/**
@@ -110,7 +110,7 @@ public abstract class ModuleImpl implements Cloneable, Serializable, Module {
*/
@Override
public String getUri() {
- return this._uri;
+ return uri;
}
}
diff --git a/src/main/java/com/sun/syndication/feed/module/SyModuleImpl.java b/src/main/java/com/sun/syndication/feed/module/SyModuleImpl.java
index 1c0c7d9..95910dc 100644
--- a/src/main/java/com/sun/syndication/feed/module/SyModuleImpl.java
+++ b/src/main/java/com/sun/syndication/feed/module/SyModuleImpl.java
@@ -47,9 +47,9 @@ public class SyModuleImpl extends ModuleImpl implements SyModule {
PERIODS.add(YEARLY);
}
- private String _updatePeriod;
- private int _updateFrequency;
- private Date _updateBase;
+ private String updatePeriod;
+ private int updateFrequency;
+ private Date updateBase;
/**
* Default constructor. All properties are set to null.
@@ -69,7 +69,7 @@ public class SyModuleImpl extends ModuleImpl implements SyModule {
*/
@Override
public String getUpdatePeriod() {
- return this._updatePeriod;
+ return updatePeriod;
}
/**
@@ -85,7 +85,7 @@ public class SyModuleImpl extends ModuleImpl implements SyModule {
if (!PERIODS.contains(updatePeriod)) {
throw new IllegalArgumentException("Invalid period [" + updatePeriod + "]");
}
- this._updatePeriod = updatePeriod;
+ this.updatePeriod = updatePeriod;
}
/**
@@ -97,7 +97,7 @@ public class SyModuleImpl extends ModuleImpl implements SyModule {
*/
@Override
public int getUpdateFrequency() {
- return this._updateFrequency;
+ return updateFrequency;
}
/**
@@ -110,7 +110,7 @@ public class SyModuleImpl extends ModuleImpl implements SyModule {
*/
@Override
public void setUpdateFrequency(final int updateFrequency) {
- this._updateFrequency = updateFrequency;
+ this.updateFrequency = updateFrequency;
}
/**
@@ -122,7 +122,7 @@ public class SyModuleImpl extends ModuleImpl implements SyModule {
*/
@Override
public Date getUpdateBase() {
- return new Date(this._updateBase.getTime());
+ return new Date(updateBase.getTime());
}
/**
@@ -135,7 +135,7 @@ public class SyModuleImpl extends ModuleImpl implements SyModule {
*/
@Override
public void setUpdateBase(final Date updateBase) {
- this._updateBase = new Date(updateBase.getTime());
+ this.updateBase = new Date(updateBase.getTime());
}
@Override
diff --git a/src/main/java/com/sun/syndication/feed/rss/Category.java b/src/main/java/com/sun/syndication/feed/rss/Category.java
index 1b30857..3234567 100644
--- a/src/main/java/com/sun/syndication/feed/rss/Category.java
+++ b/src/main/java/com/sun/syndication/feed/rss/Category.java
@@ -29,9 +29,9 @@ import com.sun.syndication.feed.impl.ObjectBean;
*
*/
public class Category implements Cloneable, Serializable {
- private final ObjectBean _objBean;
- private String _domain;
- private String _value;
+ private final ObjectBean objBean;
+ private String domain;
+ private String value;
/**
* Default constructor. All properties are set to null.
@@ -39,7 +39,7 @@ public class Category implements Cloneable, Serializable {
*
*/
public Category() {
- this._objBean = new ObjectBean(this.getClass(), this);
+ objBean = new ObjectBean(this.getClass(), this);
}
/**
@@ -53,7 +53,7 @@ public class Category implements Cloneable, Serializable {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -70,7 +70,7 @@ public class Category implements Cloneable, Serializable {
if (!(other instanceof Category)) {
return false;
}
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -84,7 +84,7 @@ public class Category implements Cloneable, Serializable {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -96,7 +96,7 @@ public class Category implements Cloneable, Serializable {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
/**
@@ -107,7 +107,7 @@ public class Category implements Cloneable, Serializable {
*
*/
public String getDomain() {
- return this._domain;
+ return domain;
}
/**
@@ -118,7 +118,7 @@ public class Category implements Cloneable, Serializable {
*
*/
public void setDomain(final String domain) {
- this._domain = domain;
+ this.domain = domain;
}
/**
@@ -129,7 +129,7 @@ public class Category implements Cloneable, Serializable {
*
*/
public String getValue() {
- return this._value;
+ return value;
}
/**
@@ -140,7 +140,7 @@ public class Category implements Cloneable, Serializable {
*
*/
public void setValue(final String value) {
- this._value = value;
+ this.value = value;
}
}
diff --git a/src/main/java/com/sun/syndication/feed/rss/Channel.java b/src/main/java/com/sun/syndication/feed/rss/Channel.java
index 3abb08a..08b96ac 100644
--- a/src/main/java/com/sun/syndication/feed/rss/Channel.java
+++ b/src/main/java/com/sun/syndication/feed/rss/Channel.java
@@ -61,28 +61,28 @@ public class Channel extends WireFeed {
DAYS = Collections.unmodifiableSet(days);
}
- private String _title;
- private String _description;
- private String _link;
- private String _uri;
- private Image _image;
- private List- _items;
- private TextInput _textInput;
- private String _language;
- private String _rating;
- private String _copyright;
- private Date _pubDate;
- private Date _lastBuildDate;
- private String _docs;
- private String _managingEditor;
- private String _webMaster;
- private List _skipHours;
- private List _skipDays;
- private Cloud _cloud;
- private List _categories;
- private String _generator;
- private int _ttl = -1;
- private List _modules;
+ private String title;
+ private String description;
+ private String link;
+ private String uri;
+ private Image image;
+ private List
- items;
+ private TextInput textInput;
+ private String language;
+ private String rating;
+ private String copyright;
+ private Date pubDate;
+ private Date lastBuildDate;
+ private String docs;
+ private String managingEditor;
+ private String webMaster;
+ private List skipHours;
+ private List skipDays;
+ private Cloud cloud;
+ private List categories;
+ private String generator;
+ private int ttl = -1;
+ private List modules;
/**
* Default constructor, for bean cloning purposes only.
@@ -111,7 +111,7 @@ public class Channel extends WireFeed {
*
*/
public String getTitle() {
- return this._title;
+ return title;
}
/**
@@ -122,7 +122,7 @@ public class Channel extends WireFeed {
*
*/
public void setTitle(final String title) {
- this._title = title;
+ this.title = title;
}
/**
@@ -133,7 +133,7 @@ public class Channel extends WireFeed {
*
*/
public String getDescription() {
- return this._description;
+ return description;
}
/**
@@ -144,7 +144,7 @@ public class Channel extends WireFeed {
*
*/
public void setDescription(final String description) {
- this._description = description;
+ this.description = description;
}
/**
@@ -155,7 +155,7 @@ public class Channel extends WireFeed {
*
*/
public String getLink() {
- return this._link;
+ return link;
}
/**
@@ -166,7 +166,7 @@ public class Channel extends WireFeed {
*
*/
public void setLink(final String link) {
- this._link = link;
+ this.link = link;
}
/**
@@ -176,7 +176,7 @@ public class Channel extends WireFeed {
* @return the channel uri, null if none.
*/
public String getUri() {
- return this._uri;
+ return uri;
}
/**
@@ -186,7 +186,7 @@ public class Channel extends WireFeed {
* @param uri the channel uri, null if none.
*/
public void setUri(final String uri) {
- this._uri = uri;
+ this.uri = uri;
}
/**
@@ -197,7 +197,7 @@ public class Channel extends WireFeed {
*
*/
public Image getImage() {
- return this._image;
+ return image;
}
/**
@@ -208,7 +208,7 @@ public class Channel extends WireFeed {
*
*/
public void setImage(final Image image) {
- this._image = image;
+ this.image = image;
}
/**
@@ -220,7 +220,7 @@ public class Channel extends WireFeed {
*
*/
public List
- getItems() {
- return this._items == null ? (this._items = new ArrayList
- ()) : this._items;
+ return items == null ? (items = new ArrayList
- ()) : items;
}
/**
@@ -232,7 +232,7 @@ public class Channel extends WireFeed {
*
*/
public void setItems(final List
- items) {
- this._items = items;
+ this.items = items;
}
/**
@@ -243,7 +243,7 @@ public class Channel extends WireFeed {
*
*/
public TextInput getTextInput() {
- return this._textInput;
+ return textInput;
}
/**
@@ -254,7 +254,7 @@ public class Channel extends WireFeed {
*
*/
public void setTextInput(final TextInput textInput) {
- this._textInput = textInput;
+ this.textInput = textInput;
}
/**
@@ -265,7 +265,7 @@ public class Channel extends WireFeed {
*
*/
public String getLanguage() {
- return this._language;
+ return language;
}
/**
@@ -276,7 +276,7 @@ public class Channel extends WireFeed {
*
*/
public void setLanguage(final String language) {
- this._language = language;
+ this.language = language;
}
/**
@@ -287,7 +287,7 @@ public class Channel extends WireFeed {
*
*/
public String getRating() {
- return this._rating;
+ return rating;
}
/**
@@ -298,7 +298,7 @@ public class Channel extends WireFeed {
*
*/
public void setRating(final String rating) {
- this._rating = rating;
+ this.rating = rating;
}
/**
@@ -309,7 +309,7 @@ public class Channel extends WireFeed {
*
*/
public String getCopyright() {
- return this._copyright;
+ return copyright;
}
/**
@@ -320,7 +320,7 @@ public class Channel extends WireFeed {
*
*/
public void setCopyright(final String copyright) {
- this._copyright = copyright;
+ this.copyright = copyright;
}
/**
@@ -331,7 +331,7 @@ public class Channel extends WireFeed {
*
*/
public Date getPubDate() {
- return this._pubDate == null ? null : new Date(this._pubDate.getTime());
+ return pubDate == null ? null : new Date(pubDate.getTime());
}
/**
@@ -342,7 +342,7 @@ public class Channel extends WireFeed {
*
*/
public void setPubDate(final Date pubDate) {
- this._pubDate = pubDate == null ? null : new Date(pubDate.getTime());
+ this.pubDate = pubDate == null ? null : new Date(pubDate.getTime());
}
/**
@@ -353,7 +353,7 @@ public class Channel extends WireFeed {
*
*/
public Date getLastBuildDate() {
- return this._lastBuildDate == null ? null : new Date(this._lastBuildDate.getTime());
+ return lastBuildDate == null ? null : new Date(lastBuildDate.getTime());
}
/**
@@ -365,7 +365,7 @@ public class Channel extends WireFeed {
*
*/
public void setLastBuildDate(final Date lastBuildDate) {
- this._lastBuildDate = lastBuildDate == null ? null : new Date(lastBuildDate.getTime());
+ this.lastBuildDate = lastBuildDate == null ? null : new Date(lastBuildDate.getTime());
}
/**
@@ -376,7 +376,7 @@ public class Channel extends WireFeed {
*
*/
public String getDocs() {
- return this._docs;
+ return docs;
}
/**
@@ -387,7 +387,7 @@ public class Channel extends WireFeed {
*
*/
public void setDocs(final String docs) {
- this._docs = docs;
+ this.docs = docs;
}
/**
@@ -398,7 +398,7 @@ public class Channel extends WireFeed {
*
*/
public String getManagingEditor() {
- return this._managingEditor;
+ return managingEditor;
}
/**
@@ -410,7 +410,7 @@ public class Channel extends WireFeed {
*
*/
public void setManagingEditor(final String managingEditor) {
- this._managingEditor = managingEditor;
+ this.managingEditor = managingEditor;
}
/**
@@ -421,7 +421,7 @@ public class Channel extends WireFeed {
*
*/
public String getWebMaster() {
- return this._webMaster;
+ return webMaster;
}
/**
@@ -432,7 +432,7 @@ public class Channel extends WireFeed {
*
*/
public void setWebMaster(final String webMaster) {
- this._webMaster = webMaster;
+ this.webMaster = webMaster;
}
/**
@@ -444,7 +444,7 @@ public class Channel extends WireFeed {
*
*/
public List getSkipHours() {
- return this._skipHours != null ? this._skipHours : new ArrayList();
+ return skipHours != null ? skipHours : new ArrayList();
}
/**
@@ -469,7 +469,7 @@ public class Channel extends WireFeed {
}
}
}
- this._skipHours = skipHours;
+ this.skipHours = skipHours;
}
/**
@@ -481,7 +481,7 @@ public class Channel extends WireFeed {
*
*/
public List getSkipDays() {
- return this._skipDays != null ? this._skipDays : new ArrayList();
+ return skipDays != null ? skipDays : new ArrayList();
}
/**
@@ -507,7 +507,7 @@ public class Channel extends WireFeed {
}
}
}
- this._skipDays = skipDays;
+ this.skipDays = skipDays;
}
/**
@@ -518,7 +518,7 @@ public class Channel extends WireFeed {
*
*/
public Cloud getCloud() {
- return this._cloud;
+ return cloud;
}
/**
@@ -529,7 +529,7 @@ public class Channel extends WireFeed {
*
*/
public void setCloud(final Cloud cloud) {
- this._cloud = cloud;
+ this.cloud = cloud;
}
/**
@@ -541,7 +541,7 @@ public class Channel extends WireFeed {
*
*/
public List getCategories() {
- return this._categories == null ? (this._categories = new ArrayList()) : this._categories;
+ return categories == null ? (categories = new ArrayList()) : categories;
}
/**
@@ -553,7 +553,7 @@ public class Channel extends WireFeed {
*
*/
public void setCategories(final List categories) {
- this._categories = categories;
+ this.categories = categories;
}
/**
@@ -564,7 +564,7 @@ public class Channel extends WireFeed {
*
*/
public String getGenerator() {
- return this._generator;
+ return generator;
}
/**
@@ -575,7 +575,7 @@ public class Channel extends WireFeed {
*
*/
public void setGenerator(final String generator) {
- this._generator = generator;
+ this.generator = generator;
}
/**
@@ -586,7 +586,7 @@ public class Channel extends WireFeed {
*
*/
public int getTtl() {
- return this._ttl;
+ return ttl;
}
/**
@@ -597,7 +597,7 @@ public class Channel extends WireFeed {
*
*/
public void setTtl(final int ttl) {
- this._ttl = ttl;
+ this.ttl = ttl;
}
/**
@@ -610,7 +610,7 @@ public class Channel extends WireFeed {
*/
@Override
public List getModules() {
- return this._modules == null ? (this._modules = new ArrayList()) : this._modules;
+ return modules == null ? (modules = new ArrayList()) : modules;
}
/**
@@ -623,7 +623,7 @@ public class Channel extends WireFeed {
*/
@Override
public void setModules(final List modules) {
- this._modules = modules;
+ this.modules = modules;
}
/**
@@ -635,7 +635,7 @@ public class Channel extends WireFeed {
*/
@Override
public Module getModule(final String uri) {
- return ModuleUtils.getModule(this._modules, uri);
+ return ModuleUtils.getModule(modules, uri);
}
}
diff --git a/src/main/java/com/sun/syndication/feed/rss/Cloud.java b/src/main/java/com/sun/syndication/feed/rss/Cloud.java
index d912bbd..7d68334 100644
--- a/src/main/java/com/sun/syndication/feed/rss/Cloud.java
+++ b/src/main/java/com/sun/syndication/feed/rss/Cloud.java
@@ -29,12 +29,12 @@ import com.sun.syndication.feed.impl.ObjectBean;
*
*/
public class Cloud implements Cloneable, Serializable {
- private final ObjectBean _objBean;
- private String _domain;
- private int _port;
- private String _path;
- private String _registerProcedure;
- private String _protocol;
+ private final ObjectBean objBean;
+ private String domain;
+ private int port;
+ private String path;
+ private String registerProcedure;
+ private String protocol;
/**
* Default constructor. All properties are set to null.
@@ -42,7 +42,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public Cloud() {
- this._objBean = new ObjectBean(this.getClass(), this);
+ objBean = new ObjectBean(this.getClass(), this);
}
/**
@@ -56,7 +56,7 @@ public class Cloud implements Cloneable, Serializable {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -70,7 +70,7 @@ public class Cloud implements Cloneable, Serializable {
*/
@Override
public boolean equals(final Object other) {
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -84,7 +84,7 @@ public class Cloud implements Cloneable, Serializable {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -96,7 +96,7 @@ public class Cloud implements Cloneable, Serializable {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
/**
@@ -107,7 +107,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public String getDomain() {
- return this._domain;
+ return domain;
}
/**
@@ -118,7 +118,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public void setDomain(final String domain) {
- this._domain = domain;
+ this.domain = domain;
}
/**
@@ -129,7 +129,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public int getPort() {
- return this._port;
+ return port;
}
/**
@@ -140,7 +140,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public void setPort(final int port) {
- this._port = port;
+ this.port = port;
}
/**
@@ -151,7 +151,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public String getPath() {
- return this._path;
+ return path;
}
/**
@@ -162,7 +162,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public void setPath(final String path) {
- this._path = path;
+ this.path = path;
}
/**
@@ -173,7 +173,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public String getRegisterProcedure() {
- return this._registerProcedure;
+ return registerProcedure;
}
/**
@@ -185,7 +185,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public void setRegisterProcedure(final String registerProcedure) {
- this._registerProcedure = registerProcedure;
+ this.registerProcedure = registerProcedure;
}
/**
@@ -196,7 +196,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public String getProtocol() {
- return this._protocol;
+ return protocol;
}
/**
@@ -207,7 +207,7 @@ public class Cloud implements Cloneable, Serializable {
*
*/
public void setProtocol(final String protocol) {
- this._protocol = protocol;
+ this.protocol = protocol;
}
}
diff --git a/src/main/java/com/sun/syndication/feed/rss/Content.java b/src/main/java/com/sun/syndication/feed/rss/Content.java
index 6e1ba6b..2b6e6cb 100644
--- a/src/main/java/com/sun/syndication/feed/rss/Content.java
+++ b/src/main/java/com/sun/syndication/feed/rss/Content.java
@@ -31,9 +31,9 @@ import com.sun.syndication.feed.impl.ObjectBean;
public class Content implements Cloneable, Serializable {
public static final String HTML = "html";
public static final String TEXT = "text";
- private final ObjectBean _objBean;
- private String _type;
- private String _value;
+ private final ObjectBean objBean;
+ private String type;
+ private String value;
/**
* Default constructor. All properties are set to null.
@@ -41,7 +41,7 @@ public class Content implements Cloneable, Serializable {
*
*/
public Content() {
- this._objBean = new ObjectBean(this.getClass(), this);
+ objBean = new ObjectBean(this.getClass(), this);
}
/**
@@ -52,7 +52,7 @@ public class Content implements Cloneable, Serializable {
*
*/
public void setType(final String type) {
- this._type = type;
+ this.type = type;
}
/**
@@ -63,7 +63,7 @@ public class Content implements Cloneable, Serializable {
*
*/
public String getType() {
- return this._type;
+ return type;
}
/**
@@ -74,7 +74,7 @@ public class Content implements Cloneable, Serializable {
*
*/
public void setValue(final String value) {
- this._value = value;
+ this.value = value;
}
/**
@@ -85,7 +85,7 @@ public class Content implements Cloneable, Serializable {
*
*/
public String getValue() {
- return this._value;
+ return value;
}
/**
@@ -99,7 +99,7 @@ public class Content implements Cloneable, Serializable {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -117,7 +117,7 @@ public class Content implements Cloneable, Serializable {
return false;
}
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -131,7 +131,7 @@ public class Content implements Cloneable, Serializable {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -143,6 +143,6 @@ public class Content implements Cloneable, Serializable {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
}
diff --git a/src/main/java/com/sun/syndication/feed/rss/Description.java b/src/main/java/com/sun/syndication/feed/rss/Description.java
index 07679b9..53faec3 100644
--- a/src/main/java/com/sun/syndication/feed/rss/Description.java
+++ b/src/main/java/com/sun/syndication/feed/rss/Description.java
@@ -29,9 +29,9 @@ import com.sun.syndication.feed.impl.ObjectBean;
*
*/
public class Description implements Cloneable, Serializable {
- private final ObjectBean _objBean;
- private String _type;
- private String _value;
+ private final ObjectBean objBean;
+ private String type;
+ private String value;
/**
* Default constructor. All properties are set to null.
@@ -39,7 +39,7 @@ public class Description implements Cloneable, Serializable {
*
*/
public Description() {
- this._objBean = new ObjectBean(this.getClass(), this);
+ objBean = new ObjectBean(this.getClass(), this);
}
/**
@@ -53,7 +53,7 @@ public class Description implements Cloneable, Serializable {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -70,7 +70,7 @@ public class Description implements Cloneable, Serializable {
if (!(other instanceof Description)) {
return false;
}
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -84,7 +84,7 @@ public class Description implements Cloneable, Serializable {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -96,7 +96,7 @@ public class Description implements Cloneable, Serializable {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
/**
@@ -107,7 +107,7 @@ public class Description implements Cloneable, Serializable {
*
*/
public String getType() {
- return this._type;
+ return type;
}
/**
@@ -118,7 +118,7 @@ public class Description implements Cloneable, Serializable {
*
*/
public void setType(final String type) {
- this._type = type;
+ this.type = type;
}
/**
@@ -129,7 +129,7 @@ public class Description implements Cloneable, Serializable {
*
*/
public String getValue() {
- return this._value;
+ return value;
}
/**
@@ -140,7 +140,7 @@ public class Description implements Cloneable, Serializable {
*
*/
public void setValue(final String value) {
- this._value = value;
+ this.value = value;
}
}
diff --git a/src/main/java/com/sun/syndication/feed/rss/Enclosure.java b/src/main/java/com/sun/syndication/feed/rss/Enclosure.java
index 3bfe746..e4a5442 100644
--- a/src/main/java/com/sun/syndication/feed/rss/Enclosure.java
+++ b/src/main/java/com/sun/syndication/feed/rss/Enclosure.java
@@ -29,10 +29,10 @@ import com.sun.syndication.feed.impl.ObjectBean;
*
*/
public class Enclosure implements Cloneable, Serializable {
- private final ObjectBean _objBean;
- private String _url;
- private long _length;
- private String _type;
+ private final ObjectBean objBean;
+ private String url;
+ private long length;
+ private String type;
/**
* Default constructor. All properties are set to null.
@@ -40,7 +40,7 @@ public class Enclosure implements Cloneable, Serializable {
*
*/
public Enclosure() {
- this._objBean = new ObjectBean(this.getClass(), this);
+ objBean = new ObjectBean(this.getClass(), this);
}
/**
@@ -54,7 +54,7 @@ public class Enclosure implements Cloneable, Serializable {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -71,7 +71,7 @@ public class Enclosure implements Cloneable, Serializable {
if (!(other instanceof Enclosure)) {
return false;
}
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -85,7 +85,7 @@ public class Enclosure implements Cloneable, Serializable {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -97,7 +97,7 @@ public class Enclosure implements Cloneable, Serializable {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
/**
@@ -108,7 +108,7 @@ public class Enclosure implements Cloneable, Serializable {
*
*/
public String getUrl() {
- return this._url;
+ return url;
}
/**
@@ -119,7 +119,7 @@ public class Enclosure implements Cloneable, Serializable {
*
*/
public void setUrl(final String url) {
- this._url = url;
+ this.url = url;
}
/**
@@ -130,7 +130,7 @@ public class Enclosure implements Cloneable, Serializable {
*
*/
public long getLength() {
- return this._length;
+ return length;
}
/**
@@ -141,7 +141,7 @@ public class Enclosure implements Cloneable, Serializable {
*
*/
public void setLength(final long length) {
- this._length = length;
+ this.length = length;
}
/**
@@ -152,7 +152,7 @@ public class Enclosure implements Cloneable, Serializable {
*
*/
public String getType() {
- return this._type;
+ return type;
}
/**
@@ -163,7 +163,7 @@ public class Enclosure implements Cloneable, Serializable {
*
*/
public void setType(final String type) {
- this._type = type;
+ this.type = type;
}
}
diff --git a/src/main/java/com/sun/syndication/feed/rss/Guid.java b/src/main/java/com/sun/syndication/feed/rss/Guid.java
index 1a081c8..1eb2c35 100644
--- a/src/main/java/com/sun/syndication/feed/rss/Guid.java
+++ b/src/main/java/com/sun/syndication/feed/rss/Guid.java
@@ -29,9 +29,9 @@ import com.sun.syndication.feed.impl.ObjectBean;
*
*/
public class Guid implements Cloneable, Serializable {
- private final ObjectBean _objBean;
- private boolean _permaLink;
- private String _value;
+ private final ObjectBean objBean;
+ private boolean permaLink;
+ private String value;
/**
* Default constructor. All properties are set to null.
@@ -39,7 +39,7 @@ public class Guid implements Cloneable, Serializable {
*
*/
public Guid() {
- this._objBean = new ObjectBean(this.getClass(), this);
+ objBean = new ObjectBean(this.getClass(), this);
}
/**
@@ -53,7 +53,7 @@ public class Guid implements Cloneable, Serializable {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -70,7 +70,7 @@ public class Guid implements Cloneable, Serializable {
if (!(other instanceof Guid)) {
return false;
}
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -84,7 +84,7 @@ public class Guid implements Cloneable, Serializable {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -96,7 +96,7 @@ public class Guid implements Cloneable, Serializable {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
/**
@@ -107,7 +107,7 @@ public class Guid implements Cloneable, Serializable {
*
*/
public boolean isPermaLink() {
- return this._permaLink;
+ return permaLink;
}
/**
@@ -118,7 +118,7 @@ public class Guid implements Cloneable, Serializable {
*
*/
public void setPermaLink(final boolean permaLink) {
- this._permaLink = permaLink;
+ this.permaLink = permaLink;
}
/**
@@ -129,7 +129,7 @@ public class Guid implements Cloneable, Serializable {
*
*/
public String getValue() {
- return this._value;
+ return value;
}
/**
@@ -140,7 +140,7 @@ public class Guid implements Cloneable, Serializable {
*
*/
public void setValue(final String value) {
- this._value = value;
+ this.value = value;
}
}
diff --git a/src/main/java/com/sun/syndication/feed/rss/Image.java b/src/main/java/com/sun/syndication/feed/rss/Image.java
index e990cfd..78830fc 100644
--- a/src/main/java/com/sun/syndication/feed/rss/Image.java
+++ b/src/main/java/com/sun/syndication/feed/rss/Image.java
@@ -28,13 +28,13 @@ import com.sun.syndication.feed.impl.ObjectBean;
*
*/
public class Image implements Cloneable, Serializable {
- private final ObjectBean _objBean;
- private String _title;
- private String _url;
- private String _link;
- private Integer _width = -1;
- private Integer _height = -1;
- private String _description;
+ private final ObjectBean objBean;
+ private String title;
+ private String url;
+ private String link;
+ private Integer width = -1;
+ private Integer height = -1;
+ private String description;
/**
* Default constructor. All properties are set to null.
@@ -42,7 +42,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public Image() {
- this._objBean = new ObjectBean(this.getClass(), this);
+ objBean = new ObjectBean(this.getClass(), this);
}
/**
@@ -56,7 +56,7 @@ public class Image implements Cloneable, Serializable {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -73,7 +73,7 @@ public class Image implements Cloneable, Serializable {
if (!(other instanceof Image)) {
return false;
}
- return this._objBean.equals(other);
+ return objBean.equals(other);
}
/**
@@ -87,7 +87,7 @@ public class Image implements Cloneable, Serializable {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -99,7 +99,7 @@ public class Image implements Cloneable, Serializable {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
/**
@@ -110,7 +110,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public String getTitle() {
- return this._title;
+ return title;
}
/**
@@ -121,7 +121,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public void setTitle(final String title) {
- this._title = title;
+ this.title = title;
}
/**
@@ -132,7 +132,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public String getUrl() {
- return this._url;
+ return url;
}
/**
@@ -143,7 +143,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public void setUrl(final String url) {
- this._url = url;
+ this.url = url;
}
/**
@@ -154,7 +154,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public String getLink() {
- return this._link;
+ return link;
}
/**
@@ -165,7 +165,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public void setLink(final String link) {
- this._link = link;
+ this.link = link;
}
/**
@@ -176,7 +176,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public Integer getWidth() {
- return this._width;
+ return width;
}
/**
@@ -187,7 +187,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public void setWidth(final Integer width) {
- this._width = width;
+ this.width = width;
}
/**
@@ -198,7 +198,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public Integer getHeight() {
- return this._height;
+ return height;
}
/**
@@ -209,7 +209,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public void setHeight(final Integer height) {
- this._height = height;
+ this.height = height;
}
/**
@@ -220,7 +220,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public String getDescription() {
- return this._description;
+ return description;
}
/**
@@ -231,7 +231,7 @@ public class Image implements Cloneable, Serializable {
*
*/
public void setDescription(final String description) {
- this._description = description;
+ this.description = description;
}
}
diff --git a/src/main/java/com/sun/syndication/feed/rss/Item.java b/src/main/java/com/sun/syndication/feed/rss/Item.java
index 2f95166..c878441 100644
--- a/src/main/java/com/sun/syndication/feed/rss/Item.java
+++ b/src/main/java/com/sun/syndication/feed/rss/Item.java
@@ -42,22 +42,22 @@ import com.sun.syndication.feed.module.impl.ModuleUtils;
*
*/
public class Item implements Cloneable, Serializable, Extendable {
- private final ObjectBean _objBean;
- private String _title;
- private String _link;
- private String _uri;
- private Description _description;
- private Content _content;
- private Source _source;
- private List _enclosures;
- private List _categories;
- private Guid _guid;
- private String _comments;
- private String _author;
- private Date _pubDate;
- private Date _expirationDate;
- private List _modules;
- private List _foreignMarkup;
+ private final ObjectBean objBean;
+ private String title;
+ private String link;
+ private String uri;
+ private Description description;
+ private Content content;
+ private Source source;
+ private List enclosures;
+ private List categories;
+ private Guid guid;
+ private String comments;
+ private String author;
+ private Date pubDate;
+ private Date expirationDate;
+ private List modules;
+ private List foreignMarkup;
/**
* Default constructor. All properties are set to null.
@@ -65,7 +65,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public Item() {
- this._objBean = new ObjectBean(this.getClass(), this);
+ objBean = new ObjectBean(this.getClass(), this);
}
/**
@@ -79,7 +79,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*/
@Override
public Object clone() throws CloneNotSupportedException {
- return this._objBean.clone();
+ return objBean.clone();
}
/**
@@ -99,7 +99,7 @@ public class Item implements Cloneable, Serializable, Extendable {
// can't use foreign markup in equals, due to JDOM equals impl
final List fm = getForeignMarkup();
setForeignMarkup(((Item) other).getForeignMarkup());
- final boolean ret = this._objBean.equals(other);
+ final boolean ret = objBean.equals(other);
// restore foreign markup
setForeignMarkup(fm);
return ret;
@@ -116,7 +116,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*/
@Override
public int hashCode() {
- return this._objBean.hashCode();
+ return objBean.hashCode();
}
/**
@@ -128,7 +128,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*/
@Override
public String toString() {
- return this._objBean.toString();
+ return objBean.toString();
}
/**
@@ -139,7 +139,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public String getTitle() {
- return this._title;
+ return title;
}
/**
@@ -150,7 +150,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public void setTitle(final String title) {
- this._title = title;
+ this.title = title;
}
/**
@@ -161,7 +161,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public String getLink() {
- return this._link;
+ return link;
}
/**
@@ -172,7 +172,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public void setLink(final String link) {
- this._link = link;
+ this.link = link;
}
/**
@@ -182,7 +182,7 @@ public class Item implements Cloneable, Serializable, Extendable {
* @return the item uri, null if none.
*/
public String getUri() {
- return this._uri;
+ return uri;
}
/**
@@ -192,7 +192,7 @@ public class Item implements Cloneable, Serializable, Extendable {
* @param uri the item uri to set, null if none.
*/
public void setUri(final String uri) {
- this._uri = uri;
+ this.uri = uri;
}
/**
@@ -203,7 +203,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public Description getDescription() {
- return this._description;
+ return description;
}
/**
@@ -214,7 +214,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public void setDescription(final Description description) {
- this._description = description;
+ this.description = description;
}
/**
@@ -225,7 +225,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public Content getContent() {
- return this._content;
+ return content;
}
/**
@@ -236,7 +236,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public void setContent(final Content content) {
- this._content = content;
+ this.content = content;
}
/**
@@ -247,7 +247,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public Source getSource() {
- return this._source;
+ return source;
}
/**
@@ -258,7 +258,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public void setSource(final Source source) {
- this._source = source;
+ this.source = source;
}
/**
@@ -270,7 +270,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public List getEnclosures() {
- return this._enclosures == null ? (this._enclosures = new ArrayList()) : this._enclosures;
+ return enclosures == null ? (enclosures = new ArrayList()) : enclosures;
}
/**
@@ -282,7 +282,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public void setEnclosures(final List enclosures) {
- this._enclosures = enclosures;
+ this.enclosures = enclosures;
}
/**
@@ -294,7 +294,7 @@ public class Item implements Cloneable, Serializable, Extendable {
*
*/
public List getCategories() {
- return this._categories == null ? (this._categories = new ArrayList