Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove raw references to Map in XSQL
[controller.git]
/
opendaylight
/
md-sal
/
sal-dom-xsql
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
md
/
sal
/
dom
/
xsql
/
jdbc
/
JDBCCommand.java
diff --git
a/opendaylight/md-sal/sal-dom-xsql/src/main/java/org/opendaylight/controller/md/sal/dom/xsql/jdbc/JDBCCommand.java
b/opendaylight/md-sal/sal-dom-xsql/src/main/java/org/opendaylight/controller/md/sal/dom/xsql/jdbc/JDBCCommand.java
index ba0626fdfe68c2335a9beeb4cb5b22637488ab86..649709ecf385bf893993370e4cf3d10545f72fca 100644
(file)
--- a/
opendaylight/md-sal/sal-dom-xsql/src/main/java/org/opendaylight/controller/md/sal/dom/xsql/jdbc/JDBCCommand.java
+++ b/
opendaylight/md-sal/sal-dom-xsql/src/main/java/org/opendaylight/controller/md/sal/dom/xsql/jdbc/JDBCCommand.java
@@
-18,7
+18,7
@@
public class JDBCCommand implements Serializable {
public static final int TYPE_METADATA_REPLY = 7;
private JDBCResultSet rs = null;
public static final int TYPE_METADATA_REPLY = 7;
private JDBCResultSet rs = null;
- private Map record = null;
+ private Map
<String, Object>
record = null;
private int rsID = -1;
private Exception err = null;
private XSQLBluePrint bluePrint = null;
private int rsID = -1;
private Exception err = null;
private XSQLBluePrint bluePrint = null;
@@
-49,7
+49,7
@@
public class JDBCCommand implements Serializable {
this.rsID = rs.getID();
}
this.rsID = rs.getID();
}
- public JDBCCommand(Map _record, int _rsID) {
+ public JDBCCommand(Map
<String, Object>
_record, int _rsID) {
this.record = _record;
this.rsID = _rsID;
this.type = TYPE_QUERY_RECORD;
this.record = _record;
this.rsID = _rsID;
this.type = TYPE_QUERY_RECORD;
@@
-68,7
+68,7
@@
public class JDBCCommand implements Serializable {
return this.rs;
}
return this.rs;
}
- public Map getRecord() {
+ public Map
<String, Object>
getRecord() {
return this.record;
}
return this.record;
}