mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Reduce to package visibility for internals BatchDepthComparator, BatchedBeanHolder, BatchedPstmtHolder
This commit is contained in:
@@ -12,7 +12,7 @@ import java.util.Comparator;
|
||||
* keys from inserts. These values are required to persist the 'detail' beans.
|
||||
* </p>
|
||||
*/
|
||||
public class BatchDepthComparator implements Comparator<BatchedBeanHolder>, Serializable {
|
||||
class BatchDepthComparator implements Comparator<BatchedBeanHolder>, Serializable {
|
||||
|
||||
private static final long serialVersionUID = 264611821665757991L;
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ class BatchedBeanHolder {
|
||||
/**
|
||||
* Create a new entry with a given type and depth.
|
||||
*/
|
||||
public BatchedBeanHolder(BatchControl control, BeanDescriptor<?> beanDescriptor, int order) {
|
||||
BatchedBeanHolder(BatchControl control, BeanDescriptor<?> beanDescriptor, int order) {
|
||||
this.control = control;
|
||||
this.shortDesc = beanDescriptor.getName() + ":" + order;
|
||||
this.order = order;
|
||||
|
||||
@@ -157,7 +157,7 @@ public class BatchedPstmtHolder {
|
||||
* Used to determine when to flush the batch.
|
||||
* </p>
|
||||
*/
|
||||
public int getMaxSize() {
|
||||
int getMaxSize() {
|
||||
return maxSize;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user