1 |
/* Security.java --- Java base security class implementation |
/* Security.java --- Java base security class implementation |
2 |
Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
651 |
if (result.isEmpty()) |
if (result.isEmpty()) |
652 |
return null; |
return null; |
653 |
|
|
654 |
return (Provider[]) result.toArray(new Provider[0]); |
return (Provider[]) result.toArray(new Provider[result.size()]); |
655 |
} |
} |
656 |
|
|
657 |
private static void selectProviders(String svc, String algo, String attr, |
private static void selectProviders(String svc, String algo, String attr, |