commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thecarlh...@apache.org
Subject [23/50] commons-dbutils git commit: DBUTILS-119: Correct errors in BeanMapHandler JavaDoc. Thanks to Michael Akerman
Date Fri, 07 Jul 2017 02:05:58 GMT
DBUTILS-119: Correct errors in BeanMapHandler JavaDoc. Thanks to Michael Akerman

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/dbutils/trunk@1612335 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/commons-dbutils/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbutils/commit/82bb44fe
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbutils/tree/82bb44fe
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbutils/diff/82bb44fe

Branch: refs/heads/master
Commit: 82bb44fe36270805688a3021e6f48b702d65d1e7
Parents: 2cb9ab5
Author: Benedikt Ritter <britter@apache.org>
Authored: Mon Jul 21 16:14:15 2014 +0000
Committer: Benedikt Ritter <britter@apache.org>
Committed: Mon Jul 21 16:14:15 2014 +0000

----------------------------------------------------------------------
 src/changes/changes.xml                                          | 3 +++
 .../java/org/apache/commons/dbutils/handlers/BeanMapHandler.java | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/82bb44fe/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 2625490..7cf1faf 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,6 +45,9 @@ The <action> type attribute can be add,update,fix,remove.
   <body>
 
     <release version="1.7" date="TBA" description="TBD">
+      <action dev="britter" type="update" issue="DBUTILS-117" due-to="Michael Akerman">
+        Correct errors in BeanMapHandler JavaDoc
+      </action>
     </release>
 
     <release version="1.6" date="2014-07-20" description="Bugfixes and addition of insert
methods">

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/82bb44fe/src/main/java/org/apache/commons/dbutils/handlers/BeanMapHandler.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbutils/handlers/BeanMapHandler.java b/src/main/java/org/apache/commons/dbutils/handlers/BeanMapHandler.java
index 32a1e1c..4f5ba48 100644
--- a/src/main/java/org/apache/commons/dbutils/handlers/BeanMapHandler.java
+++ b/src/main/java/org/apache/commons/dbutils/handlers/BeanMapHandler.java
@@ -32,8 +32,8 @@ import org.apache.commons.dbutils.RowProcessor;
  * retrieve rows from the table like this:
  *
  * <pre>
- * ResultSetHandler&lt;Map&lt;Long, Person&gt;&gt; h = new BeanMapdHandler&lt;Long,
Person&gt;(Person.class, &quot;id&quot;);
- * Map&amp;ltLong, Person&gt; found = queryRunner.query(&quot;select id, name,
age from person&quot;, h);
+ * ResultSetHandler&lt;Map&lt;Long, Person&gt;&gt; h = new BeanMapHandler&lt;Long,
Person&gt;(Person.class, &quot;id&quot;);
+ * Map&lt;Long, Person&gt; found = queryRunner.query(&quot;select id, name, age
from person&quot;, h);
  * Person jane = found.get(1L); // jane's id is 1
  * String janesName = jane.getName();
  * Integer janesAge = jane.getAge();


Mime
View raw message