Github user bitstorm commented on a diff in the pull request:
https://github.com/apache/wicket/pull/90#discussion_r24726057
--- Diff:
wicket-core/src/test/java/org/apache/wicket/markup/html/form/upload/MultiFileUploadFieldTest.java
---
@@ -63,13 +64,16 @@ protected void onSubmit()
for (int i = 1; i < 2; i++)
{
FileUpload fileUpload = uploads.get(i);
-
assertEquals(MultiFileUploadFieldTest.class.getSimpleName()+i+".txt",
fileUpload.getClientFileName());
+
assertEquals(MultiFileUploadFieldTest.class.getSimpleName() + (i - 1) + ".txt",
--- End diff --
There's a problem with '(i - 1)'. I've reverted it to simply 'i' and test
passes with success. Can you confirm that this change is not necessary?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---