Skip to content

Commit

Permalink
LEDGE-260: use DBParameters.set(Parameters) to update parameters image
Browse files Browse the repository at this point in the history
in the DB atomically.
  • Loading branch information
rkrzewski committed Dec 1, 2014
1 parent 4786dd9 commit 8e3233d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ public void update(long id, Parameters value, Connection conn)
Parameters parameters = dbParametersManager.getParameters(id);
synchronized(parameters)
{
parameters.remove();
parameters.add(value, true);
parameters.set(value);
}
}
catch(DBParametersException e)
Expand Down

0 comments on commit 8e3233d

Please sign in to comment.