Author: mickw
Date: 2006-03-31 12:38:28 +0200 (Fri, 31 Mar 2006)
New Revision: 2679
Modified:
trunk/src/java/no/schibstedsok/front/searchportal/query/token/TokenPredicate.java
Log:
NullPointerException fix
Modified:
trunk/src/java/no/schibstedsok/front/searchportal/query/token/TokenPredicate.java
===================================================================
---
trunk/src/java/no/schibstedsok/front/searchportal/query/token/TokenPredicate.java
2006-03-31 09:39:06 UTC (rev 2678)
+++
trunk/src/java/no/schibstedsok/front/searchportal/query/token/TokenPredicate.java
2006-03-31 10:38:28 UTC (rev 2679)
@@ -132,7 +132,7 @@
*/
public static TokenPredicate valueFor(final String token) {
for(TokenPredicate tp : values()){
- if( tp.token.equals(token) ){
+ if( token.equals(tp.token) ){
return tp;
}
}
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits