Web モジュールのウェルカム・ファイル名で / を使用しない

この規則により、web.xml ファイル内のスラッシュ (/) または円記号 (\) で始まるすべての Web モジュール <welcome-file> にフラグを立てます。

ソース・スキャナーで、この規則のクイック・フィックスが使用可能です。クイック・フィックスは、名前から / または \ を除去します。

以下のウェルカム・ファイル・リストがあるとします。
<welcome-file-list>
<welcome-file>/index.html</welcome-file>
<welcome-file>\index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>/default.html</welcome-file>
<welcome-file>\default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>

クイック・フィックスは、コードの 4 つのエントリーを以下のように更新します。
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>