Skip to content

Commit

Permalink
upgrade api-all version
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Jun 21, 2021
1 parent 6e5d666 commit 10f40fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@
<dependency>
<groupId>org.apache.directory.api</groupId>
<artifactId>api-all</artifactId>
<version>1.0.0</version>
<version>2.0.2</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,9 @@ protected void assertAttributeContains(
}
} else {
List<String> vals = new ArrayList<>();
Iterator<Value<?>> iterator = ldapAttribute.iterator();
Iterator<Value> iterator = ldapAttribute.iterator();
while (iterator.hasNext()) {
Value<?> value = iterator.next();
Value value = iterator.next();
if (matchingRule == null) {
if (expectedValue.equals(value.getString())) {
return;
Expand All @@ -613,7 +613,7 @@ protected void assertAttributeNotContains(Entry entry, String attrName, String e
String dn = entry.getDn().toString();
Attribute ldapAttribute = entry.get(attrName);
if (ldapAttribute != null) {
for (Value<?> value : ldapAttribute) {
for (Value value : ldapAttribute) {
if (matchingRule == null) {
if (expectedValue.equals(value.getString())) {
AssertJUnit.fail("Attribute " + attrName + " in " + dn + " contains value " + expectedValue + ", but it should not have it");
Expand Down

0 comments on commit 10f40fa

Please sign in to comment.