No effective change - code cleanup - remove unused

This commit is contained in:
Robin Bygrave
2015-07-31 22:26:44 +12:00
parent e30e35bf4f
commit bef4e476d7
3 changed files with 2 additions and 28 deletions
@@ -14,9 +14,7 @@ public abstract class DLoadBaseContext {
protected final DLoadContext parent;
protected final BeanDescriptor<?> desc;
protected final String path;
protected final String fullPath;
protected final OrmQueryProperties queryProps;
@@ -40,7 +38,6 @@ public abstract class DLoadBaseContext {
this.serverName = parent.getEbeanServer().getName();
this.desc = desc;
this.queryProps = queryProps;
this.path = path;
this.fullPath = parent.getFullPath(path);
this.hitCache = !parent.isExcludeBeanCache() && desc.isBeanCaching();
@@ -91,9 +91,7 @@ public class DLoadBeanContext extends DLoadBaseContext implements LoadBeanContex
if (bufferList != null) {
for (LoadBuffer loadBuffer : bufferList) {
if (!loadBuffer.list.isEmpty()) {
boolean loadCache = false;
LoadBeanRequest req = new LoadBeanRequest(loadBuffer, parentRequest, false, null, loadCache);
LoadBeanRequest req = new LoadBeanRequest(loadBuffer, parentRequest, false, null, false);
parent.getEbeanServer().loadBean(req);
if (!queryProps.isQueryFetchAll()) {
// Stop - only fetch the first batch ... the rest will be lazy loaded
@@ -1,21 +0,0 @@
package com.avaje.ebeaninternal.server.loadcontext;
import java.util.List;
public interface DLoadList<T> {
int add(T e);
/**
* Return the next batch of entries from the top.
*/
List<T> getNextBatch(int batchSize);
void removeEntry(int position);
/**
* Return the batch of entries based on the position and batch size.
*/
List<T> getLoadBatch(int position, int batchSize);
}