@@ -197,8 +197,8 @@ private void runSearch() throws NodeStoreException {
197197 item .addElement ("field" ).addAttribute ("var" , "entry" )
198198 .addElement ("value" ).add (entry );
199199 } catch (DocumentException e ) {
200- // logger.error("Error parsing a node entry, ignoring. "
201- // + nodeItem);
200+ logger .error ("Error parsing a node entry, ignoring. "
201+ + nodeItem );
202202 }
203203
204204 resultCounter ++;
@@ -228,8 +228,7 @@ private void addReportedFields(Element x) {
228228 .addAttribute ("type" , "text-single" );
229229
230230 reported .addElement ("field" ).addAttribute ("var" , "entry" )
231- .addAttribute ("label" , "Item" )
232- .addAttribute ("type" , "xml" );
231+ .addAttribute ("label" , "Item" ).addAttribute ("type" , "xml" );
233232 }
234233
235234 private void extractFieldValues () {
@@ -241,7 +240,7 @@ private void extractFieldValues() {
241240 content = getValuesAsList (field );
242241 } else if ("author" .equals (var )) {
243242 String authorStr = field .elementText ("value" );
244- if ( authorStr .length () > 0 ) {
243+ if (authorStr .length () > 0 ) {
245244 author = new JID (authorStr );
246245 }
247246 } else if ("page" .equals (var )) {
@@ -253,8 +252,8 @@ private void extractFieldValues() {
253252 }
254253
255254 private boolean checkFieldValues () throws Exception {
256- if (((null != content && content .size () > 0 ) || (null != author &&
257- author .toBareJID ().length () > 0 )) && (page > 0 && rpp > 0 )) {
255+ if (((null != content && content .size () > 0 ) || (null != author && author
256+ .toBareJID ().length () > 0 )) && (page > 0 && rpp > 0 )) {
258257 return true ;
259258 }
260259
0 commit comments