Tag List Report

The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.

Tag Class Total number of occurrences Tag strings used by tag class
Deprecated Work 32 @deprecated
FIXME Work 3 fixme, @fixme
Todo Work 30 todo, @todo

Each tag is detailed below:

Deprecated Work

Number of occurrences found in the code: 32

org.apache.maven.index.AbstractSearchRequest Line
always returns false, since 4.1.0 there is no notion of hit limit 139
always returns -1 (no hit limit), since 4.1.0 there is no notion of hit limit 151
does nothing, since 4.1.0 there is no notion of hit limit 163
org.apache.maven.index.AbstractSearchResponse Line
use {@link #getTotalHitsCount()} instead. 54
always returns false, since 4.1.0 there is no notion of hit limit 90
org.apache.maven.index.DefaultNexusIndexer Line
Use {@link Indexer} instead. Discouraged from further use, as it suffers from multiple synchronization and other problems. As it tries to serve as "context registry" too, but it does not synchronize the access to it, but also, introduces some extras (like "targeted" vs "non targeted" search), that makes it's behavior less intuitive. 55
org.apache.maven.index.IteratorSearchResponse Line
Use {@link #empty(Query)} instead. 118
Left here for backward compatibility, but since version 4.1.0 (see MINDEXER-14) there is NO notion of "hit limit" anymore. 125
org.apache.maven.index.NexusIndexer Line
Use {@link Indexer} instead. 87
Use {@link Indexer} instead. 115
Use {@link Indexer} instead. 138
Use {@link Indexer} instead. 162
Use {@link Indexer} instead. 185
Use {@link Indexer} instead. 221
Use {@link Indexer} instead. 230
Use {@link Indexer} instead. 242
Use {@link Indexer} instead. 254
Use {@link Indexer} instead. 266
Use {@link Indexer} instead. 278
Use {@link Indexer} instead. 292
Use {@link Indexer} instead. 332
Use {@link Indexer} instead. 344
Use {@link Indexer} instead. 356
Use {@link Indexer} instead. 374
Use {@link Indexer} instead. 387
org.apache.maven.index.OSGI Line
--No comment-- 46
org.apache.maven.index.QueryCreator Line
Use {@link #constructQuery(Field, SearchExpression)} instead. 64
Use {@link #constructQuery(Field, SearchExpression)} instead. 76
org.apache.maven.index.UniqueGAArtifactFilterPostprocessor Line
Use {@link UniqueArtifactFilterPostprocessor} instead. 32
org.apache.maven.index.artifact.M1ArtifactRecognizer Line
Maven1 support to be dropped. 25
org.apache.maven.index.artifact.M1GavCalculator Line
Maven1 support to be dropped. 32
org.apache.maven.index.context.UnsupportedExistingLuceneIndexException Line
The deprecated {@link org.apache.maven.index.NexusIndexer} uses this exception. Use {@link org.apache.maven.index.Indexer} instead. 28

FIXME Work

Number of occurrences found in the code: 3

org.apache.maven.index.Nexus1911IncrementalTest Line
- hardcoded assumptions in test that break with lucene 4, or bugs? 41
org.apache.maven.index.context.IndexUtils Line
check if this copies too much, Lucene 4 has no filter for lucene files Directory.copy( source, target, false ); 52
org.apache.maven.index.updater.DefaultIndexUpdater Line
handle deletion failure 288

Todo Work

Number of occurrences found in the code: 30

org.apache.maven.index.AbstractNexusIndexerTest Line
Brian reported, does not work on Windows because of left open files? FileUtils.deleteDirectory( indexDir ); 58
org.apache.maven.index.AbstractRepoNexusIndexerTest Line
we are FAKING here! return false; 517
org.apache.maven.index.ArtifactInfoRecord Line
use getters instead of public fields ---------- Listing all the fields that ArtifactInfo has on LuceneIndex 47
org.apache.maven.index.ConcurrentUseTest Line
delete some of those already added artifactInfo.version = "1." + String.valueOf( versionSource.getAndIncrement() ); 132
org.apache.maven.index.DefaultArtifactContextProducer Line
shouldn't this use repository layout instead? 67
org.apache.maven.index.DefaultQueryCreator Line
resolve this better! Decouple QueryCreator and IndexCreators! This is a hack/workaround here 223
we are not falling back anymore to legacy! 362
org.apache.maven.index.DefaultScannerListener Line
scattered across commented out changes while I was fixing NEXUS-2712, cstamas These changes should be applied by borks too much the fragile indexer 101
org.apache.maven.index.Nexus1911IncrementalTest Line
fix this! 308
org.apache.maven.index.OneLineFragmenter Line
Auto-generated method stub 65
Auto-generated method stub 71
org.apache.maven.index.archetype.AbstractArchetypeDataSource Line
maybe update index 114
org.apache.maven.index.artifact.M1GavCalculatorTest Line
fix this! 233
org.apache.maven.index.context.DefaultIndexingContext Line
move this to separate thread to not penalty next incoming searcher 559
org.apache.maven.index.creator.JarFileContentsIndexCreator Line
verify if class is public or protected 173
skip all inner classes for now 174
org.apache.maven.index.creator.MavenArchetypeArtifactInfoIndexCreator Line
recheck, is the following true? "Maven plugins and Maven Archetypes can be only JARs?" 70
org.apache.maven.index.creator.MavenPluginArtifactInfoIndexCreator Line
recheck, is the following true? "Maven plugins and Maven Archetypes can be only JARs?" 80
org.apache.maven.index.creator.MinimalArtifactInfoIndexCreator Line
handle artifacts without poms 138
this change breaks junit tests, but not sure why is "null" expected value? 191
org.apache.maven.index.creator.OsgiArtifactIndexCreator Line
olamy : supports only jars ? 186
org.apache.maven.index.incremental.DefaultIncrementalHandlerTest Line
Auto-generated method stub 148
Auto-generated method stub 155
Auto-generated method stub 162
Auto-generated method stub 169
org.apache.maven.index.updater.IndexDataWriter Line
optimize storing int value 255
org.apache.maven.index.updater.LocalIndexCacheTest Line
how to assert if merge==false internally? 176
org.apache.maven.index.util.SpoofIndexCreator Line
Auto-generated method stub 49
Auto-generated method stub 54
Auto-generated method stub 59