Skip to content

Commit 1c6d265

Browse files
author
edelgadoh
committed
Adding labels to split StopWatch feature - checkstyle
1 parent 0656bd1 commit 1c6d265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/apache/commons/lang3/time/StopWatchTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,8 @@ void testNanoSplitsWithLabel() {
632632

633633
// Note: On macOS the clock granularity and scheduling can cause minor deviations.
634634
static void assumeNotMacOs13() {
635-
String os = System.getProperty("os.name").toLowerCase();
636-
String version = System.getProperty("os.version");
635+
final String os = System.getProperty("os.name").toLowerCase();
636+
final String version = System.getProperty("os.version");
637637
Assumptions.assumeTrue(!(os.contains("mac") && version.startsWith("13")),
638638
() -> "Skipping test on macOS 13");
639639
}

0 commit comments

Comments
 (0)