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 33 @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: 33

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. 117
Use {@link Indexer} instead. 140
Use {@link Indexer} instead. 164
Use {@link Indexer} instead. 187
Use {@link Indexer} instead. 223
Use {@link Indexer} instead. 232
Use {@link Indexer} instead. 244
Use {@link Indexer} instead. 256
Use {@link Indexer} instead. 268
Use {@link Indexer} instead. 280
Use {@link Indexer} instead. 294
Use {@link Indexer} instead. 334
Use {@link Indexer} instead. 346
Use {@link Indexer} instead. 358
Use {@link Indexer} instead. 376
Use {@link Indexer} instead. 389
org.apache.maven.index.OSGI Line
--No comment-- 46
org.apache.maven.index.QueryCreator Line
Use {@link #constructQuery(Field, SearchExpression)} instead. 66
Use {@link #constructQuery(Field, SearchExpression)} instead. 78
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
org.apache.maven.index.updater.WagonHelper Line
use getWagonResourceFetcher with protocol argument 71

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? 35
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 286

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 ); 56
org.apache.maven.index.AbstractRepoNexusIndexerTest Line
we are FAKING here! return false; 504
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() ); 127
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! 297
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! 242
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 141
Auto-generated method stub 148
Auto-generated method stub 155
Auto-generated method stub 162
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? 169
org.apache.maven.index.util.SpoofIndexCreator Line
Auto-generated method stub 49
Auto-generated method stub 54
Auto-generated method stub 59