SOLR-4385: Stop using SVN Keyword Substitution in Solr src code

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616393 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2014-08-07 03:25:40 +00:00
parent c119cf89a4
commit 5575ff520f
93 changed files with 45 additions and 364 deletions

View File

@ -75,7 +75,7 @@
</target>
<target name="-validate-source-patterns" unless="disable.source-patterns">
<!-- check that there are no nocommits or @author javadoc tags: -->
<!-- check that there are no @author javadoc tags, tabs, svn keywords or nocommits: -->
<property name="validate.currDir" location="."/>
<pathconvert pathsep="${line.separator}" dirsep="/" property="validate.patternsFound" setonempty="false">
<fileset dir="${validate.currDir}">
@ -85,11 +85,18 @@
<containsregexp expression="@author\b" casesensitive="yes"/>
<containsregexp expression="\bno(n|)commit\b" casesensitive="no"/>
<containsregexp expression="\t" casesensitive="no"/>
<containsregexp expression="\$(?:LastChanged)?Date\b" casesensitive="yes"/>
<containsregexp expression="\$(?:(?:LastChanged)?Revision|Rev)\b" casesensitive="yes"/>
<containsregexp expression="\$(?:LastChangedBy|Author)\b" casesensitive="yes"/>
<containsregexp expression="\$(?:Head)?URL\b" casesensitive="yes"/>
<containsregexp expression="\$Id\b" casesensitive="yes"/>
<containsregexp expression="\$Header\b" casesensitive="yes"/>
<containsregexp expression="\$Source\b" casesensitive="yes"/>
</or>
</fileset>
<map from="${validate.currDir}${file.separator}" to="* "/>
</pathconvert>
<fail if="validate.patternsFound">The following files contain @author tags, tabs or nocommits:${line.separator}${validate.patternsFound}</fail>
<fail if="validate.patternsFound">The following files contain @author tags, tabs, svn keywords or nocommits:${line.separator}${validate.patternsFound}</fail>
</target>
<target name="rat-sources" description="Runs rat across all sources and tests">

View File

@ -137,7 +137,7 @@
file -> '.' + file.getAbsolutePath().substring(baseLen).replace(File.separatorChar, (char)'/');
}
Set missingProps = new TreeSet(), unversioned = new TreeSet(), changed = new TreeSet();
Set missingProps = new TreeSet(), withKeywords = new TreeSet(), unversioned = new TreeSet(), changed = new TreeSet();
task.log('Getting all versioned and unversioned files...');
statusClient.doStatus(basedir, SVNRevision.WORKING, SVNDepth.fromRecurse(true), false, true, false, false, {
@ -168,15 +168,23 @@
}
} as ISVNPropertyHandler);
task.log('Scanning for files with svn:keywords property...');
wcClient.doGetProperty(basedir, 'svn:keywords', SVNRevision.WORKING, SVNRevision.WORKING, true, {
file, prop -> withKeywords.add(convertRelative(file));
} as ISVNPropertyHandler);
def convertSet2String = {
set -> set ? ('* ' + set.join(project.getProperty('line.separator') + '* ')) : null
};
project.setProperty('svn.checkprops.failed', convertSet2String(missingProps));
project.setProperty('svn.keywords.failed', convertSet2String(withKeywords));
project.setProperty('svn.unversioned.failed', convertSet2String(unversioned));
project.setProperty('svn.changed.failed', convertSet2String(changed));
]]></groovy>
<fail if="svn.checkprops.failed"
message="The following files are missing svn:eol-style (or binary svn:mime-type):${line.separator}${svn.checkprops.failed}"/>
<fail if="svn.keywords.failed"
message="The following files have the svn:keywords property set:${line.separator}${svn.keywords.failed}"/>
<fail if="svn.unversioned.failed"
message="Source checkout is dirty after running tests!!! Offending files:${line.separator}${svn.unversioned.failed}"/>
<fail message="Source checkout is modified !!! Offending files:${line.separator}${svn.changed.failed}">

View File

@ -111,7 +111,7 @@ You can download this version of this file from http://www.w3.org/TR/2010/REC-xh
PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN"
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-lat1.ent"
Revision: $Id: xhtml-lat1.ent,v 4.1 2001/04/10 09:34:14 altheim Exp $ SMI
Revision: Id: xhtml-lat1.ent,v 4.1 2001/04/10 09:34:14 altheim Exp $ SMI
Portions (C) International Organization for Standardization 1986:
Permission to copy in any form is granted for use with conforming
@ -237,7 +237,7 @@ You can download this version of this file from http://www.w3.org/TR/2010/REC-xh
PUBLIC "-//W3C//ENTITIES Special for XHTML//EN"
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-special.ent"
Revision: $Id: xhtml-special.ent,v 4.1 2001/04/10 09:34:14 altheim Exp $ SMI
Revision: Id: xhtml-special.ent,v 4.1 2001/04/10 09:34:14 altheim Exp $ SMI
Portions (C) International Organization for Standardization 1986:
Permission to copy in any form is granted for use with conforming
@ -324,7 +324,7 @@ You can download this version of this file from http://www.w3.org/TR/2010/REC-xh
PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN"
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-symbol.ent"
Revision: $Id: xhtml-symbol.ent,v 4.1 2001/04/10 09:34:14 altheim Exp $ SMI
Revision: Id: xhtml-symbol.ent,v 4.1 2001/04/10 09:34:14 altheim Exp $ SMI
Portions (C) International Organization for Standardization 1986:
Permission to copy in any form is granted for use with conforming

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id: hyphenation.dtd,v 1.3 2004/02/27 18:34:59 jeremias Exp $ -->
<!-- Id: hyphenation.dtd,v 1.3 2004/02/27 18:34:59 jeremias Exp $ -->
<!ELEMENT hyphenation-info (hyphen-char?, hyphen-min?,
classes, exceptions?, patterns)>

View File

@ -58,7 +58,6 @@ for (my $line_num = 0 ; $line_num <= $#lines ; ++$line_num) {
$in_major_component_versions_section = 0;
next;
}
next if (/^\s*\$Id(?::.*)?\$/); # Skip $Id$ lines
next if (/^\s{0,4}-{5,}\s*$/); # Skip Solr's section underlines
unless ($title) {

View File

@ -18,8 +18,6 @@ servlet container in the directory named "example".
See the tutorial at http://lucene.apache.org/solr/tutorial.html
$Id$
================== 5.0.0 ==================
Versions of Major Components

View File

@ -265,11 +265,6 @@ public class ClusteringComponent extends SearchComponent implements SolrCoreAwar
return "A Clustering component";
}
@Override
public String getSource() {
return "$URL$";
}
/**
* Setup the default clustering engine.
* @see "https://issues.apache.org/jira/browse/SOLR-5219"

View File

@ -46,7 +46,6 @@ import com.sun.mail.gimap.GmailRawSearchTerm;
* >http://wiki.apache.org/solr/DataImportHandler</a> for more details. <b>This
* API is experimental and subject to change</b>
*
* @version $Id$
* @since solr 1.4
*/
public class MailEntityProcessor extends EntityProcessorBase {

View File

@ -315,10 +315,5 @@ public class DataImportHandler extends RequestHandlerBase implements
return DataImporter.MSG.JMX_DESC;
}
@Override
public String getSource() {
return "$URL$";
}
public static final String ENABLE_DEBUG = "enableDebug";
}

View File

@ -122,11 +122,6 @@ public class ExtractingRequestHandler extends ContentStreamHandlerBase implement
public String getDescription() {
return "Add/Update Rich document";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -296,11 +296,7 @@ public final class RequestHandlers {
@Override
public String getSource() {
String rev = "$URL$";
if( _handler != null ) {
rev += "\n" + _handler.getSource();
}
return rev;
return null;
}
@Override

View File

@ -2408,7 +2408,7 @@ public final class SolrCore implements SolrInfoMBean, Closeable {
@Override
public String getSource() {
return "$URL$";
return null;
}
@Override

View File

@ -41,9 +41,4 @@ public class BinaryUpdateRequestHandler extends UpdateRequestHandler {
public String getDescription() {
return "Add/Update multiple documents with javabin format";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -37,11 +37,6 @@ public class CSVRequestHandler extends UpdateRequestHandler {
public String getDescription() {
return "Add/Update multiple documents with CSV formatted rows";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -122,11 +122,6 @@ public class DocumentAnalysisRequestHandler extends AnalysisRequestHandlerBase {
return "Provides a breakdown of the analysis process of provided documents";
}
@Override
public String getSource() {
return "$URL$";
}
//================================================ Helper Methods ==================================================

View File

@ -66,9 +66,4 @@ public class DumpRequestHandler extends RequestHandlerBase
public String getDescription() {
return "Dump handler (debug)";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -107,11 +107,6 @@ public class FieldAnalysisRequestHandler extends AnalysisRequestHandlerBase {
return "Provide a breakdown of the analysis process of field/query text";
}
@Override
public String getSource() {
return "$URL$";
}
// ================================================= Helper methods ================================================
/**

View File

@ -38,11 +38,6 @@ public class JsonUpdateRequestHandler extends UpdateRequestHandler {
public String getDescription() {
return "Add documents with JSON";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -456,11 +456,6 @@ public class MoreLikeThisHandler extends RequestHandlerBase
return "Solr MoreLikeThis";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
try {

View File

@ -293,9 +293,4 @@ public class PingRequestHandler extends RequestHandlerBase implements SolrCoreAw
public String getDescription() {
return "Reports application health to a load-balancer";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -40,11 +40,6 @@ public class RealTimeGetHandler extends SearchHandler {
return "The realtime get handler";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
return null;

View File

@ -549,11 +549,6 @@ public class ReplicationHandler extends RequestHandlerBase implements SolrCoreAw
return "ReplicationHandler provides replication of index and configuration files from Master to Slaves";
}
@Override
public String getSource() {
return "$URL$";
}
/**
* returns the CommitVersionInfo for the current searcher, or null on error.
*/

View File

@ -177,7 +177,7 @@ public abstract class RequestHandlerBase implements SolrRequestHandler, SolrInfo
@Override
public abstract String getDescription();
@Override
public abstract String getSource();
public String getSource() { return null; }
@Override
public String getVersion() {

View File

@ -50,11 +50,6 @@ public class StandardRequestHandler extends SearchHandler
return "The standard Solr request handler";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
try {

View File

@ -164,11 +164,6 @@ public class UpdateRequestHandler extends ContentStreamHandlerBase {
return "Add documents using XML (with XSLT), CSV, JSON, or javabin";
}
@Override
public String getSource() {
return "$URL$";
}
public static void addImplicits(List<PluginInfo> implicits) {
implicits.add(getPluginInfo("/update",Collections.emptyMap()));
implicits.add(getPluginInfo("/update/json", singletonMap("update.contentType", "application/json")));

View File

@ -40,11 +40,6 @@ public class XmlUpdateRequestHandler extends UpdateRequestHandler {
public String getDescription() {
return "Add documents with XML";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -40,9 +40,4 @@ public class XsltUpdateRequestHandler extends UpdateRequestHandler {
public String getDescription() {
return "Add documents with XML, transforming with XSLT first";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -123,7 +123,7 @@ public class AdminHandlers implements SolrCoreAware, SolrRequestHandler
@Override
public String getSource() {
return "$URL$";
return null;
}
@Override

View File

@ -670,9 +670,4 @@ public class CollectionsHandler extends RequestHandlerBase {
public String getDescription() {
return "Manage SolrCloud Collections";
}
@Override
public String getSource() {
return "$URL: https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/admin/CollectionHandler.java $";
}
}

View File

@ -1154,11 +1154,6 @@ public class CoreAdminHandler extends RequestHandlerBase {
return "Manage Multiple Solr Cores";
}
@Override
public String getSource() {
return "$URL$";
}
/**
* Class to implement multi-threaded CoreAdminHandler behaviour.
* This accepts all of the context from handleRequestBody.

View File

@ -337,9 +337,4 @@ public class EditFileRequestHandler extends RequestHandlerBase {
public String getDescription() {
return "Admin Config File -- update config files directly";
}
@Override
public String getSource() {
return "$URL: https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/admin/ShowFileRequestHandler.java $";
}
}

View File

@ -105,11 +105,6 @@ public class InfoHandler extends RequestHandlerBase {
return "System Information";
}
@Override
public String getSource() {
return "$URL: https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/admin/InfoHandler.java $";
}
protected PropertiesRequestHandler getPropertiesHandler() {
return propertiesHandler;
}

View File

@ -155,9 +155,4 @@ public class LoggingHandler extends RequestHandlerBase implements SolrCoreAware
public String getDescription() {
return "Logging Handler";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -657,11 +657,6 @@ public class LukeRequestHandler extends RequestHandlerBase
return "Lucene Index Browser. Inspired and modeled after Luke: http://www.getopt.org/luke/";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
try {

View File

@ -89,9 +89,4 @@ public class PluginInfoHandler extends RequestHandlerBase
public String getDescription() {
return "Registry";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -53,9 +53,4 @@ public class PropertiesRequestHandler extends RequestHandlerBase
public String getDescription() {
return "Get System Properties";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -380,9 +380,4 @@ public class ShowFileRequestHandler extends RequestHandlerBase
public String getDescription() {
return "Admin Config File -- view or update config files directly";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -300,9 +300,4 @@ public class SolrInfoMBeanHandler extends RequestHandlerBase {
public String getDescription() {
return "Get Info (and statistics) for registered SolrInfoMBeans";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -343,11 +343,6 @@ public class SystemInfoHandler extends RequestHandlerBase
public String getDescription() {
return "Get System Info";
}
@Override
public String getSource() {
return "$URL$";
}
private static final long ONE_KB = 1024;
private static final long ONE_MB = ONE_KB * ONE_KB;

View File

@ -129,9 +129,4 @@ public class ThreadDumpHandler extends RequestHandlerBase
public String getDescription() {
return "Thread Dump";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -80,11 +80,6 @@ public class AnalyticsComponent extends SearchComponent {
return "Perform analytics";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public String getVersion() {
return getClass().getPackage().getSpecificationVersion();

View File

@ -368,11 +368,6 @@ public class DebugComponent extends SearchComponent
return "Debug Information";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
return null;

View File

@ -365,11 +365,6 @@ public class ExpandComponent extends SearchComponent implements PluginInfoInitia
return "Expand Component";
}
@Override
public String getSource() {
return "$URL: https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/component/ExpandComponent.java $";
}
@Override
public URL[] getDocs() {
try {

View File

@ -681,11 +681,6 @@ public class FacetComponent extends SearchComponent
return "Handle Faceting";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
return null;

View File

@ -215,11 +215,6 @@ public class HighlightComponent extends SearchComponent implements PluginInfoIni
return "Highlighting";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
return null;

View File

@ -407,11 +407,6 @@ public class MoreLikeThisComponent extends SearchComponent {
return "More Like This";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
return null;

View File

@ -267,8 +267,4 @@ public class PivotFacetHelper extends SimpleFacets
// public String getDescription() {
// return "Handle Pivot (multi-level) Faceting";
// }
//
// public String getSource() {
// return "$URL$";
// }
}

View File

@ -1278,11 +1278,6 @@ public class QueryComponent extends SearchComponent
return "query";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
return null;

View File

@ -603,11 +603,6 @@ public class QueryElevationComponent extends SearchComponent implements SolrCore
return "Query Boosting -- boost particular documents for a given query";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
try {

View File

@ -492,11 +492,6 @@ public class RealTimeGetComponent extends SearchComponent
return "query";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public URL[] getDocs() {
return null;

View File

@ -115,10 +115,4 @@ public class ResponseLogComponent extends SearchComponent {
public String getDescription() {
return "A component that inserts the retrieved documents (and optionally scores) into the response log entry";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -101,7 +101,7 @@ public abstract class SearchComponent implements SolrInfoMBean, NamedListInitial
@Override
public abstract String getDescription();
@Override
public abstract String getSource();
public String getSource() { return null; }
@Override
public String getVersion() {

View File

@ -383,11 +383,6 @@ public class SearchHandler extends RequestHandlerBase implements SolrCoreAware ,
}
return sb.toString();
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -758,10 +758,4 @@ public class SpellCheckComponent extends SearchComponent implements SolrCoreAwar
public String getDescription() {
return "A Spell Checker component";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -170,12 +170,6 @@ public class StatsComponent extends SearchComponent {
public String getDescription() {
return "Calculate Statistics";
}
@Override
public String getSource() {
return "$URL$";
}
}
class StatsInfo {

View File

@ -320,11 +320,6 @@ public class SuggestComponent extends SearchComponent implements SolrCoreAware,
return "Suggester component";
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public NamedList getStatistics() {
NamedList<String> stats = new SimpleOrderedMap<>();

View File

@ -468,11 +468,6 @@ public class TermVectorComponent extends SearchComponent implements SolrCoreAwar
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public String getDescription() {
return "A Component for working with Term Vectors";

View File

@ -474,11 +474,6 @@ public class TermsComponent extends SearchComponent {
}
}
@Override
public String getSource() {
return "$URL$";
}
@Override
public String getDescription() {
return "A Component for working with Term Enumerators";

View File

@ -74,9 +74,4 @@ public class BreakIteratorBoundaryScanner extends SolrBoundaryScanner {
public String getDescription() {
return "BreakIteratorBoundaryScanner";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -40,9 +40,4 @@ public class DefaultEncoder extends HighlightingPluginBase implements
public String getDescription() {
return "DefaultEncoder";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -46,11 +46,6 @@ public class GapFragmenter extends HighlightingPluginBase implements SolrFragmen
public String getDescription() {
return "GapFragmenter";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -52,7 +52,7 @@ public abstract class HighlightingPluginBase implements SolrInfoMBean
@Override
public abstract String getDescription();
@Override
public abstract String getSource();
public String getSource() { return null; }
@Override
public String getVersion() {

View File

@ -40,9 +40,4 @@ public class HtmlEncoder extends HighlightingPluginBase implements SolrEncoder {
public String getDescription() {
return "HtmlEncoder";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -45,9 +45,4 @@ public class HtmlFormatter extends HighlightingPluginBase implements SolrFormatt
public String getDescription() {
return "HtmlFormatter";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -93,11 +93,6 @@ public class RegexFragmenter extends HighlightingPluginBase implements SolrFragm
public String getDescription() {
return "RegexFragmenter (" + defaultPatternRaw + ")";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -40,9 +40,4 @@ public class ScoreOrderFragmentsBuilder extends SolrFragmentsBuilder {
public String getDescription() {
return "ScoreOrderFragmentsBuilder";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -43,9 +43,4 @@ public class SimpleBoundaryScanner extends SolrBoundaryScanner {
public String getDescription() {
return "SimpleBoundaryScanner";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -42,9 +42,4 @@ public class SimpleFragListBuilder extends HighlightingPluginBase implements
public String getDescription() {
return "SimpleFragListBuilder";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -40,9 +40,4 @@ public class SimpleFragmentsBuilder extends SolrFragmentsBuilder {
public String getDescription() {
return "SimpleFragmentsBuilder";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -42,9 +42,4 @@ public class SingleFragListBuilder extends HighlightingPluginBase implements
public String getDescription() {
return "SingleFragListBuilder";
}
@Override
public String getSource() {
return "$URL$";
}
}

View File

@ -42,9 +42,4 @@ public class WeightedFragListBuilder extends HighlightingPluginBase implements
public String getDescription() {
return "WeightedFragListBuilder";
}
@Override
public String getSource() {
return "$URL: http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/highlight/WeightedFragListBuilder.java $";
}
}

View File

@ -191,7 +191,7 @@ public class FastLRUCache<K,V> extends SolrCacheBase implements SolrCache<K,V> {
@Override
public String getSource() {
return "$URL$";
return null;
}

View File

@ -223,7 +223,7 @@ public class LFUCache<K, V> implements SolrCache<K, V> {
@Override
public String getSource() {
return "$URL$";
return null;
}
@Override

View File

@ -219,7 +219,7 @@ public class LRUCache<K,V> extends SolrCacheBase implements SolrCache<K,V> {
@Override
public String getSource() {
return "$URL$";
return null;
}
@Override

View File

@ -91,7 +91,7 @@ public abstract class QParserPlugin implements NamedListInitializedPlugin, SolrI
@Override
public String getSource() {
return "$URL$";
return null;
}
@Override

View File

@ -43,9 +43,7 @@ public class SolrFieldCacheMBean implements SolrInfoMBean {
@Override
public Category getCategory() { return Category.CACHE; }
@Override
public String getSource() {
return "$URL$";
}
public String getSource() { return null; }
@Override
public URL[] getDocs() {
return null;

View File

@ -2210,7 +2210,7 @@ public class SolrIndexSearcher extends IndexSearcher implements Closeable,SolrIn
@Override
public String getSource() {
return "$URL$";
return null;
}
@Override

View File

@ -352,10 +352,5 @@ public class FileFloatSource extends ValueSource {
public String getDescription() {
return "Reload readerCache request handler";
}
@Override
public String getSource() {
return "$URL$";
}
}
}

View File

@ -837,7 +837,7 @@ public class DirectUpdateHandler2 extends UpdateHandler implements SolrCoreState
@Override
public String getSource() {
return "$URL$";
return null;
}
@Override

View File

@ -113,14 +113,4 @@ DisMaxRequestHandler.
</div>
<hr>
<pre>
$Id$
$Source:$
</pre>
</body> </html>

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id: hyphenation.dtd,v 1.3 2004/02/27 18:34:59 jeremias Exp $ -->
<!-- Id: hyphenation.dtd,v 1.3 2004/02/27 18:34:59 jeremias Exp $ -->
<!ELEMENT hyphenation-info (hyphen-char?, hyphen-min?,
classes, exceptions?, patterns)>

View File

@ -64,12 +64,8 @@ public class SolrInfoMBeanTest extends SolrTestCaseJ4
//System.out.println( info.getClass() );
assertNotNull( info.getName() );
assertNotNull( info.getDescription() );
assertNotNull( info.getSource() );
assertNotNull( info.getCategory() );
// Make sure the URL has the classname in it
//assertTrue(info.getSource(), info.getSource().indexOf(info.getClass().getSimpleName()+".java")>0 );
if( info instanceof LRUCache ) {
continue;
}

View File

@ -52,12 +52,6 @@ public class MockQuerySenderListenerReqHandler extends RequestHandlerBase {
return result;
}
@Override
public String getSource() {
String result = null;
return result;
}
@Override
public NamedList<Object> getStatistics() {
NamedList<Object> lst = super.getStatistics();

View File

@ -270,5 +270,4 @@ class EmptyRequestHandler extends RequestHandlerBase
}
@Override public String getDescription() { return null; }
@Override public String getSource() { return null; }
}

View File

@ -220,12 +220,6 @@ public class ResponseHeaderTest extends SolrJettyTestBase {
public String getDescription() {
return null;
}
@Override
public String getSource() {
return null;
}
}
}

View File

@ -7,7 +7,7 @@
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
* Revision: Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
*
*/

View File

@ -7,7 +7,7 @@
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
* Revision: Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
*
*/

View File

@ -7,7 +7,7 @@
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
* Revision: Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
*
*/

View File

@ -7,7 +7,7 @@
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
* Revision: Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
*
*/

View File

@ -7,7 +7,7 @@
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
* Revision: Id: jquery.autocomplete.js 5785 2008-07-12 10:37:33Z joern.zaefferer $
*
*/

View File

@ -1,6 +1,6 @@
/*--
$Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $
Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $
Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
All rights reserved.

View File

@ -1,4 +1,4 @@
xml-commons/LICENSE.txt $Id: LICENSE.txt,v 1.1 2002/01/31 23:42:49 curcuru Exp $
xml-commons/LICENSE.txt Id: LICENSE.txt,v 1.1 2002/01/31 23:42:49 curcuru Exp $
See README.txt for additional licensing information.
/* ====================================================================

View File

@ -32,8 +32,8 @@ THE SOFTWARE.
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* $Date: 2010-07-01 10:51:11 +0300 (четв, 01 юли 2010) $
* $Revision: 191 $
* Date: 2010-07-01 10:51:11 +0300 (четв, 01 юли 2010) $
* Revision: 191 $
*/
/*jslint browser: true, onevar: true, undef: true, bitwise: true, strict: true */