Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Nov 21, 2024
1 parent 09d871a commit a1cbc0f
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@
package org.apache.maven.plugins.checkstyle.resource;

import javax.inject.Inject;
import javax.inject.Named;

import java.util.Map;

import org.codehaus.plexus.component.annotations.Component;
import org.codehaus.plexus.component.annotations.Requirement;
import org.codehaus.plexus.resource.DefaultResourceManager;
import org.codehaus.plexus.resource.PlexusResource;
import org.codehaus.plexus.resource.ResourceManager;
import org.codehaus.plexus.resource.loader.ResourceLoader;
import org.codehaus.plexus.resource.loader.ResourceNotFoundException;
import org.codehaus.plexus.resource.loader.ThreadContextClasspathResourceLoader;
Expand All @@ -38,12 +36,11 @@
*
* @since 2.12
*/
@Component(role = ResourceManager.class, hint = "license", instantiationStrategy = "per-lookup")
@Named("license")
public class LicenseResourceManager extends DefaultResourceManager {

private static final Logger LOGGER = LoggerFactory.getLogger(LicenseResourceManager.class);

@Requirement(role = ResourceLoader.class)
private Map<String, ResourceLoader> resourceLoaders;

@Inject
Expand Down

0 comments on commit a1cbc0f

Please sign in to comment.