Skip to content

Commit

Permalink
Drop noinstantiate, noreference
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Dec 18, 2021
1 parent 134615e commit 9878b40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
13 changes: 0 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,19 +187,6 @@
<packages>org.apache.maven.shared.dependency.graph*</packages>
</group>
</groups>
<tags>
<!-- from org.eclipse.aether:aether:1.1.0 -->
<tag>
<name>noinstantiate</name>
<placement>a</placement>
<head>Restriction:</head>
</tag>
<tag>
<name>noreference</name>
<placement>a</placement>
<head>Restriction:</head>
</tag>
</tags>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ private boolean deriveOptional( DependencyNode node, Object conflictId )
* A context used to hold information that is relevant for deriving the scope of a child dependency.
*
* @see ScopeDeriver
* @noinstantiate This class is not intended to be instantiated by clients in production code, the constructor may
* This class is not intended to be instantiated by clients in production code, the constructor may
* change without notice and only exists to enable unit testing.
*/
public static final class ScopeContext
Expand All @@ -760,7 +760,7 @@ public static final class ScopeContext
*
* @param parentScope The scope of the parent dependency, may be {@code null}.
* @param childScope The scope of the child dependency, may be {@code null}.
* @noreference This class is not intended to be instantiated by clients in production code, the constructor may
* This class is not intended to be instantiated by clients in production code, the constructor may
* change without notice and only exists to enable unit testing.
*/
public ScopeContext( String parentScope, String childScope )
Expand Down Expand Up @@ -818,7 +818,7 @@ public void setDerivedScope( String derivedScope )
/**
* A conflicting dependency.
*
* @noinstantiate This class is not intended to be instantiated by clients in production code, the constructor may
* This class is not intended to be instantiated by clients in production code, the constructor may
* change without notice and only exists to enable unit testing.
*/
public static final class ConflictItem
Expand Down Expand Up @@ -878,7 +878,7 @@ public static final class ConflictItem
* of {@link ConflictResolver.ConflictItem#OPTIONAL_TRUE} and
* {@link ConflictResolver.ConflictItem#OPTIONAL_FALSE}.
* @param scopes The derived scopes of the conflicting dependency, must not be {@code null}.
* @noreference This class is not intended to be instantiated by clients in production code, the constructor may
* This class is not intended to be instantiated by clients in production code, the constructor may
* change without notice and only exists to enable unit testing.
*/
public ConflictItem( DependencyNode parent, DependencyNode node, int depth, int optionalities,
Expand Down Expand Up @@ -1000,7 +1000,7 @@ public String toString()
*
* @see VersionSelector
* @see ScopeSelector
* @noinstantiate This class is not intended to be instantiated by clients in production code, the constructor may
* This class is not intended to be instantiated by clients in production code, the constructor may
* change without notice and only exists to enable unit testing.
*/
public static final class ConflictContext
Expand Down Expand Up @@ -1035,7 +1035,7 @@ public static final class ConflictContext
* {@code null}.
* @param conflictIds The mapping from dependency node to conflict id, must not be {@code null}.
* @param items The conflict items in this context, must not be {@code null}.
* @noreference This class is not intended to be instantiated by clients in production code, the constructor may
* This class is not intended to be instantiated by clients in production code, the constructor may
* change without notice and only exists to enable unit testing.
*/
public ConflictContext( DependencyNode root, Object conflictId, Map<DependencyNode, Object> conflictIds,
Expand Down

0 comments on commit 9878b40

Please sign in to comment.