Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Jul 8, 2024
1 parent ec853a0 commit 6b9a46a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
*/
package io.takari.maven.testing.executor.junit;

import static java.util.Objects.requireNonNull;

import io.takari.maven.testing.TestProperties;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
Expand Down Expand Up @@ -51,8 +53,6 @@
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;

import static java.util.Objects.requireNonNull;

abstract class MavenVersionResolver {
private static final XPathFactory xpathFactory = XPathFactory.newInstance();
private static final DocumentBuilderFactory documentBuilderFactory;
Expand Down Expand Up @@ -321,9 +321,9 @@ private String getQualifiedVersion(URL repository, String versionDir) throws Exc
}

private InputStream openStream(URL resource) throws IOException {
ArrayDeque<URL> resources = new ArrayDeque<>();
resources.push(resource);
return openStream(resources);
ArrayDeque<URL> resources = new ArrayDeque<>();
resources.push(resource);
return openStream(resources);
}

private InputStream openStream(ArrayDeque<URL> resources) throws IOException {
Expand Down

0 comments on commit 6b9a46a

Please sign in to comment.