File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/swagger-core/src/main/java/io/swagger/util Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -182,18 +182,18 @@ public ObjectProperty createProperty() {
182
182
* Allows to exclude specific classes from KEY_CLASSES mappings to primitive
183
183
*
184
184
*/
185
- private static Set <String > customExcludedClasses = ConcurrentHashMap . newKeySet ( );
185
+ private static Set <String > customExcludedClasses = Collections . newSetFromMap ( new ConcurrentHashMap < String , Boolean >() );
186
186
187
187
/**
188
188
* Allows to exclude specific classes from EXTERNAL_CLASSES mappings to primitive
189
189
*
190
190
*/
191
- private static Set <String > customExcludedExternalClasses = ConcurrentHashMap . newKeySet ( );
191
+ private static Set <String > customExcludedExternalClasses = Collections . newSetFromMap ( new ConcurrentHashMap < String , Boolean >() );
192
192
193
193
/**
194
194
* Adds support for custom mapping of classes to primitive types
195
195
*/
196
- private static Map <String , PrimitiveType > customClasses = new ConcurrentHashMap <>();
196
+ private static Map <String , PrimitiveType > customClasses = new ConcurrentHashMap <String , PrimitiveType >();
197
197
198
198
/**
199
199
* Alternative names for primitive types that have to be supported for
You can’t perform that action at this time.
0 commit comments