Skip to content

Commit 0d92633

Browse files
authored
Merge pull request #55 from healenium/feature/EPMHLM-295
EPMHLM-295
2 parents 4a926b0 + 820a2f1 commit 0d92633

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

pom.xml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<modelVersion>4.0.0</modelVersion>
1111
<groupId>com.epam.healenium</groupId>
1212
<artifactId>healenium-appium</artifactId>
13-
<version>1.5.0</version>
13+
<version>1.5.2</version>
1414
<packaging>jar</packaging>
1515
<name>healenium-appium</name>
1616
<description>healenium appium client</description>
@@ -55,13 +55,12 @@
5555

5656

5757
<properties>
58-
<healenium.version>3.4.0</healenium.version>
58+
<healenium.version>3.4.2</healenium.version>
5959
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6060
<typesafe.version>1.3.4</typesafe.version>
6161
<commonslang3.version>3.11</commonslang3.version>
6262
<slf4jsimple.version>1.7.30</slf4jsimple.version>
6363
<annotations.version>18.0.0</annotations.version>
64-
<mapstruct.version>1.4.2.Final</mapstruct.version>
6564
<lombok.version>1.18.20</lombok.version>
6665
<javassist.version>3.26.0-GA</javassist.version>
6766
<junit.version>5.7.1</junit.version>
@@ -223,12 +222,6 @@
223222
<version>${commonslang3.version}</version>
224223
<scope>compile</scope>
225224
</dependency>
226-
<dependency>
227-
<groupId>org.mapstruct</groupId>
228-
<artifactId>mapstruct</artifactId>
229-
<version>${mapstruct.version}</version>
230-
<scope>compile</scope>
231-
</dependency>
232225
<dependency>
233226
<groupId>org.projectlombok</groupId>
234227
<artifactId>lombok</artifactId>
@@ -247,11 +240,6 @@
247240
<version>${junit.version}</version>
248241
<scope>test</scope>
249242
</dependency>
250-
<dependency>
251-
<groupId>org.mapstruct</groupId>
252-
<artifactId>mapstruct-processor</artifactId>
253-
<version>${mapstruct.version}</version>
254-
</dependency>
255243
<dependency>
256244
<groupId>io.appium</groupId>
257245
<artifactId>java-client</artifactId>

src/main/java/com/epam/healenium/appium/elementcreators/MobileParentElementCreator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import com.epam.healenium.appium.elementcreators.attribute.TextElementCreator;
77
import com.epam.healenium.elementcreators.ElementCreator;
88
import com.epam.healenium.treecomparing.Node;
9-
import org.mapstruct.ap.internal.util.Strings;
9+
import org.apache.commons.lang3.StringUtils;
1010

1111
import java.util.stream.Collectors;
1212
import java.util.stream.Stream;
@@ -27,7 +27,7 @@ public String create(Node node) {
2727
}
2828
return Stream.of(classElementCreator, resourceIdElementCreator, idElementCreator, textCreator, contentDescElementCreator)
2929
.map(creator -> creator.create(parent))
30-
.filter(Strings::isNotEmpty)
30+
.filter(s -> !StringUtils.isEmpty(s))
3131
.collect(Collectors.joining())
3232
.concat("/");
3333
}

0 commit comments

Comments
 (0)