Skip to content

Commit eaeb53c

Browse files
committed
Black listed package org.apache.commons.lang.
Use classes from org.apache.commons.lang3 instead. Also fixed build after recent Selenium update. No functional changes.
1 parent f95e8e3 commit eaeb53c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/main/config/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<!-- See http://checkstyle.sf.net/config_import.html -->
132132
<module name="AvoidStarImport"/>
133133
<module name="IllegalImport"> <!-- defaults to sun.* packages -->
134-
<property name="illegalPkgs" value="java.sql, org.apache.log4j"/>
134+
<property name="illegalPkgs" value="java.sql, org.apache.log4j, org.apache.commons.lang"/>
135135
</module>
136136
<module name="RedundantImport"/>
137137
<module name="UnusedImports"/>

src/test/java/ru/mystamps/web/tests/cases/WhenAnonymousUserActivateAccount.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import static org.fest.assertions.api.Assertions.assertThat;
2222

23-
import org.apache.commons.lang.StringUtils;
23+
import org.apache.commons.lang3.StringUtils;
2424

2525
import org.springframework.beans.factory.annotation.Value;
2626

src/test/java/ru/mystamps/web/tests/cases/WhenAnonymousUserRegisterAccount.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import static ru.mystamps.web.tests.fest.AbstractPageWithFormAssert.assertThat;
2626
import static ru.mystamps.web.validation.ValidationRules.EMAIL_MAX_LENGTH;
2727

28-
import org.apache.commons.lang.StringUtils;
28+
import org.apache.commons.lang3.StringUtils;
2929
import org.testng.annotations.BeforeMethod;
3030
import org.testng.annotations.DataProvider;
3131
import org.testng.annotations.Test;

src/test/java/ru/mystamps/web/tests/cases/WhenUserAddCountry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
package ru.mystamps.web.tests.cases;
2020

21-
import org.apache.commons.lang.StringUtils;
21+
import org.apache.commons.lang3.StringUtils;
2222

2323
import org.springframework.beans.factory.annotation.Value;
2424
import org.testng.annotations.AfterClass;

0 commit comments

Comments
 (0)