mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - add final modifier
This commit is contained in:
1 parent
deed0bb01d
commit
90886193c0
42 files changed
+75
-81
No files matched your search
@@ -99,13 +99,13 @@ public class DeployBeanDescriptor<T> {
|
||||
/**
|
||||
* The EntityBean type used to create new EntityBeans.
|
||||
*/
|
||||
private Class<T> beanType;
|
||||
private final Class<T> beanType;
|
||||
|
||||
private List<BeanPersistController> persistControllers = new ArrayList<BeanPersistController>(2);
|
||||
private List<BeanPersistListener> persistListeners = new ArrayList<BeanPersistListener>(2);
|
||||
private List<BeanQueryAdapter> queryAdapters = new ArrayList<BeanQueryAdapter>(2);
|
||||
private final List<BeanPersistController> persistControllers = new ArrayList<BeanPersistController>(2);
|
||||
private final List<BeanPersistListener> persistListeners = new ArrayList<BeanPersistListener>(2);
|
||||
private final List<BeanQueryAdapter> queryAdapters = new ArrayList<BeanQueryAdapter>(2);
|
||||
|
||||
private CacheOptions cacheOptions = new CacheOptions();
|
||||
private final CacheOptions cacheOptions = new CacheOptions();
|
||||
|
||||
/**
|
||||
* If set overrides the find implementation. Server side only.
|
||||
@@ -115,7 +115,7 @@ public class DeployBeanDescriptor<T> {
|
||||
/**
|
||||
* The table joins for this bean. Server side only.
|
||||
*/
|
||||
private ArrayList<DeployTableJoin> tableJoinList = new ArrayList<DeployTableJoin>(2);
|
||||
private final ArrayList<DeployTableJoin> tableJoinList = new ArrayList<DeployTableJoin>(2);
|
||||
|
||||
/**
|
||||
* Inheritance information. Server side only.
|
||||
|
||||
@@ -15,7 +15,7 @@ public class DeployBeanEmbedded {
|
||||
/**
|
||||
* A map of property names to dbColumns.
|
||||
*/
|
||||
Map<String,String> propMap = new HashMap<String, String>();
|
||||
final Map<String,String> propMap = new HashMap<String, String>();
|
||||
|
||||
/**
|
||||
* Set a property name to use a specific dbColumn.
|
||||
|
||||
@@ -162,7 +162,7 @@ public class DeployBeanProperty {
|
||||
/**
|
||||
* The bean type.
|
||||
*/
|
||||
private Class<?> propertyType;
|
||||
private final Class<?> propertyType;
|
||||
|
||||
/**
|
||||
* Set for Non-JDBC types to provide logical to db type conversion.
|
||||
@@ -190,7 +190,7 @@ public class DeployBeanProperty {
|
||||
/**
|
||||
* Extra deployment parameters.
|
||||
*/
|
||||
private HashMap<String, String> extraAttributeMap = new HashMap<String, String>();
|
||||
private final HashMap<String, String> extraAttributeMap = new HashMap<String, String>();
|
||||
|
||||
/**
|
||||
* The method used to read the property.
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@ public abstract class DeployBeanPropertyAssoc<T> extends DeployBeanProperty {
|
||||
/**
|
||||
* Persist settings.
|
||||
*/
|
||||
BeanCascadeInfo cascadeInfo = new BeanCascadeInfo();
|
||||
final BeanCascadeInfo cascadeInfo = new BeanCascadeInfo();
|
||||
|
||||
/**
|
||||
* The join table information.
|
||||
@@ -26,7 +26,7 @@ public abstract class DeployBeanPropertyAssoc<T> extends DeployBeanProperty {
|
||||
/**
|
||||
* Join between the beans.
|
||||
*/
|
||||
DeployTableJoin tableJoin = new DeployTableJoin();
|
||||
final DeployTableJoin tableJoin = new DeployTableJoin();
|
||||
|
||||
/**
|
||||
* Whether the associated join type should be an outer join.
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ public class DeployBeanPropertyAssocMany<T> extends DeployBeanPropertyAssoc<T> {
|
||||
/**
|
||||
* The type of the many, set, list or map.
|
||||
*/
|
||||
ManyType manyType;
|
||||
final ManyType manyType;
|
||||
|
||||
/**
|
||||
* Create this property.
|
||||
|
||||
@@ -36,7 +36,7 @@ public class DeployTableJoin {
|
||||
/**
|
||||
* The list of properties mapped to this joined table.
|
||||
*/
|
||||
private ArrayList<DeployBeanProperty> properties = new ArrayList<DeployBeanProperty>();
|
||||
private final ArrayList<DeployBeanProperty> properties = new ArrayList<DeployBeanProperty>();
|
||||
|
||||
/**
|
||||
* The list of join column pairs. Used to generate the on clause.
|
||||
@@ -46,7 +46,7 @@ public class DeployTableJoin {
|
||||
/**
|
||||
* The persist cascade info.
|
||||
*/
|
||||
private BeanCascadeInfo cascadeInfo = new BeanCascadeInfo();
|
||||
private final BeanCascadeInfo cascadeInfo = new BeanCascadeInfo();
|
||||
|
||||
private InheritInfo inheritInfo;
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@ public class DeployTableJoinColumn {
|
||||
*/
|
||||
String foreignDbColumn;
|
||||
|
||||
boolean insertable;
|
||||
|
||||
boolean updateable;
|
||||
final boolean insertable;
|
||||
|
||||
final boolean updateable;
|
||||
|
||||
/**
|
||||
* Construct when automatically determining the join.
|
||||
|
||||
Reference in new issue
Block a user