Author: kwright
Date: Mon Oct 28 20:43:50 2013
New Revision: 1536512
URL: http://svn.apache.org/r1536512
Log:
Get it to build
Modified:
manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java
manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java
Modified: manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java
URL: http://svn.apache.org/viewvc/manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java?rev=1536512&r1=1536511&r2=1536512&view=diff
==============================================================================
--- manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java
(original)
+++ manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java
Mon Oct 28 20:43:50 2013
@@ -305,11 +305,8 @@ public class ManifoldCFQParserPlugin ext
int i = 0;
for (String domain : domainMap.keySet())
{
- if (i = 0)
- {
+ if (i == 0)
urlBuffer.append("?");
- first = false;
- }
else
urlBuffer.append("&");
urlBuffer.append("username_").append(Integer.toString(i)).append("=").append(URLEncoder.encode(domainMap.get(domain),"utf-8")).append("&")
@@ -352,7 +349,7 @@ public class ManifoldCFQParserPlugin ext
else
{
// It probably says something about the state of the authority(s) involved,
so log it
- LOG.info("For user '"+authenticatedUserName+"', saw authority response
"+line);
+ LOG.info("Saw authority response "+line);
}
}
return tokenList;
Modified: manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java
URL: http://svn.apache.org/viewvc/manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java?rev=1536512&r1=1536511&r2=1536512&view=diff
==============================================================================
--- manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java
(original)
+++ manifoldcf/integration/solr-3.x/trunk/mcf/src/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java
Mon Oct 28 20:43:50 2013
@@ -333,11 +333,8 @@ public class ManifoldCFSearchComponent e
int i = 0;
for (String domain : domainMap.keySet())
{
- if (i = 0)
- {
+ if (i == 0)
urlBuffer.append("?");
- first = false;
- }
else
urlBuffer.append("&");
urlBuffer.append("username_").append(Integer.toString(i)).append("=").append(URLEncoder.encode(domainMap.get(domain),"utf-8")).append("&")
@@ -380,7 +377,7 @@ public class ManifoldCFSearchComponent e
else
{
// It probably says something about the state of the authority(s) involved,
so log it
- LOG.info("For user '"+authenticatedUserName+"', saw authority response "+line);
+ LOG.info("Saw authority response "+line);
}
}
return tokenList;
|