Skip to content

Commit

Permalink
Switch from baked-in functional/Either previously needed for Java 1.6…
Browse files Browse the repository at this point in the history
… compat to our dependency that contains these now that we have Java 11 compat
  • Loading branch information
adamretter committed Nov 20, 2023
1 parent 39b93ed commit 51ceef9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 237 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.evolvedbinary.j8fu</groupId>
<artifactId>j8fu</artifactId>
<version>1.23.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
196 changes: 0 additions & 196 deletions src/main/java/com/evolvedbinary/functional/Either.java

This file was deleted.

37 changes: 0 additions & 37 deletions src/main/java/com/evolvedbinary/functional/Function.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
package com.evolvedbinary.xpath.parser;

import com.evolvedbinary.functional.Either;
import com.evolvedbinary.j8fu.Either;
import com.evolvedbinary.xpath.parser.ast.partial.*;
import org.parboiled.BaseParser;
import org.parboiled.Rule;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
package com.evolvedbinary.xpath.parser.ast;

import com.evolvedbinary.functional.Either;
import com.evolvedbinary.j8fu.Either;
import javax.annotation.Nullable;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
package com.evolvedbinary.xpath.parser.ast.partial;

import com.evolvedbinary.functional.Either;
import com.evolvedbinary.j8fu.Either;
import com.evolvedbinary.xpath.parser.ast.ElementTest;
import com.evolvedbinary.xpath.parser.ast.DocumentTest;
import com.evolvedbinary.xpath.parser.ast.SchemaElementTest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
package com.evolvedbinary.xpath.parser;

import com.evolvedbinary.functional.Either;
import com.evolvedbinary.j8fu.Either;
import com.evolvedbinary.xpath.parser.ast.*;
import org.junit.Test;
import org.parboiled.Parboiled;
Expand Down

0 comments on commit 51ceef9

Please sign in to comment.