File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
main/java/org/fugerit/java/doc/val/core
test/java/test/org/fugerit/java/doc/core/val Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ public DocTypeValidator findByExtension( String extension ) {
74
74
return this .extMapValidator .get ( extension );
75
75
}
76
76
77
- public boolean isMimeTypeSupprted ( String mimeType ) {
78
- return this .findByMimeType (mimeType ) != null ;
79
- }
77
+ public boolean isMimeTypeSupported ( String mimeType ) {
78
+ return this .findByMimeType (mimeType ) != null ;
79
+ }
80
80
81
81
public Collection <String > getSupportedMimeTypes () {
82
82
return Collections .unmodifiableCollection ( this .mimMapValidator .keySet () );
Original file line number Diff line number Diff line change @@ -86,13 +86,13 @@ public boolean checkCompatibility() {
86
86
Assertions .assertNull ( facade .findByExtension ( HelperDocValidator .FORMAT_TEST ) );
87
87
Assertions .assertFalse ( facade .getSupportedMimeTypes ().isEmpty () );
88
88
Assertions .assertFalse ( facade .getSupportedExtensions ().isEmpty () );
89
- Assertions .assertFalse ( facade .isMimeTypeSupprted ( HelperDocValidator .MIME_TEST ) );
89
+ Assertions .assertFalse ( facade .isMimeTypeSupported ( HelperDocValidator .MIME_TEST ) );
90
90
Assertions .assertFalse ( facade .isExtensionSupported ( HelperDocValidator .FORMAT_TEST ) );
91
- Assertions .assertFalse ( facade .isMimeTypeSupprted ( HelperDocValidator .MIME_TEST ) );
91
+ Assertions .assertFalse ( facade .isMimeTypeSupported ( HelperDocValidator .MIME_TEST ) );
92
92
Assertions .assertFalse ( facade .isExtensionSupported ( HelperDocValidator .FORMAT_TEST ) );
93
- Assertions .assertFalse ( facade .isMimeTypeSupprted ( "aaaa" ) );
93
+ Assertions .assertFalse ( facade .isMimeTypeSupported ( "aaaa" ) );
94
94
Assertions .assertFalse ( facade .isExtensionSupported ( "bbbb/test" ) );
95
- Assertions .assertTrue ( facade .isMimeTypeSupprted ( ImageValidator .JPG_VALIDATOR .getMimeType () ) );
95
+ Assertions .assertTrue ( facade .isMimeTypeSupported ( ImageValidator .JPG_VALIDATOR .getMimeType () ) );
96
96
Assertions .assertTrue ( facade .isExtensionSupported ( ImageValidator .FORMAT_JPG ) );
97
97
// test path
98
98
String testPath = "src/test/resources/sample/jpg_as_jpg.jpeg" ;
You can’t perform that action at this time.
0 commit comments