lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jd...@apache.org
Subject svn commit: r1414260 - /lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestVariableResolverEndToEnd.java
Date Tue, 27 Nov 2012 16:49:32 GMT
Author: jdyer
Date: Tue Nov 27 16:49:31 2012
New Revision: 1414260

URL: http://svn.apache.org/viewvc?rev=1414260&view=rev
Log:
SOLR-2141  / SOLR-4047 / SOLR-3842 - remove tabs

Modified:
    lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestVariableResolverEndToEnd.java

Modified: lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestVariableResolverEndToEnd.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestVariableResolverEndToEnd.java?rev=1414260&r1=1414259&r2=1414260&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestVariableResolverEndToEnd.java
(original)
+++ lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestVariableResolverEndToEnd.java
Tue Nov 27 16:49:31 2012
@@ -66,27 +66,27 @@ public class TestVariableResolverEndToEn
     sb.append("<document name=\"TestEvaluators\"> \n");
     sb.append("<entity name=\"FIRST\" processor=\"SqlEntityProcessor\" dataSource=\"hsqldb\"
");
     sb.append(" query=\"" +
-    		"select " +
-    		" 1 as id, " +
-    		" 'SELECT' as SELECT_KEYWORD, " +
-    		" CURRENT_TIMESTAMP as FIRST_TS " +
-    		"from DUAL \" >\n");
+        "select " +
+        " 1 as id, " +
+        " 'SELECT' as SELECT_KEYWORD, " +
+        " CURRENT_TIMESTAMP as FIRST_TS " +
+        "from DUAL \" >\n");
     sb.append("  <field column=\"SELECT_KEYWORD\" name=\"select_keyword_s\" /> \n");
     sb.append("  <entity name=\"SECOND\" processor=\"SqlEntityProcessor\" dataSource=\"hsqldb\"
transformer=\"TemplateTransformer\" ");
     sb.append("   query=\"" +
-    		"${dataimporter.functions.encodeUrl(FIRST.SELECT_KEYWORD)} " +
-    		" 1 as SORT, " +
-    		" CURRENT_TIMESTAMP as SECOND_TS, " +
-    		" '${dataimporter.functions.formatDate(FIRST.FIRST_TS, 'yyyy'" + thirdLocaleParam +
")}' as SECOND1_S,  " +
-    		" 'PORK' AS MEAT, " +
-    		" 'GRILL' AS METHOD, " +
+        "${dataimporter.functions.encodeUrl(FIRST.SELECT_KEYWORD)} " +
+        " 1 as SORT, " +
+        " CURRENT_TIMESTAMP as SECOND_TS, " +
+        " '${dataimporter.functions.formatDate(FIRST.FIRST_TS, 'yyyy'" + thirdLocaleParam
+ ")}' as SECOND1_S,  " +
+        " 'PORK' AS MEAT, " +
+        " 'GRILL' AS METHOD, " +
         " 'ROUND' AS CUTS, " +
         " 'BEEF_CUTS' AS WHATKIND " +
-    		"from DUAL " +
-    		"WHERE 1=${FIRST.ID} " +
-    		"UNION " +    		
-    		"${dataimporter.functions.encodeUrl(FIRST.SELECT_KEYWORD)} " +
-    		" 2 as SORT, " +
+        "from DUAL " +
+        "WHERE 1=${FIRST.ID} " +
+        "UNION " +        
+        "${dataimporter.functions.encodeUrl(FIRST.SELECT_KEYWORD)} " +
+        " 2 as SORT, " +
         " CURRENT_TIMESTAMP as SECOND_TS, " +
         " '${dataimporter.functions.formatDate(FIRST.FIRST_TS, 'yyyy'" + thirdLocaleParam
+ ")}' as SECOND1_S,  " +
         " 'FISH' AS MEAT, " +
@@ -96,7 +96,7 @@ public class TestVariableResolverEndToEn
         "from DUAL " +
         "WHERE 1=${FIRST.ID} " +
         "ORDER BY SORT \"" +
-    		">\n");
+        ">\n");
     sb.append("   <field column=\"SECOND_S\" name=\"second_s\" /> \n");
     sb.append("   <field column=\"SECOND1_S\" name=\"second1_s\" /> \n");
     sb.append("   <field column=\"second2_s\" template=\"${dataimporter.functions.formatDate(SECOND.SECOND_TS,
'yyyy'" + thirdLocaleParam + ")}\" /> \n");



Mime
View raw message