Browse Source

修改JavaDoc的错误

David 12 years ago
parent
commit
8f8185558d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/com/jfinal/plugin/activerecord/Model.java

+ 2 - 2
src/com/jfinal/plugin/activerecord/Model.java

@@ -497,7 +497,7 @@ public abstract class Model<M extends Model> implements Serializable {
 	
 	/**
 	 * Set attributes with Map.
-	 * @param model the Model
+	 * @param attrs Attributes of this model
 	 * @return this Model
 	 */
 	public M setAttrs(Map<String, Object> attrs) {
@@ -574,7 +574,7 @@ public abstract class Model<M extends Model> implements Serializable {
 	
 	/**
 	 * Keep attribute of this model and remove other attributes.
-	 * @param attrs the attribute names of the model
+	 * @param attr the attribute names of the model
 	 * @return this model
 	 */
 	public M keep(String attr) {