cstamas commented on code in PR #1679:
URL: https://github.com/apache/maven-resolver/pull/1679#discussion_r2577433182


##########
maven-resolver-api/src/main/java/org/eclipse/aether/repository/WorkspaceRepository.java:
##########
@@ -27,11 +28,14 @@
  * the contained artifacts is handled by a {@link WorkspaceReader}.
  */
 public final class WorkspaceRepository implements ArtifactRepository {
+    public static final String ID = "workspace";
 
     private final String type;
 
     private final Object key;
 
+    private final int hashCode;

Review Comment:
   Yes, they are quite often in lists and collections. Maybe not as often as 
RemoteRepository instances, but I think this is okay to do.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to