mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
08.38.2007 6d3607b2f2a070bacc7bd331a4dc49f5335e7df8
refs
author gbellato <gbellato@localhost>
Monday, January 8, 2007 16:38 +0100
committer gbellato <gbellato@localhost>
Monday, January 8, 2007 16:38 +0100
commit6d3607b2f2a070bacc7bd331a4dc49f5335e7df8
tree af3c0ed46962306bc7fbef1df4081740b3526b26 tree | zip | gz
parent 955b28a7abd1c43ca68558af59fef742ace075d6 view | diff
Fix a problem in org.opends.server.synchronization.common.ChangeNumberGenerator.adjust()
found by a code review where this method can fail because it only increment the time
by one unit even if the time difference is larger than this.

This bug has not visible impact yet because the synchronization operation dependencies
is not yet implemented.

Issue number 1134

This commit also add a unit test for this adjust method
1 files added
1 files modified
60 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/synchronization/common/ChangeNumberGenerator.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/common/ChangeNumberGeneratorTest.java 58 ●●●●● diff | view | raw | blame | history