diff --git a/src/main/java/com/avaje/ebean/CallableSql.java b/src/main/java/com/avaje/ebean/CallableSql.java index f29f22ee0..fcff6b43b 100644 --- a/src/main/java/com/avaje/ebean/CallableSql.java +++ b/src/main/java/com/avaje/ebean/CallableSql.java @@ -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. diff --git a/src/main/java/com/avaje/ebeaninternal/server/cluster/ClusterBroadcast.java b/src/main/java/com/avaje/ebeaninternal/server/cluster/ClusterBroadcast.java index bfcb47720..3260c7ad5 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/cluster/ClusterBroadcast.java +++ b/src/main/java/com/avaje/ebeaninternal/server/cluster/ClusterBroadcast.java @@ -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); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/ddl/BeanVisitor.java b/src/main/java/com/avaje/ebeaninternal/server/ddl/BeanVisitor.java index f5f4b0ee5..50ffa643f 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/ddl/BeanVisitor.java +++ b/src/main/java/com/avaje/ebeaninternal/server/ddl/BeanVisitor.java @@ -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. *

*/ - 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(); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/Bindable.java b/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/Bindable.java index a0823a0c9..82a17b75d 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/Bindable.java +++ b/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/Bindable.java @@ -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 list); + void addToUpdate(PersistRequestBean request, List 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; } diff --git a/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/BindableId.java b/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/BindableId.java index 4ae2966db..5b8e0f3ac 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/BindableId.java +++ b/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/BindableId.java @@ -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. *

*/ - public boolean deriveConcatenatedId(PersistRequestBean persist); + boolean deriveConcatenatedId(PersistRequestBean persist); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/BindableRequest.java b/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/BindableRequest.java index 0eb4b20c0..90bf9a0b1 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/BindableRequest.java +++ b/src/main/java/com/avaje/ebeaninternal/server/persist/dmlbind/BindableRequest.java @@ -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. *

*/ - 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); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyGetter.java b/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyGetter.java index 509398356..652735249 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyGetter.java +++ b/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyGetter.java @@ -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); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyInfo.java b/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyInfo.java index 01e1e9ba3..8cb2fac0f 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyInfo.java +++ b/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyInfo.java @@ -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); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyInfoFactory.java b/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyInfoFactory.java index 1c6c02329..5b2befa02 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyInfoFactory.java +++ b/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyInfoFactory.java @@ -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); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertySetter.java b/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertySetter.java index 53e5aef36..c66a4cc0c 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertySetter.java +++ b/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertySetter.java @@ -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. *

*/ - public void setIntercept(EntityBean bean, Object value); + void setIntercept(EntityBean bean, Object value); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/query/CancelableQuery.java b/src/main/java/com/avaje/ebeaninternal/server/query/CancelableQuery.java index e54537605..e31702373 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/query/CancelableQuery.java +++ b/src/main/java/com/avaje/ebeaninternal/server/query/CancelableQuery.java @@ -15,5 +15,5 @@ public interface CancelableQuery { * For JDBC this translates to calling cancel on the PreparedStatement. *

*/ - public void cancel(); + void cancel(); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/util/ClassPathReader.java b/src/main/java/com/avaje/ebeaninternal/server/util/ClassPathReader.java index 851e73eaf..3096dac08 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/util/ClassPathReader.java +++ b/src/main/java/com/avaje/ebeaninternal/server/util/ClassPathReader.java @@ -15,5 +15,5 @@ public interface ClassPathReader { * class path. *

*/ - public Object[] readPath(ClassLoader classLoader); + Object[] readPath(ClassLoader classLoader); } diff --git a/src/main/java/com/avaje/ebeaninternal/server/util/ClassPathSearchMatcher.java b/src/main/java/com/avaje/ebeaninternal/server/util/ClassPathSearchMatcher.java index d942d82f8..1eac6fc51 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/util/ClassPathSearchMatcher.java +++ b/src/main/java/com/avaje/ebeaninternal/server/util/ClassPathSearchMatcher.java @@ -12,5 +12,5 @@ public interface ClassPathSearchMatcher { * used to make future searches faster. *

*/ - public boolean isMatch(Class cls); + boolean isMatch(Class cls); }