File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/swagger/codegen/v3/generators/java Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public void interfaceWithCustomDiscriminator() throws Exception {
72
72
73
73
String interfaceContent = new String (Files .readAllBytes (Paths .get (interfaceFile .toURI ())));
74
74
75
- Pattern typeInfoPattern = Pattern .compile ( "(.*)(@JsonTypeInfo\\ ()(.*)(}\\ ))(.*)" , Pattern .DOTALL );
75
+ Pattern typeInfoPattern = Pattern .compile ("(.*)(@JsonTypeInfo\\ ()(.*)(}\\ ))(.*)" , Pattern .DOTALL );
76
76
77
77
Matcher matcher = typeInfoPattern .matcher (interfaceContent );
78
78
@@ -123,7 +123,7 @@ public void javaCustomDiscriminator() throws Exception {
123
123
124
124
String interfaceContent = new String (Files .readAllBytes (Paths .get (interfaceFile .toURI ())));
125
125
126
- Pattern typeInfoPattern = Pattern .compile ( "(.*)(@JsonTypeInfo\\ ()(.*)(}\\ ))(.*)" , Pattern .DOTALL );
126
+ Pattern typeInfoPattern = Pattern .compile ("(.*)(@JsonTypeInfo\\ ()(.*)(}\\ ))(.*)" , Pattern .DOTALL );
127
127
128
128
Matcher matcher = typeInfoPattern .matcher (interfaceContent );
129
129
You can’t perform that action at this time.
0 commit comments