Skip to content

Commit

Permalink
Merge pull request querydsl#2877 from querydsl/dependabot/maven/org.h…
Browse files Browse the repository at this point in the history
…amcrest-hamcrest-core-2.2

Bump hamcrest-core from 1.3 to 2.2
  • Loading branch information
jwgmeligmeyling committed Jun 12, 2021
2 parents 2fd9213 + bde0186 commit e4d946b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 19 deletions.
22 changes: 20 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
<h2gis.version>1.5.0</h2gis.version>
<morphia.version>1.3.2</morphia.version>
<jmh.version>1.32</jmh.version>
<hamcrest.veresion>2.2</hamcrest.veresion>

<!-- Import-Package definitions for maven-bundle-plugin -->
<osgi.import.package.root>
Expand All @@ -88,8 +89,7 @@
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.3</version>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -156,6 +156,24 @@
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>${hamcrest.veresion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.veresion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>${hamcrest.veresion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions querydsl-collections/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
<artifactId>hamcrest</artifactId>
<scope>compile</scope>
<optional>true</optional>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

import com.querydsl.core.types.Path;
import org.hamcrest.Description;
import org.hamcrest.Factory;
import org.hamcrest.Matcher;
import org.hamcrest.TypeSafeDiagnosingMatcher;

Expand Down Expand Up @@ -50,12 +49,10 @@ public PathMatcher(Path<V> path, Matcher<? super V> matcher, Function<T, V> acce
this.accessor = accessor;
}

@Factory
public static <T,P> Matcher<T> hasValue(Path<P> path) {
return new PathMatcher<T,P>(path, notNullValue());
}

@Factory
public static <T,P> Matcher<T> hasValue(Path<P> path, Matcher<? super P> matcher) {
return new PathMatcher<T,P>(path, matcher);
}
Expand Down
6 changes: 0 additions & 6 deletions querydsl-examples/querydsl-example-jpa-guice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,6 @@
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
6 changes: 0 additions & 6 deletions querydsl-examples/querydsl-example-sql-guice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit e4d946b

Please sign in to comment.