Reduce to package visibility for internals BatchDepthComparator, BatchedBeanHolder, BatchedPstmtHolder

This commit is contained in:
rob bygrave
2019-11-18 23:14:25 +13:00
parent c2a30f786f
commit aa11095d17
3 changed files with 3 additions and 3 deletions
@@ -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;
}