You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by fr...@apache.org on 2011/02/21 11:27:07 UTC
svn commit: r1072921 - in /incubator/empire-db/trunk: ./
empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/
empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/st...
Author: francisdb
Date: Mon Feb 21 10:27:06 2011
New Revision: 1072921
URL: http://svn.apache.org/viewvc?rev=1072921&view=rev
Log:
fix some build warnings
Modified:
incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java
incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java
incubator/empire-db/trunk/pom.xml
Modified: incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java?rev=1072921&r1=1072920&r2=1072921&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java (original)
+++ incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java Mon Feb 21 10:27:06 2011
@@ -190,14 +190,14 @@ public abstract class BeanDetailAction<T
/**
* Returns the bean for the supplied object key.
- * If an error occurs the fuction must set an action error and return null.
+ * If an error occurs the function must set an action error and return null.
* @return the bean object
*/
public abstract T createBean();
/**
* Returns the bean for the supplied object key.
- * If an error occurs the fuction must set an action error and return null.
+ * If an error occurs the function must set an action error and return null.
* @param key the bean's key values
* @return the bean object
*/
@@ -207,14 +207,14 @@ public abstract class BeanDetailAction<T
* Saves a bean object
* @param bean
* @param isNew true the bean is a newly created object or false otherwise
- * @return true if the bean has been stored sucessfully or false otherwise
+ * @return true if the bean has been stored successfully or false otherwise
*/
public abstract boolean saveBean(T bean, boolean isNew);
/**
* Deletes a bean object
- * @param bean
- * @return true if the bean has been stored sucessfully or false otherwise
+ * @param key
+ * @return true if the bean has been stored successfully or false otherwise
*/
public abstract boolean deleteBean(Object[] key);
Modified: incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java?rev=1072921&r1=1072920&r2=1072921&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java (original)
+++ incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java Mon Feb 21 10:27:06 2011
@@ -190,14 +190,14 @@ public abstract class BeanDetailAction<T
/**
* Returns the bean for the supplied object key.
- * If an error occurs the fuction must set an action error and return null.
+ * If an error occurs the function must set an action error and return null.
* @return the bean object
*/
protected abstract T createBean();
/**
* Returns the bean for the supplied object key.
- * If an error occurs the fuction must set an action error and return null.
+ * If an error occurs the function must set an action error and return null.
* @param key the bean's key values
* @return the bean object
*/
@@ -207,14 +207,14 @@ public abstract class BeanDetailAction<T
* Saves a bean object
* @param bean
* @param isNew true the bean is a newly created object or false otherwise
- * @return true if the bean has been stored sucessfully or false otherwise
+ * @return true if the bean has been stored successfully or false otherwise
*/
protected abstract boolean saveBean(T bean, boolean isNew);
/**
* Deletes a bean object
* @param key
- * @return true if the bean has been stored sucessfully or false otherwise
+ * @return true if the bean has been stored successfully or false otherwise
*/
protected abstract boolean deleteBean(Object[] key);
Modified: incubator/empire-db/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/pom.xml?rev=1072921&r1=1072920&r2=1072921&view=diff
==============================================================================
--- incubator/empire-db/trunk/pom.xml (original)
+++ incubator/empire-db/trunk/pom.xml Mon Feb 21 10:27:06 2011
@@ -58,6 +58,10 @@
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
+ <configuration>
+ <!-- TODO enable strict checking and fix issues -->
+ <strictCheck>false</strictCheck>
+ </configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>