Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
yawkat committed Jan 9, 2025
1 parent 124ef88 commit c012f39
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2017-2025 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.micronaut.fuzzing.http;

import io.micronaut.fuzzing.FuzzTarget;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.slf4j.LoggerFactory;

import java.lang.management.ManagementFactory;
import java.util.Map;

@FuzzTarget
@HttpDict
Expand Down Expand Up @@ -69,7 +70,7 @@ public static void fuzzerTearDown() {
instance.close();
}

void run(byte[] input) {
final void run(byte[] input) {
CustomResourceLeakDetector.setCurrentInput(input);

EmbeddedChannel embeddedChannel = nettyHttpServer.buildEmbeddedChannel(false);
Expand Down Expand Up @@ -99,7 +100,7 @@ void run(byte[] input) {
}

@Override
public void close() {
public final void close() {
//CustomResourceLeakDetector.reportStillOpen();
}

Expand Down

0 comments on commit c012f39

Please sign in to comment.