Skip to content

Commit feef58e

Browse files
committed
Merge pull request #917 from mnhock
* gh-917: Polish "Simplify annotation" Simplify annotation Closes gh-917
2 parents a74723c + 1fea215 commit feef58e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-restdocs-core/src/testFixtures/java/org/springframework/restdocs/testfixtures/SnippetConditions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2021 the original author or authors.
2+
* Copyright 2014-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -81,15 +81,15 @@ public static HttpResponseCondition httpResponse(TemplateFormat format, Integer
8181
new MarkdownCodeBlockCondition<>("http"), 2);
8282
}
8383

84-
@SuppressWarnings({ "rawtypes" })
84+
@SuppressWarnings("rawtypes")
8585
public static CodeBlockCondition<?> codeBlock(TemplateFormat format, String language) {
8686
if ("adoc".equals(format.getFileExtension())) {
8787
return new AsciidoctorCodeBlockCondition(language, null);
8888
}
8989
return new MarkdownCodeBlockCondition(language);
9090
}
9191

92-
@SuppressWarnings({ "rawtypes" })
92+
@SuppressWarnings("rawtypes")
9393
public static CodeBlockCondition<?> codeBlock(TemplateFormat format, String language, String options) {
9494
if ("adoc".equals(format.getFileExtension())) {
9595
return new AsciidoctorCodeBlockCondition(language, options);

0 commit comments

Comments
 (0)