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

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. 54
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. 86
Use {@link Indexer} instead. 116
Use {@link Indexer} instead. 139
Use {@link Indexer} instead. 163
Use {@link Indexer} instead. 186
Use {@link Indexer} instead. 222
Use {@link Indexer} instead. 231
Use {@link Indexer} instead. 243
Use {@link Indexer} instead. 255
Use {@link Indexer} instead. 267
Use {@link Indexer} instead. 279
Use {@link Indexer} instead. 293
Use {@link Indexer} instead. 333
Use {@link Indexer} instead. 345
Use {@link Indexer} instead. 357
Use {@link Indexer} instead. 375
Use {@link Indexer} instead. 388
org.apache.maven.index.OSGI Line
--No comment-- 46
org.apache.maven.index.QueryCreator Line
Use {@link #constructQuery(Field, SearchExpression)} instead. 67
Use {@link #constructQuery(Field, SearchExpression)} instead. 79
org.apache.maven.index.UniqueGAArtifactFilterPostprocessor Line
Use {@link UniqueArtifactFilterPostprocessor} instead. 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 277

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 ); 63
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 48
org.apache.maven.index.ConcurrentUseTest Line
delete some of those already added artifactInfo.version = "1." + String.valueOf( versionSource.getAndIncrement() ); 128
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 222
we are not falling back anymore to legacy! 371
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 76
Auto-generated method stub 82
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 555
org.apache.maven.index.creator.JarFileContentsIndexCreator Line
verify if class is public or protected 175
skip all inner classes for now 176
org.apache.maven.index.creator.MavenArchetypeArtifactInfoIndexCreator Line
recheck, is the following true? "Maven plugins and Maven Archetypes can be only JARs?" 72
org.apache.maven.index.creator.MavenPluginArtifactInfoIndexCreator Line
recheck, is the following true? "Maven plugins and Maven Archetypes can be only JARs?" 84
org.apache.maven.index.creator.MinimalArtifactInfoIndexCreator Line
handle artifacts without poms 139
this change breaks junit tests, but not sure why is "null" expected value? 192
org.apache.maven.index.creator.OsgiArtifactIndexCreator Line
olamy : supports only jars ? 187
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 285
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