From 764c9d64245b90cddef47289467a623ec0dac9e4 Mon Sep 17 00:00:00 2001 From: skygo Date: Tue, 25 Feb 2014 02:01:14 +0000 Subject: [PATCH] fix javadoc. Generation possible on jdk8 (fix html content + replace @todo with TODO ) git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571532 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/archiva/cli/ArchivaCli.java | 2 +- .../apache/archiva/checksum/ChecksummedFile.java | 12 ++++++------ .../archiva/common/utils/VersionComparator.java | 14 ++++++++------ .../apache/archiva/common/utils/VersionUtil.java | 10 +++++----- .../configuration/DefaultArchivaConfiguration.java | 2 +- .../apache/archiva/configuration/FileTypes.java | 8 +++----- .../consumers/RepositoryContentConsumer.java | 8 ++------ .../CleanupReleasedSnapshotsRepositoryPurge.java | 4 ---- .../common/plexusbridge/PlexusSisuBridge.java | 2 +- .../java/org/apache/archiva/policies/Policy.java | 2 +- .../proxy/DefaultRepositoryProxyConnectors.java | 6 ++---- .../repository/ManagedRepositoryContent.java | 6 ------ .../repository/RemoteRepositoryContent.java | 2 +- .../content/ArtifactClassifierMapping.java | 2 +- .../archiva/repository/metadata/MetadataTools.java | 4 ++-- .../scanner/RepositoryContentConsumers.java | 2 -- .../repository/scanner/RepositoryScanner.java | 8 +++----- .../apache/archiva/test/utils/ListGenerator.java | 4 ++-- .../transaction/AbstractTransactionEvent.java | 2 +- .../apache/archiva/transaction/CopyFileEvent.java | 2 +- .../archiva/transaction/CreateFileEvent.java | 2 +- .../archiva/transaction/FileTransaction.java | 4 ++-- .../indexing/ArchivaIndexingTaskExecutor.java | 2 +- .../indexing/IndexingArchivaTaskScheduler.java | 2 +- .../archiva/rest/api/model/MetadataAddRequest.java | 2 +- .../apache/archiva/rest/api/model/StringList.java | 2 +- .../api/services/ManagedRepositoriesService.java | 2 +- .../api/services/ReportRepositoriesService.java | 2 +- .../rest/services/DefaultBrowseService.java | 2 +- .../services/DefaultReportRepositoriesService.java | 2 +- .../archiva/security/ServletAuthenticator.java | 4 ++-- .../archiva/metadata/model/CiManagement.java | 2 +- .../apache/archiva/metadata/model/Dependency.java | 2 +- .../archiva/metadata/model/IssueManagement.java | 2 +- .../apache/archiva/metadata/model/MailingList.java | 2 +- .../repository/DefaultMetadataResolver.java | 8 ++++---- .../metadata/repository/MetadataRepository.java | 2 +- .../repository/events/RepositoryListener.java | 4 ++-- .../java/org/apache/archiva/audit/Auditable.java | 4 ++-- .../storage/maven2/Maven2RepositoryStorage.java | 6 +++--- .../legacy/ManagedLegacyRepositoryContent.java | 2 +- .../legacy/RemoteLegacyRepositoryContent.java | 2 +- .../content/maven2/RepositoryRequest.java | 3 --- .../repository/jcr/JcrMetadataRepository.java | 4 ++-- .../consumers/DuplicateArtifactsConsumer.java | 2 +- 45 files changed, 75 insertions(+), 98 deletions(-) diff --git a/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java b/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java index f7147575b..031bcac69 100644 --- a/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java +++ b/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java @@ -56,7 +56,7 @@ import java.util.Properties; * ArchivaCli * * - * @todo add back reading of archiva.xml from a given location + * TODO add back reading of archiva.xml from a given location */ public class ArchivaCli { diff --git a/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java b/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java index e6a3d6aa5..0aeb76285 100644 --- a/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java +++ b/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java @@ -35,9 +35,9 @@ import java.util.regex.Pattern; /** * ChecksummedFile - *

+ * + *

Terminology:

*
- * Terminology: *
Checksum File
*
The file that contains the previously calculated checksum value for the reference file. * This is a text file with the extension ".sha1" or ".md5", and contains a single entry @@ -120,12 +120,12 @@ public class ChecksummedFile *

* Given a checksum file, check to see if the file it represents is valid according to the checksum. *

- *

+ * *

* NOTE: Only supports single file checksums of type MD5 or SHA1. *

* - * @param checksumFile the algorithms to check for. + * @param algorithm the algorithms to check for. * @return true if the checksum is valid for the file it represents. or if the checksum file does not exist. * @throws IOException if the reading of the checksumFile or the file it refers to fails. */ @@ -304,10 +304,10 @@ public class ChecksummedFile /** * Parse a checksum string. - *

+ *

* Validate the expected path, and expected checksum algorithm, then return * the trimmed checksum hex string. - * + *

* @param rawChecksumString * @param expectedHash * @param expectedPath diff --git a/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/VersionComparator.java b/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/VersionComparator.java index 6558b2f6c..e39a2e9a6 100644 --- a/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/VersionComparator.java +++ b/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/VersionComparator.java @@ -29,24 +29,26 @@ import java.util.List; /** * VersionComparator - compare the parts of two version strings. - *

+ *

* Technique. - *

+ *

+ *

* * Split the version strings into parts by splitting on "-._" first, then breaking apart words from numbers. - *

+ *

* * "1.0" = "1", "0" * "1.0-alpha-1" = "1", "0", "alpha", "1" * "2.0-rc2" = "2", "0", "rc", "2" * "1.3-m2" = "1", "3", "m", "3" * - *

+ *

* compare each part individually, and when they do not match, perform the following test. - *

+ *

+ *

* Numbers are calculated per normal comparison rules. * Words that are part of the "special word list" will be treated as their index within that heirarchy. * Words that cannot be identified as special, are treated using normal case-insensitive comparison rules. - * + *

* */ public class VersionComparator diff --git a/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/VersionUtil.java b/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/VersionUtil.java index 36f9137a6..ab3322027 100644 --- a/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/VersionUtil.java +++ b/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/VersionUtil.java @@ -55,7 +55,7 @@ public class VersionUtil *

* Tests if the unknown string contains elements that identify it as a version string (or not). *

- *

+ * *

* The algorithm tests each part of the string that is delimited by a '-' (dash) character. * If 75% or more of the sections are identified as 'version' strings, the result is @@ -100,7 +100,7 @@ public class VersionUtil *

* Tests if the identifier is a known simple version keyword. *

- *

+ * *

* This method is different from {@link #isVersion(String)} in that it tests the whole input string in * one go as a simple identifier. (eg "alpha", "1.0", "beta", "debug", "latest", "rc#", etc...) @@ -146,14 +146,14 @@ public class VersionUtil *

* Get the release version of the snapshot version. *

- *

+ * *

* If snapshot version is 1.0-SNAPSHOT, then release version would be 1.0 * And if snapshot version is 1.0-20070113.163208-1.jar, then release version would still be 1.0 *

* - * @param snapshotVersion - * @return + * @param snapshotVersion snapshot version + * @return release version */ public static String getReleaseVersion( String snapshotVersion ) { diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java index 87253b01a..757a116ad 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java @@ -583,7 +583,7 @@ public class DefaultArchivaConfiguration /** * Attempts to write the contents to a file, if an IOException occurs, return false. - *

+ *

* The file will be created if the directory to the file exists, otherwise this will return false. * * @param filetype the filetype (freeform text) to use in logging messages when failure to write. diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/FileTypes.java b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/FileTypes.java index 93df992d6..31f645f7a 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/FileTypes.java +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/FileTypes.java @@ -86,18 +86,16 @@ public class FileTypes } /** - *

* Get the list of patterns for a specified filetype. - *

- *

+ * *

* You will always get a list. In this order. *

    *
  • The Configured List
  • *
  • The Default List
  • - *
  • A single item list of "**/*"
  • + *
  • A single item list of "**/*"
  • *
- *

+ * * * @param id the id to lookup. * @return the list of patterns. diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/RepositoryContentConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/RepositoryContentConsumer.java index e5e422e27..d0483081e 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/RepositoryContentConsumer.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/RepositoryContentConsumer.java @@ -36,14 +36,14 @@ public interface RepositoryContentConsumer /** * Get the list of included file patterns for this consumer. * - * @return the list of {@link String} patterns. (example: "**/*.pom") + * @return the list of {@link String} patterns. (example: "**/*.pom") */ List getIncludes(); /** * Get the list of excluded file patterns for this consumer. * - * @return the list of {@link String} patterns. (example: "**/*.pom") - (can be null for no exclusions) + * @return the list of {@link String} patterns. (example: "**/*.pom") - (can be null for no exclusions) */ List getExcludes(); @@ -51,7 +51,6 @@ public interface RepositoryContentConsumer *

* Event that triggers at the beginning of a scan. *

- *

*

* NOTE: This would be a good place to initialize the consumer, to lock any resources, and to * generally start tracking the scan as a whole. @@ -83,7 +82,6 @@ public interface RepositoryContentConsumer *

* Event indicating a file is to be processed by this consumer. *

- *

*

* NOTE: The consumer does not need to process the file immediately, can can opt to queue and/or track * the files to be processed in batch. Just be sure to complete the processing by the {@link #completeScan()} @@ -108,7 +106,6 @@ public interface RepositoryContentConsumer *

* Event that triggers on the completion of a scan. *

- *

*

* NOTE: If the consumer opted to batch up processing requests in the {@link #processFile(String)} event * this would be the last opportunity to drain any processing queue's. @@ -118,7 +115,6 @@ public interface RepositoryContentConsumer /** * @param executeOnEntireRepo - * @throws Exception */ void completeScan( boolean executeOnEntireRepo ); diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/CleanupReleasedSnapshotsRepositoryPurge.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/CleanupReleasedSnapshotsRepositoryPurge.java index 1f4359d71..86a58445b 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/CleanupReleasedSnapshotsRepositoryPurge.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/repository/CleanupReleasedSnapshotsRepositoryPurge.java @@ -50,7 +50,6 @@ import java.util.List; * This will look in a single managed repository, and purge any snapshots that are present * that have a corresponding released version on the same repository. *

- *

*

* So, if you have the following (presented in the m2/default layout form) ... *

@@ -65,9 +64,6 @@ import java.util.List;
  * then the current highest ranked released (non-snapshot) version is 2.0, which means
  * the snapshots from 1.0-SNAPSHOT, 1.1-SNAPSHOT, 1.2.1-SNAPSHOT, and 2.0-SNAPSHOT can
  * be purged.  Leaving 2.1-SNAPSHOT in alone.
- * 

- * - * */ public class CleanupReleasedSnapshotsRepositoryPurge extends AbstractRepositoryPurge diff --git a/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/java/org/apache/archiva/common/plexusbridge/PlexusSisuBridge.java b/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/java/org/apache/archiva/common/plexusbridge/PlexusSisuBridge.java index b4e2ab2f3..d28b4495d 100644 --- a/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/java/org/apache/archiva/common/plexusbridge/PlexusSisuBridge.java +++ b/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/java/org/apache/archiva/common/plexusbridge/PlexusSisuBridge.java @@ -39,7 +39,7 @@ import java.util.Map; /** * Simple component which will initiate the plexus shim component - * to see plexus components inside a guice container.
+ * to see plexus components inside a guice container.
* So move all of this here to be able to change quickly if needed. * * @author Olivier Lamy diff --git a/archiva-modules/archiva-base/archiva-policies/src/main/java/org/apache/archiva/policies/Policy.java b/archiva-modules/archiva-base/archiva-policies/src/main/java/org/apache/archiva/policies/Policy.java index ee1cbb035..cb960488c 100644 --- a/archiva-modules/archiva-base/archiva-policies/src/main/java/org/apache/archiva/policies/Policy.java +++ b/archiva-modules/archiva-base/archiva-policies/src/main/java/org/apache/archiva/policies/Policy.java @@ -47,7 +47,7 @@ public interface Policy /** * Get the display name for this policy. * - * @todo i18n + * TODO todo i18n * * @return the name for this policy */ diff --git a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java index 278c8f76f..ec6e59328 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java @@ -101,7 +101,7 @@ import java.util.concurrent.ConcurrentHashMap; /** * DefaultRepositoryProxyConnectors * - * @todo exception handling needs work - "not modified" is not really an exceptional case, and it has more layers than + * TODO exception handling needs work - "not modified" is not really an exceptional case, and it has more layers than * your average brown onion */ @Service("repositoryProxyConnectors#default") @@ -922,9 +922,7 @@ public class DefaultRepositoryProxyConnectors * @param remotePath the remote path to attempt to get * @param repository the managed repository that will hold the file * @param origFile the local file to save to - * @return The local file that was transfered. * @throws ProxyException if there was a problem moving the downloaded file into place. - * @throws WagonException if there was a problem tranfering the file. */ private void transferSimpleFile( Wagon wagon, RemoteRepositoryContent remoteRepository, String remotePath, ManagedRepositoryContent repository, File origFile, File destFile ) @@ -992,6 +990,7 @@ public class DefaultRepositoryProxyConnectors * @param request the request properties (utilized by the {@link DownloadPolicy#applyPolicy(String, Properties, File)} * ) * @param localFile the local file (utilized by the {@link DownloadPolicy#applyPolicy(String, Properties, File)}) + * @throws PolicyViolationException */ private void validatePolicies( Map policies, Map settings, Properties request, File localFile ) @@ -1078,7 +1077,6 @@ public class DefaultRepositoryProxyConnectors * * @param repository * @return file location of working directory - * @throws IOException */ private File createWorkingDirectory( ManagedRepositoryContent repository ) { diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/ManagedRepositoryContent.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/ManagedRepositoryContent.java index e6adebb78..13d75edc8 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/ManagedRepositoryContent.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/ManagedRepositoryContent.java @@ -75,7 +75,6 @@ public interface ManagedRepositoryContent *

* Convenience method to get the repository id. *

- *

*

* Equivalent to calling .getRepository().getId() *

@@ -90,7 +89,6 @@ public interface ManagedRepositoryContent * This typically inclues the pom files, and those things with * classifiers (such as doc, source code, test libs, etc...) *

- *

*

* NOTE: Some layouts (such as maven 1 "legacy") are not compatible with this query. *

@@ -98,7 +96,6 @@ public interface ManagedRepositoryContent * @param reference the reference to work off of. * @return the set of ArtifactReferences for related artifacts. * @throws ContentNotFoundException if the initial artifact reference does not exist within the repository. - * @throws LayoutException */ Set getRelatedArtifacts( ArtifactReference reference ) throws ContentNotFoundException; @@ -107,7 +104,6 @@ public interface ManagedRepositoryContent *

* Convenience method to get the repository (on disk) root directory. *

- *

*

* Equivalent to calling .getRepository().getLocation() *

@@ -141,7 +137,6 @@ public interface ManagedRepositoryContent * Given a specific {@link VersionedReference}, return the list of available versions for that * versioned reference. *

- *

*

* NOTE: This is really only useful when working with SNAPSHOTs. *

@@ -149,7 +144,6 @@ public interface ManagedRepositoryContent * @param reference the versioned reference to work off of. * @return the set of versions found. * @throws ContentNotFoundException if the versioned reference does not exist within the repository. - * @throws LayoutException */ Set getVersions( VersionedReference reference ) throws ContentNotFoundException; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/RemoteRepositoryContent.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/RemoteRepositoryContent.java index 7bbe28c0d..b4d77093a 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/RemoteRepositoryContent.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/RemoteRepositoryContent.java @@ -75,7 +75,7 @@ public interface RemoteRepositoryContent void setRepository( RemoteRepository repo ); /** - * Given a repository relative path to a filename, return the {@link VersionedReference} object suitable for the path. + * Given a repository relative path to a filename, return the {@link org.apache.archiva.model.VersionedReference} object suitable for the path. * * @param path the path relative to the repository base dir for the artifact. * @return the {@link ArtifactReference} representing the path. (or null if path cannot be converted to diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/ArtifactClassifierMapping.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/ArtifactClassifierMapping.java index e00cf9ab0..5d2137703 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/ArtifactClassifierMapping.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/ArtifactClassifierMapping.java @@ -25,7 +25,7 @@ import java.util.Map; /** * Maven 1.x request type to classifier mapping for translating to a Maven 2.x storage * - * @todo reuse mappings for other repositories + * TODO reuse mappings for other repositories * * @since 1.1 */ diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java index 157aeaad3..656076ecf 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java @@ -547,7 +547,7 @@ public class MetadataTools * based off of information present in the repository, * the maven-metadata.xml files, and the proxy/repository specific * metadata file contents. - *

+ *

* We must treat this as a group or a project metadata file as there is no way to know in advance * * @param managedRepository the managed repository where the metadata is kept. @@ -754,7 +754,7 @@ public class MetadataTools /** * Update the metadata based on the following rules. - *

+ *

* 1) If this is a SNAPSHOT reference, then utilize the proxy/repository specific * metadata files to represent the current / latest SNAPSHOT available. * 2) If this is a RELEASE reference, and the metadata file does not exist, then diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryContentConsumers.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryContentConsumers.java index d899455e0..3ba6a25c4 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryContentConsumers.java +++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryContentConsumers.java @@ -79,7 +79,6 @@ public class RepositoryContentConsumers * Get the list of Ids associated with those {@link KnownRepositoryContentConsumer} that have * been selected in the configuration to execute. *

- *

*

* NOTE: This list can be larger and contain entries that might not exist or be available * in the classpath, or as a component. @@ -98,7 +97,6 @@ public class RepositoryContentConsumers * Get the list of Ids associated with those {@link InvalidRepositoryContentConsumer} that have * been selected in the configuration to execute. *

- *

*

* NOTE: This list can be larger and contain entries that might not exist or be available * in the classpath, or as a component. diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryScanner.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryScanner.java index 562cd2713..cfa8f17a7 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryScanner.java +++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryScanner.java @@ -43,11 +43,9 @@ public interface RepositoryScanner *

* Typical Ignorable Content patterns. *

- *

*

* NOTE: Do not use for normal webapp or task driven repository scanning. - *

- *

+ *

*

* These patterns are only valid for archiva-cli and archiva-converter use. *

@@ -59,7 +57,7 @@ public interface RepositoryScanner /** * Scan the repository for content changes. - *

+ *

* Internally, this will use the as-configured known and invalid consumer lists. * * @param repository the repository to change. @@ -74,7 +72,7 @@ public interface RepositoryScanner /** * Scan the repository for content changes. - *

+ *

* Internally, this will use the as-configured known and invalid consumer lists. * * @param repository the repository to change. diff --git a/archiva-modules/archiva-base/archiva-test-utils/src/main/java/org/apache/archiva/test/utils/ListGenerator.java b/archiva-modules/archiva-base/archiva-test-utils/src/main/java/org/apache/archiva/test/utils/ListGenerator.java index 71c9a9efc..d0abc42dd 100644 --- a/archiva-modules/archiva-base/archiva-test-utils/src/main/java/org/apache/archiva/test/utils/ListGenerator.java +++ b/archiva-modules/archiva-base/archiva-test-utils/src/main/java/org/apache/archiva/test/utils/ListGenerator.java @@ -25,8 +25,8 @@ import java.util.List; /** * Generator of list of random test method * -Dorg.apache.archiva.test=n - * n<=0 default jdk behavior - * n>0 number of round of random collection + * n<=0 default jdk behavior + * n>0 number of round of random collection * * @author Eric */ diff --git a/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/AbstractTransactionEvent.java b/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/AbstractTransactionEvent.java index e437aff90..7dbe03bf7 100644 --- a/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/AbstractTransactionEvent.java +++ b/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/AbstractTransactionEvent.java @@ -47,7 +47,7 @@ public abstract class AbstractTransactionEvent private List createdFiles = new ArrayList(); /** - * {@link List}<{@link Digester}> + * {@link List}<{@link Digester}> */ private List digesters; diff --git a/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/CopyFileEvent.java b/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/CopyFileEvent.java index 43594a7e5..16c6a1523 100644 --- a/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/CopyFileEvent.java +++ b/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/CopyFileEvent.java @@ -42,7 +42,7 @@ public class CopyFileEvent * * @param source * @param destination - * @param digesters {@link List}<{@link Digester}> digesters to use for checksumming + * @param digesters {@link List}<{@link Digester}> digesters to use for checksumming */ public CopyFileEvent( File source, File destination, List digesters ) { diff --git a/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/CreateFileEvent.java b/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/CreateFileEvent.java index 797a03abb..6e1510a38 100644 --- a/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/CreateFileEvent.java +++ b/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/CreateFileEvent.java @@ -41,7 +41,7 @@ public class CreateFileEvent * * @param content * @param destination - * @param digesters {@link List}<{@link Digester}> digesters to use for checksumming + * @param digesters {@link List}<{@link Digester}> digesters to use for checksumming */ public CreateFileEvent( String content, File destination, List digesters ) { diff --git a/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/FileTransaction.java b/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/FileTransaction.java index e6376217d..35d8b005c 100644 --- a/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/FileTransaction.java +++ b/archiva-modules/archiva-base/archiva-transaction/src/main/java/org/apache/archiva/transaction/FileTransaction.java @@ -77,7 +77,7 @@ public class FileTransaction /** * @param source * @param destination - * @param digesters {@link List}<{@link org.codehaus.plexus.digest.Digester}> digesters to use for checksumming + * @param digesters {@link List}<{@link org.codehaus.plexus.digest.Digester}> digesters to use for checksumming */ public void copyFile( File source, File destination, List digesters ) { @@ -87,7 +87,7 @@ public class FileTransaction /** * @param content * @param destination - * @param digesters {@link List}<{@link org.codehaus.plexus.digest.Digester}> digesters to use for checksumming + * @param digesters {@link List}<{@link org.codehaus.plexus.digest.Digester}> digesters to use for checksumming */ public void createFile( String content, File destination, List digesters ) { diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java index 4108cc9ac..1f1e2c359 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java @@ -88,7 +88,7 @@ public class ArchivaIndexingTaskExecutor /** * depending on current {@link Task} you have. - * If {@link org.apache.archiva.scheduler.indexing.ArtifactIndexingTask.Action#FINISH} && isExecuteOnEntireRepo: + * If {@link org.apache.archiva.scheduler.indexing.ArtifactIndexingTask.Action#FINISH} && isExecuteOnEntireRepo: * repository will be scanned. * * @param task diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/IndexingArchivaTaskScheduler.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/IndexingArchivaTaskScheduler.java index a76e6477e..908c42a2e 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/IndexingArchivaTaskScheduler.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/IndexingArchivaTaskScheduler.java @@ -32,7 +32,7 @@ import javax.inject.Named; /** * Default implementation of a scheduling component for archiva. * - * @todo TODO - consider just folding in, not really scheduled + * TODO - consider just folding in, not really scheduled */ @Service("archivaTaskScheduler#indexing") public class IndexingArchivaTaskScheduler diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/MetadataAddRequest.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/MetadataAddRequest.java index b024fefae..185464395 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/MetadataAddRequest.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/MetadataAddRequest.java @@ -23,7 +23,7 @@ import java.io.Serializable; import java.util.Map; /** - * @author Adrien Lecharpentier + * @author Adrien Lecharpentier <alecharp@apache.org> * @since 1.4-M4 */ @XmlRootElement( name = "metadataAddRequest" ) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/StringList.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/StringList.java index 0d4aa0fcb..fd67219d6 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/StringList.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/StringList.java @@ -24,7 +24,7 @@ import java.util.ArrayList; import java.util.List; /** - * jaxrs fail to return List so use this contains for rest services returning that + * jaxrs fail to return List<String> so use this contains for rest services returning that * * @author Olivier Lamy * @since 1.4-M3 diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ManagedRepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ManagedRepositoriesService.java index 5d3f641e4..4917e6bbe 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ManagedRepositoriesService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ManagedRepositoriesService.java @@ -103,7 +103,7 @@ public interface ManagedRepositoriesService throws ArchivaRestServiceException; /** - * return a pom snippet to use this repository with entities escaped (< > ) + * return a pom snippet to use this repository with entities escaped (< >) * @since 1.4-M3 */ @Path( "getPomSnippet/{repositoryId}" ) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java index 0f3bc4000..b2b10d7a4 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java @@ -35,7 +35,7 @@ import java.util.List; /** * ReportRepositoriesService * - * @author Adrien Lecharpentier + * @author Adrien Lecharpentier <adrien.lecharpentier@zenika.com> * @since 1.4-M3 */ @Path( "/reportServices/" ) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultBrowseService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultBrowseService.java index 316531396..5944d597b 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultBrowseService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultBrowseService.java @@ -1044,7 +1044,7 @@ public class DefaultBrowseService /** * @param path - * @return org/apache -> org , org -> org + * @return org/apache -> org , org -> org */ private String getRootPath( String path ) { diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultReportRepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultReportRepositoriesService.java index bb5deac15..dfdfc433c 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultReportRepositoriesService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultReportRepositoriesService.java @@ -38,7 +38,7 @@ import java.util.List; /** * DefaultReportRepositoriesService * - * @author Adrien Lecharpentier + * @author Adrien Lecharpentier <adrien.lecharpentier@zenika.com> * @since 1.4-M3 */ @Service( "reportRepositoriesService#rest" ) diff --git a/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/archiva/security/ServletAuthenticator.java b/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/archiva/security/ServletAuthenticator.java index 0127d0f6e..b7f878ab8 100644 --- a/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/archiva/security/ServletAuthenticator.java +++ b/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/archiva/security/ServletAuthenticator.java @@ -53,7 +53,7 @@ public interface ServletAuthenticator * @param request * @param securitySession * @param repositoryId - * @param isWriteRequest + * @param permission * @return * @throws AuthorizationException * @throws UnauthorizedException @@ -70,7 +70,7 @@ public interface ServletAuthenticator * * @param principal * @param repoId - * @param isWriteRequest + * @param permission * @return * @throws UnauthorizedException */ diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java index 4662c185d..2b3157056 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java @@ -26,7 +26,7 @@ import java.io.Serializable; /** * Information about the CI system used by the project. * - * @todo considering moving this to a facet - avoid referring to it externally + * TODO considering moving this to a facet - avoid referring to it externally */ @XmlRootElement(name = "ciManagement") public class CiManagement diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java index bf2a5b80e..15bcf24a8 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java @@ -25,7 +25,7 @@ import java.io.Serializable; /** * Information about a dependency that this project has on another project or artifact. * - * @todo will be reviewing what is appropriate for the base here - rest should be in a maven dependency facet - avoid details on it externally + * TODO will be reviewing what is appropriate for the base here - rest should be in a maven dependency facet - avoid details on it externally */ @XmlRootElement(name = "dependency") public class Dependency diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java index 25ba297f7..c10770e5b 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java @@ -26,7 +26,7 @@ import java.io.Serializable; /** * Information about the issue management system used by the project. * - * @todo considering moving this to a facet - avoid referring to it externally + * TODO considering moving this to a facet - avoid referring to it externally */ @XmlRootElement(name = "issueManagement") public class IssueManagement diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/MailingList.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/MailingList.java index ee35302d2..1e56af847 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/MailingList.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/MailingList.java @@ -26,7 +26,7 @@ import java.util.List; /** * Information about the available mailing lists for communicating with the project. * - * @todo considering moving this to a facet - avoid referring to it externally + * TODO considering moving this to a facet - avoid referring to it externally */ @XmlRootElement(name = "mailingList") public class MailingList diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java index 6d505f13d..469b4cf46 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java @@ -43,19 +43,19 @@ import java.util.List; /** * Default implementation of the metadata resolver API. At present it will handle updating the content repository * from new or changed information in the model and artifacts from the repository storage. - *

+ *

* This is a singleton component to allow an alternate implementation to be provided. It is intended to be the same * system-wide for the whole content repository instead of on a per-managed-repository basis. Therefore, the session is * passed in as an argument to obtain any necessary resources, rather than the class being instantiated within the * session in the context of a single managed repository's resolution needs. - *

+ *

* Note that the caller is responsible for the session, such as closing and saving (which is implied by the resolver * being obtained from within the session). The {@link RepositorySession#markDirty()} method is used as a hint to ensure * that the session knows we've made changes at close. We cannot ensure the changes will be persisted if the caller * chooses to revert first. This is preferable to storing the metadata immediately - a separate session would require * having a bi-directional link with the session factory, and saving the existing session might save other changes * unknowingly by the caller. - *

+ *

*/ @Service ("metadataResolver#default") public class DefaultMetadataResolver @@ -67,7 +67,7 @@ public class DefaultMetadataResolver /** * FIXME: this needs to be configurable based on storage type - and could also be instantiated per repo. Change to a * factory, and perhaps retrieve from the session. We should avoid creating one per request, however. - *

+ *

* TODO: Also need to accommodate availability of proxy module * ... could be a different type since we need methods to modify the storage metadata, which would also allow more * appropriate methods to pass in the already determined repository configuration, for example, instead of the ID diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java index 7771351cb..7bec0d6bd 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java @@ -205,7 +205,7 @@ public interface MetadataRepository * @param namespace * @param projectId * @param projectVersion - * @throws MetadataResolutionException + * @throws MetadataRepositoryException * @since 1.4-M4 */ void removeProjectVersion( String repoId, String namespace, String projectId, String projectVersion ) diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/repository/events/RepositoryListener.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/repository/events/RepositoryListener.java index a68c0f171..e23b2ec6a 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/repository/events/RepositoryListener.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/repository/events/RepositoryListener.java @@ -28,10 +28,10 @@ import org.apache.archiva.metadata.repository.storage.RepositoryStorageMetadataE * Listen to events on the repository. This class is a stopgap * refactoring measure until an event bus is in place to handle * generic events such as these. - *

+ *

* This assumes that the events occur before the action has completed, though they don't currently offer any mechanism * to prevent an event from occurring or guarantee that it will happen. - *

+ *

* FIXME: this needs to be made more permanent since 3rd party plugins will depend on it heavily */ public interface RepositoryListener diff --git a/archiva-modules/plugins/audit/src/main/java/org/apache/archiva/audit/Auditable.java b/archiva-modules/plugins/audit/src/main/java/org/apache/archiva/audit/Auditable.java index 3ac8bec1f..5e396b116 100644 --- a/archiva-modules/plugins/audit/src/main/java/org/apache/archiva/audit/Auditable.java +++ b/archiva-modules/plugins/audit/src/main/java/org/apache/archiva/audit/Auditable.java @@ -29,14 +29,14 @@ public interface Auditable /** * Add an AuditListener. * - * @param the listener to add. + * @param auditListener the listener to add. */ void addAuditListener( AuditListener auditListener ); /** * Remove an AuditListener. * - * @param the listener to remove. + * @param auditListener the listener to remove. */ void removeAuditListener( AuditListener auditListener ); diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java index e9ed73077..85ca42828 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java @@ -102,10 +102,10 @@ import java.util.Map; * Maven 2 repository format storage implementation. This class currently takes parameters to indicate the repository to * deal with rather than being instantiated per-repository. * FIXME: instantiate one per repository and allocate permanently from a factory (which can be obtained within the session). - *

+ *

* The session is passed in as an argument to obtain any necessary resources, rather than the class being instantiated * within the session in the context of a single managed repository's resolution needs. - *

+ *

*/ @Service( "repositoryStorage#maven2" ) public class Maven2RepositoryStorage @@ -643,7 +643,7 @@ public class Maven2RepositoryStorage * A relocation capable client will request the POM prior to the artifact, and will then read meta-data and do * client side relocation. A simplier client (like maven 1) will only request the artifact and not use the * metadatas. - *

+ *

* For such clients, archiva does server-side relocation by reading itself the <relocation> element in * metadatas and serving the expected artifact. */ diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/legacy/ManagedLegacyRepositoryContent.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/legacy/ManagedLegacyRepositoryContent.java index 80a784e8d..a13d646d4 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/legacy/ManagedLegacyRepositoryContent.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/legacy/ManagedLegacyRepositoryContent.java @@ -44,7 +44,7 @@ import java.util.Set; * ManagedLegacyRepositoryContent * * - * @todo no need to be a component when filetypes, legacy path parser is not + * TODO no need to be a component when filetypes, legacy path parser is not */ @Service( "managedRepositoryContent#legacy" ) @Scope( "prototype" ) diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/legacy/RemoteLegacyRepositoryContent.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/legacy/RemoteLegacyRepositoryContent.java index 0273e61af..7a6cd5472 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/legacy/RemoteLegacyRepositoryContent.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/legacy/RemoteLegacyRepositoryContent.java @@ -32,7 +32,7 @@ import org.springframework.stereotype.Service; * RemoteLegacyRepositoryContent * * - * @todo no need to be a component once legacy path parser is not + * TODO no need to be a component once legacy path parser is not */ @Service( "remoteRepositoryContent#legacy" ) @Scope( "prototype" ) diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/maven2/RepositoryRequest.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/maven2/RepositoryRequest.java index e678f2d59..bd647bdeb 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/maven2/RepositoryRequest.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/repository/content/maven2/RepositoryRequest.java @@ -31,9 +31,6 @@ import org.apache.commons.lang.StringUtils; /** * RepositoryRequest is used to determine the type of request that is incoming, and convert it to an appropriate * ArtifactReference. - *

- *

- *

*/ public class RepositoryRequest { diff --git a/archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java b/archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java index 9336a0fcc..f7e4e8f88 100644 --- a/archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java +++ b/archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java @@ -69,8 +69,8 @@ import java.util.Map; import java.util.Set; /** - * @todo below: revise storage format for project version metadata - * @todo revise reference storage + * TODO below: revise storage format for project version metadata + * TODO revise reference storage */ public class JcrMetadataRepository implements MetadataRepository diff --git a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java index e2ec3bd82..73ff6e42f 100644 --- a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java +++ b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java @@ -55,7 +55,7 @@ import java.util.List; /** * Search the artifact repository of known SHA1 Checksums for potential duplicate artifacts. - *

+ *

* TODO: no need for this to be a scanner - we can just query the database / content repository to get a full list */ @Service ( "knownRepositoryContentConsumer#duplicate-artifacts" ) -- 2.39.5