This inspection reports any instances of the forward (/) or backward (\) slash in a string or character literal. These characters are commonly used as file separators, and portability may suffer if their use is hardcoded. This will not report instances of the forward slash immediately following a '<' character, or immediately preceding a '>' character, as those often indicate XML or HTML tags rather than file names, instances where the string represents a java.util.TimeZone ID, instances where the string is a valid regular expression or instances where the string is an IANA-registered MIME media type.

Normally, usage of the example/* MIME media type outside of an example (e.g. in a Content-Type header) is an error. Use the checkbox below to include example/* in the set of recognized media types.

Powered by InspectionGadgets