No effective change - Code cleanup,remove unnecessary public modifier on interfaces

This commit is contained in:
Robin Bygrave
2015-07-31 13:08:07 +12:00
parent efe4e69ed1
commit ede91ecf78
13 changed files with 35 additions and 35 deletions
@@ -80,7 +80,7 @@ public interface CallableSql {
/**
* Return the label that is put into the transaction log.
*/
public String getLabel();
String getLabel();
/**
* Set the label that is put in the transaction log.
@@ -12,17 +12,17 @@ public interface ClusterBroadcast {
* Inform the other cluster members that this instance has come online and
* start any listeners etc.
*/
public void startup(ClusterManager clusterManager);
void startup(ClusterManager clusterManager);
/**
* Inform the other cluster members that this instance is leaving and
* shutdown any listeners.
*/
public void shutdown();
void shutdown();
/**
* Send a transaction event to all the members of the cluster.
*/
public void broadcast(RemoteTransactionEvent remoteTransEvent);
void broadcast(RemoteTransactionEvent remoteTransEvent);
}
@@ -12,13 +12,13 @@ public interface BeanVisitor {
/**
* Starting.
*/
public void visitBegin();
void visitBegin();
/**
* Visit a BeanDescriptor and return true to continue visiting the bean
* (return false to skip visiting this bean).
*/
public boolean visitBean(BeanDescriptor<?> descriptor);
boolean visitBean(BeanDescriptor<?> descriptor);
/**
* Visit a property potentially return a specific PropertyVisitor.
@@ -27,16 +27,16 @@ public interface BeanVisitor {
* by their specific type.
* </p>
*/
public PropertyVisitor visitProperty(BeanProperty p);
PropertyVisitor visitProperty(BeanProperty p);
/**
* Finished visiting the BeanDescriptor.
*/
public void visitBeanEnd(BeanDescriptor<?> descriptor);
void visitBeanEnd(BeanDescriptor<?> descriptor);
/**
* Finished all visiting.
*/
public void visitEnd();
void visitEnd();
}
@@ -26,17 +26,17 @@ public interface Bindable {
* For Updates including only changed properties add the Bindable to the
* list if it should be included in the 'update set'.
*/
public void addToUpdate(PersistRequestBean<?> request, List<Bindable> list);
void addToUpdate(PersistRequestBean<?> request, List<Bindable> list);
/**
* append sql to the buffer with prefix and suffix options.
*/
public void dmlAppend(GenerateDmlRequest request);
void dmlAppend(GenerateDmlRequest request);
/**
* Bind given the request and bean. The bean could be the oldValues bean
* when binding a update or delete where clause with ALL concurrency mode.
*/
public void dmlBind(BindableRequest request, EntityBean bean) throws SQLException;
void dmlBind(BindableRequest request, EntityBean bean) throws SQLException;
}
@@ -18,17 +18,17 @@ public interface BindableId extends Bindable {
/**
* Return true if there is no Id properties at all.
*/
public boolean isEmpty();
boolean isEmpty();
/**
* Return true if this is a concatenated key.
*/
public boolean isConcatenated();
boolean isConcatenated();
/**
* Return the DB Column to use with genGeneratedKeys.
*/
public String getIdentityColumn();
String getIdentityColumn();
/**
* Create the concatenated id for inserts with PFK relationships.
@@ -37,6 +37,6 @@ public interface BindableId extends Bindable {
* primary key and the values can be got from those.
* </p>
*/
public boolean deriveConcatenatedId(PersistRequestBean<?> persist);
boolean deriveConcatenatedId(PersistRequestBean<?> persist);
}
@@ -15,7 +15,7 @@ public interface BindableRequest {
/**
* Set the id for use with summary level logging.
*/
public void setIdValue(Object idValue);
void setIdValue(Object idValue);
/**
* Bind the value to a PreparedStatement.
@@ -27,34 +27,34 @@ public interface BindableRequest {
* logicalType to dbType.
* </p>
*/
public Object bind(Object value, BeanProperty prop) throws SQLException;
Object bind(Object value, BeanProperty prop) throws SQLException;
/**
* Bind a raw value. Used to bind the discriminator column.
*/
public Object bind(String propName, Object value, int sqlType) throws SQLException;
Object bind(String propName, Object value, int sqlType) throws SQLException;
/**
* Bind a raw value with a placeHolder to put into the transaction log.
*/
public Object bindNoLog(Object value, int sqlType, String logPlaceHolder) throws SQLException;
Object bindNoLog(Object value, int sqlType, String logPlaceHolder) throws SQLException;
/**
* Bind the value to the preparedStatement without logging.
*/
public Object bindNoLog(Object value, BeanProperty prop) throws SQLException;
Object bindNoLog(Object value, BeanProperty prop) throws SQLException;
/**
* Register the value from a update GeneratedValue. This can only be set to
* the bean property after the where clause has bean built.
*/
public void registerUpdateGenValue(BeanProperty prop, EntityBean bean, Object value);
void registerUpdateGenValue(BeanProperty prop, EntityBean bean, Object value);
/**
* Return the original PersistRequest.
*/
public PersistRequestBean<?> getPersistRequest();
PersistRequestBean<?> getPersistRequest();
public void registerDerivedRelationship(DerivedRelationshipData assocBean);
void registerDerivedRelationship(DerivedRelationshipData assocBean);
}
@@ -10,8 +10,8 @@ public interface BeanPropertyGetter {
/**
* Return the value of a given bean property.
*/
public Object get(EntityBean bean);
Object get(EntityBean bean);
public Object getIntercept(EntityBean bean);
Object getIntercept(EntityBean bean);
}
@@ -12,15 +12,15 @@ public interface BeanPropertyInfo {
/**
* Create an EntityBean for this type.
*/
public Object createEntityBean();
Object createEntityBean();
/**
* Return the getter for a given bean property.
*/
public BeanPropertyGetter getGetter(String name, int position);
BeanPropertyGetter getGetter(String name, int position);
/**
* Return the setter for a given bean property.
*/
public BeanPropertySetter getSetter(String name, int position);
BeanPropertySetter getSetter(String name, int position);
}
@@ -10,5 +10,5 @@ public interface BeanPropertyInfoFactory {
/**
* Create the BeanReflect for the given plain bean and its EntityBean equivalent.
*/
public BeanPropertyInfo create(Class<?> entityBeanType);
BeanPropertyInfo create(Class<?> entityBeanType);
}
@@ -10,7 +10,7 @@ public interface BeanPropertySetter {
/**
* Set the property value of a bean.
*/
public void set(EntityBean bean, Object value);
void set(EntityBean bean, Object value);
/**
* Set the property value of a bean with interception checks.
@@ -18,6 +18,6 @@ public interface BeanPropertySetter {
* This could invoke lazy loading and or oldValues creation.
* </p>
*/
public void setIntercept(EntityBean bean, Object value);
void setIntercept(EntityBean bean, Object value);
}
@@ -15,5 +15,5 @@ public interface CancelableQuery {
* For JDBC this translates to calling cancel on the PreparedStatement.
* </p>
*/
public void cancel();
void cancel();
}
@@ -15,5 +15,5 @@ public interface ClassPathReader {
* class path.
* </p>
*/
public Object[] readPath(ClassLoader classLoader);
Object[] readPath(ClassLoader classLoader);
}
@@ -12,5 +12,5 @@ public interface ClassPathSearchMatcher {
* used to make future searches faster.
* </p>
*/
public boolean isMatch(Class<?> cls);
boolean isMatch(Class<?> cls);
}