[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: FYI: fix PR classpath/22992
From: |
Tom Tromey |
Subject: |
[cp-patches] Patch: FYI: fix PR classpath/22992 |
Date: |
26 Jul 2005 16:30:09 -0600 |
I'm checking this in.
Another bug found by FindBugs. The code in question is obviously
useless; the sense of the test was wrong.
Tom
Index: ChangeLog
from Tom Tromey <address@hidden>
PR classpath/22992:
* javax/security/sasl/Sasl.java (getSaslClientFactories): Fix
sense of test.
(getSaslServerFactories): Likewise.
Index: javax/security/sasl/Sasl.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/security/sasl/Sasl.java,v
retrieving revision 1.5
diff -u -r1.5 Sasl.java
--- javax/security/sasl/Sasl.java 2 Jul 2005 20:32:46 -0000 1.5
+++ javax/security/sasl/Sasl.java 26 Jul 2005 22:30:41 -0000
@@ -448,7 +448,7 @@
HashSet names = new HashSet();
Provider[] providers = Security.getProviders();
Iterator it;
- if (providers == null)
+ if (providers != null)
{
Provider p;
String key;
@@ -640,7 +640,7 @@
HashSet names = new HashSet();
Provider[] providers = Security.getProviders();
Iterator it;
- if (providers == null)
+ if (providers != null)
{
Provider p;
String key;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Patch: FYI: fix PR classpath/22992,
Tom Tromey <=