Skip to content

Commit 7014709

Browse files
authored
Fix a couple of code comments
1 parent 53f727c commit 7014709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/nordstrom/automation/junit/TimeoutUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static void applyTestTimeout(final Object runner, final Object target) {
7373
while (iterator.hasNext()) {
7474
// get current rule field
7575
FrameworkField ruleField = iterator.next();
76-
// if this if a Timeout rule
76+
// if this is a Timeout rule
7777
if (Timeout.class.isAssignableFrom(ruleField.getType())) {
7878
try {
7979
// extract Timeout rule interval
@@ -128,7 +128,7 @@ static void applyRuleTimeout(final Object runner, final List<TestRule> testRules
128128
AtomicTest<FrameworkMethod> atomicTest = LifecycleHooks.getAtomicTestOf(runner);
129129
// get "identity" method of atomic test
130130
FrameworkMethod identity = atomicTest.getIdentity();
131-
// get "identity" method Test annotation
131+
// get Test annotation of "identity" method
132132
Test annotation = identity.getAnnotation(Test.class);
133133
// get test method timeout interval
134134
long metaTimeout = annotation.timeout();

0 commit comments

Comments
 (0)