Skip to content

Commit e1a29dc

Browse files
committed
checkstyle config is reverted and added @SuppressWarnings(AbbreviationAsWordInName) at class level
1 parent b287f78 commit e1a29dc

8 files changed

+8
-7
lines changed

buildscripts/checkstyle.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
-->
279279
<module name="AbbreviationAsWordInName">
280280
<property name="ignoreFinal" value="false"/>
281-
<property name="allowedAbbreviationLength" value="2"/>
281+
<property name="allowedAbbreviationLength" value="0"/>
282282
<property name="tokens"
283283
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, ANNOTATION_DEF, ANNOTATION_FIELD_DEF,
284284
PARAMETER_DEF, VARIABLE_DEF, METHOD_DEF, PATTERN_VARIABLE_DEF, RECORD_DEF,

instrumentation/activej-http-6.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/activejhttp/ActiveJHttpServerConnectionInstrumentation.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@
2929
import net.bytebuddy.description.type.TypeDescription;
3030
import net.bytebuddy.matcher.ElementMatcher;
3131

32-
/**
33-
* This class provides instrumentation for ActiveJ HTTP server connections by applying advice to the
34-
* {@code serve} method of classes that extend {@code io.activej.http.AsyncServlet}. The
35-
* instrumentation is designed to integrate with OpenTelemetry for distributed tracing, capturing
36-
* and propagating trace context through HTTP requests and responses.
37-
*/
32+
@SuppressWarnings("AbbreviationAsWordInName")
3833
public class ActiveJHttpServerConnectionInstrumentation implements TypeInstrumentation {
3934

4035
@Override

instrumentation/activej-http-6.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/activejhttp/ActiveJHttpServerConnectionInstrumentationModule.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation;
1414
import java.util.List;
1515

16+
@SuppressWarnings("AbbreviationAsWordInName")
1617
@AutoService(InstrumentationModule.class)
1718
public class ActiveJHttpServerConnectionInstrumentationModule extends InstrumentationModule {
1819

instrumentation/activej-http-6.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/activejhttp/ActiveJHttpServerConnectionSingletons.java

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import io.opentelemetry.instrumentation.api.instrumenter.Instrumenter;
1111
import io.opentelemetry.javaagent.bootstrap.internal.JavaagentHttpServerInstrumenters;
1212

13+
@SuppressWarnings("AbbreviationAsWordInName")
1314
public class ActiveJHttpServerConnectionSingletons {
1415

1516
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.activej-http-6.0";

instrumentation/activej-http-6.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/activejhttp/ActiveJHttpServerHeaders.java

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import java.util.Map;
1717
import java.util.stream.Collectors;
1818

19+
@SuppressWarnings("AbbreviationAsWordInName")
1920
enum ActiveJHttpServerHeaders implements ExtendedTextMapGetter<HttpRequest> {
2021
INSTANCE;
2122

instrumentation/activej-http-6.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/activejhttp/ActiveJHttpServerHelper.java

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import io.activej.http.HttpResponse;
1313
import java.util.Map;
1414

15+
@SuppressWarnings("AbbreviationAsWordInName")
1516
public final class ActiveJHttpServerHelper {
1617

1718
private ActiveJHttpServerHelper() {

instrumentation/activej-http-6.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/activejhttp/ActiveJHttpServerHttpAttributesGetter.java

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import java.util.List;
1313
import javax.annotation.Nullable;
1414

15+
@SuppressWarnings("AbbreviationAsWordInName")
1516
final class ActiveJHttpServerHttpAttributesGetter
1617
implements HttpServerAttributesGetter<HttpRequest, HttpResponse> {
1718

instrumentation/activej-http-6.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/activejhttp/ActiveJHttpServerUtil.java

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import java.util.stream.Collectors;
1616
import javax.annotation.Nullable;
1717

18+
@SuppressWarnings("AbbreviationAsWordInName")
1819
public final class ActiveJHttpServerUtil {
1920

2021
private ActiveJHttpServerUtil() {

0 commit comments

Comments
 (0)