Reverting SOLR-435 (always run tests before committing)

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@741097 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-02-05 13:10:33 +00:00
parent 742dccd202
commit 4d4c5e0e1f
2 changed files with 1 additions and 8 deletions

View File

@ -236,8 +236,6 @@ Bug Fixes
27. SOLR-991: Better error message when parsing solrconfig.xml fails due to malformed XML. Error message notes the name 27. SOLR-991: Better error message when parsing solrconfig.xml fails due to malformed XML. Error message notes the name
of the file being parsed. (Michael Henson via shalin) of the file being parsed. (Michael Henson via shalin)
28. SOLR-435: NullPointerException with no query or empty query (ryan, Lars Kotthoff via shalin)
Other Changes Other Changes
---------------------- ----------------------

View File

@ -75,11 +75,6 @@ public class QueryComponent extends SearchComponent
if (rb.getQueryString() == null) { if (rb.getQueryString() == null) {
rb.setQueryString( params.get( CommonParams.Q ) ); rb.setQueryString( params.get( CommonParams.Q ) );
String queryString = params.get(CommonParams.Q);
if (queryString == null) {
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
"Missing or empty required parameter: q");
}
} }
try { try {