Skip to content

Commit

Permalink
fix sonarqube issues
Browse files Browse the repository at this point in the history
  • Loading branch information
talebb committed Jan 5, 2018
1 parent c27ec0c commit f064944
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
package uk.gov.justice.framework.tools.fraction.runtime;

import static org.jboss.shrinkwrap.api.ShrinkWrap.create;
import static org.jboss.shrinkwrap.api.ShrinkWrap.createFromZipFile;

import java.nio.file.Paths;

import javax.inject.Inject;

import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.wildfly.swarm.spi.api.DeploymentProcessor;
import org.wildfly.swarm.spi.runtime.annotations.ConfigurationValue;
import org.wildfly.swarm.spi.runtime.annotations.DeploymentScoped;
import org.wildfly.swarm.undertow.WARArchive;

import javax.inject.Inject;
import java.nio.file.Paths;

import static org.jboss.shrinkwrap.api.ShrinkWrap.create;
import static org.jboss.shrinkwrap.api.ShrinkWrap.createFromZipFile;


@DeploymentScoped
public class ArchiveLoader implements DeploymentProcessor {
Expand All @@ -37,7 +36,7 @@ public ArchiveLoader(final Archive archive) {


@Override
public void process() throws IllegalArgumentException {
public void process() {

final WebArchive webArchive = createFromZipFile(WebArchive.class, Paths.get(library).toFile());

Expand Down

0 comments on commit f064944

Please sign in to comment.