Skip to content

Commit ef03515

Browse files
javier-godoypaodb
authored andcommitted
feat: cleanup @SupressWarnings annotation
Close #48
1 parent 8be7b1f commit ef03515

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/resources/META-INF/resources/frontend/code-viewer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ pre[class*="language-"] {
301301
&& !line.startsWith('@Route')
302302
&& !line.startsWith('@PageTitle')
303303
&& !line.startsWith('@DemoSource')
304+
&& !line.startsWith('@SuppressWarnings')
304305
&& !line.startsWith('package ')
305306
&& line != 'import com.vaadin.flow.router.PageTitle;'
306307
&& line != 'import com.vaadin.flow.router.Route;'

src/test/resources/com/flowingcode/vaadin/addons/demo/it/AnnotationCleanup.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@Route
66
@PageTitle("pagetitle")
77
@DemoSource
8+
@SuppressWarnings
89
class MyClass {
910

1011
}

0 commit comments

Comments
 (0)