Commit dfac5f19 authored by R.W.Majeed's avatar R.W.Majeed

cleanup unused code

parent efc4e0a7
"use strict";
var cells = [];
function cell(id){
this.id = id;
this.register = function(){
cells[id] = this;
}
}
load('src/main/scripts/i2b2-ws/pm.cell.js');
this.httpRequest = function(method,path,query,body){
var i = -1;
if( path != null )i = path.indexOf('/',1);
if( i != -1 ){
var c = cells[path.substr(1,i-1)];
if( c )return c.request(method,path.substr(i+1),query,body);
else return "<error>Unknown cell in path "+path.substr(1,i-1)+"</error>";
}else return "<error>No cell id specified in path</error>";
}
"use strict";
var pm = new cell('pm');
pm.request = function(method,path,query,body){
return "<x>PM, method="+method+", path="+path+", query="+query+"</x>";
}
pm.register();
print('PM cell loaded');
......@@ -86,7 +86,7 @@ public class TestExtractor implements DataSource{
@Override
public Connection getConnection() throws SQLException {
final int defaultFetchSize = 10000;
//final int defaultFetchSize = 10000;
final String driver = "org.postgresql.Driver";
final String uri = "jdbc:postgresql://localhost:15432/i2b2";
try {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment