fawind commented on code in PR #225:
URL: https://github.com/apache/maven-indexer/pull/225#discussion_r907857798


##########
indexer-core/src/test/java/org/apache/maven/index/artifact/M2GavCalculatorTest.java:
##########
@@ -585,6 +585,8 @@ public void testGav()
         assertNull( gav );
         gav = gavCalculator.pathToGav( 
"/dev/mbien/hintmod/maven-metadata-local.xml" );
         assertNull( gav );
+        gav = gavCalculator.pathToGav( 
"/dev/mbien/hintmod/1.0-SNAPSHOT/_remote.repositories" ); // causes MINDEXER-144
+        assertNull( gav );

Review Comment:
   This case failed with `IndexOutOfBoundsException` before the patch.



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to