tx.finish();
}</BUG>
}
private void updateNode( long nodeId, int value )
{
<BUG>Transaction tx = db.beginTx();

try</BUG>
{
Node node = db.getNodeById( nodeId );

Node node = db.createNode( label );
node.setProperty( NUM_BANANAS_KEY, number );
tx.success();
return node.getId();
}
}
private void updateNode( long nodeId, int value )
{
try ( Transaction tx = db.beginTx() )
{
Node node = db.getNodeById( nodeId );
