浏览代码

Merge pull request #20 from davepkxxx/master

修改JavaDoc的错误
James Zhan 12 年之前
父节点
当前提交
e8d3647702
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/com/jfinal/plugin/activerecord/Model.java

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

@@ -495,7 +495,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) {
@@ -572,7 +572,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) {