setGlobalSecurityController should be static

This commit is contained in:
igor%mir2.org 2004-06-07 10:34:22 +00:00
Родитель 1a3ea9199c
Коммит 8404a66bdf
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -1984,7 +1984,8 @@ public class Context
* settings. The method can only be called once. * settings. The method can only be called once.
* @see #hasGlobalSecurityController() * @see #hasGlobalSecurityController()
*/ */
public final void setGlobalSecurityController(SecurityController controller) public static void setGlobalSecurityController(SecurityController
controller)
{ {
if (controller == null) throw new IllegalArgumentException(); if (controller == null) throw new IllegalArgumentException();
if (globalSecurityController != null) { if (globalSecurityController != null) {