Skip to content

Commit

Permalink
fix violations of new spotbugs rule CT_CONSTRUCTOR_THROW
Browse files Browse the repository at this point in the history
  • Loading branch information
hankem authored and codecholeric committed Dec 3, 2023
1 parent 4b0a225 commit 0c0101a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* The runner will cache classes between test runs, for details please refer to {@link com.tngtech.archunit.junit.internal.ClassCache}.
*/
@PublicAPI(usage = ACCESS)
public class ArchUnitRunner<T> extends ParentRunner<T> {
public final class ArchUnitRunner<T> extends ParentRunner<T> {
private final InternalRunner<T> runnerDelegate;

@Internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
@Internal
interface ClassFileSource extends Iterable<ClassFileLocation> {
@Internal
class FromFilePath extends SimpleFileVisitor<Path> implements ClassFileSource {
final class FromFilePath extends SimpleFileVisitor<Path> implements ClassFileSource {
private final Set<ClassFileLocation> classFileLocations = new HashSet<>();
private final ImportOptions importOptions;

Expand Down Expand Up @@ -87,7 +87,7 @@ InputStream getInputStream() throws IOException {
}

@Internal
class FromJar implements ClassFileSource {
final class FromJar implements ClassFileSource {
private final Iterable<ClassFileLocation> classFileLocations;

FromJar(URL jarUrl, String path, ImportOptions importOptions) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import static com.google.common.base.Preconditions.checkNotNull;

class Alias {
final class Alias {
private final String value;

Alias(String value) {
Expand Down

0 comments on commit 0c0101a

Please sign in to comment.