Skip to content

Commit

Permalink
we should not be doing a 'toString' on getSyncUrl(). it is already a …
Browse files Browse the repository at this point in the history
…string.
  • Loading branch information
chenson42 committed Aug 11, 2008
1 parent 879bd6a commit 5f43433
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@ public boolean registerNode(Node node, OutputStream out) throws IOException {
}
node.setNodeId(nodeId);
jdbcTemplate.update(getSql("registerNodeSecuritySql"), new Object[] { node.getNodeId() });
jdbcTemplate.update(getSql("registerNodeSql"), new Object[] { node.getSyncURL().toString(),
jdbcTemplate.update(getSql("registerNodeSql"), new Object[] { node.getSyncURL(),
node.getSchemaVersion(), node.getDatabaseType(), node.getDatabaseVersion(), node.getSymmetricVersion(),
node.getNodeId() }, new int[] { Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, Types.VARCHAR,
Types.VARCHAR, Types.VARCHAR });
Expand Down

0 comments on commit 5f43433

Please sign in to comment.