Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
This commit is contained in:
commit
f843429145
|
@ -92,7 +92,7 @@ The <action> type attribute can be add,update,fix,remove.
|
|||
<action type="add" dev="ggregory" due-to="Gary Gregory">Add Range.INTEGER.</action>
|
||||
<action type="add" dev="ggregory" due-to="Gary Gregory">Add DurationUtils.</action>
|
||||
<action type="add" dev="jochen">Introduce the use of @Nonnull, and @Nullable, and the Objects class as a helper tool.</action>
|
||||
<action type="add" dev="ggregory" due-to="Arturo Bernal, Gary Gregory">Add and use true & false String constants #714.</action>
|
||||
<action type="add" dev="ggregory" due-to="Arturo Bernal, Gary Gregory">Add and use true and false String constants #714.</action>
|
||||
<!-- UPDATE -->
|
||||
<action type="update" dev="ggregory" due-to="Gary Gregory">Enable Dependabot #587.</action>
|
||||
<action type="update" dev="chtompki">Bump junit-jupiter from 5.6.2 to 5.7.0.</action>
|
||||
|
|
|
@ -70,7 +70,7 @@ public class DurationUtilsTest {
|
|||
assertEquals(-1, DurationUtils.toDuration(-1, TimeUnit.MILLISECONDS).toMillis());
|
||||
assertEquals(0, DurationUtils.toDuration(0, TimeUnit.SECONDS).toMillis());
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testToMillisInt() {
|
||||
assertEquals(0, DurationUtils.toMillisInt(Duration.ZERO));
|
||||
|
|
Loading…
Reference in New Issue