此規則會標示對 javax.servlet.ServletContext.getServerInfo() 方法的參照,因為 Servlet 3.1 特性實作會傳回不同的值。 在 Servlet 3.0, 此方法返回 SMF WebContainer。在 Servlet 3.1 中,此方法返回 IBM WebSphere Liberty /8.5.5.<x>, 其中 <x> 是修正包號碼。
<x> 表示值會隨著執行應用程式的伺服器更新而改變。 如需更多 關於此方法的詳細資訊,請參閱 介面 ServletContext。
如需 Servlet 3.1 行為變更的相關資訊,請參閱下列資源:Servlet 3.1 行為變更。