Addressing issue (https://github.com/scijava/scijava-common/issues/128) ...#129
Addressing issue (https://github.com/scijava/scijava-common/issues/128) ...#129dscho merged 1 commit intoscijava:masterfrom
Conversation
|
It passes all of the unit tests and I have tested on my project and it works perfectly. I cannot really think of any new issues it might cause, but I do not have much insight into what the entire scijava framework looks like. |
|
That looks already pretty nice! I would like to ask for one more thing: in this project, we like to rewrite topic branches to look pretty before merging (actually, the real reason is that we do not want to merge commits fixing problems introduced in the same topic branch, that just makes bisecting, following the history, and understanding the changes hard). I wrote up some helpful comments in another OSS project how to rewrite topic branches. |
|
Sorry I am really not experienced in git, can you tell me exactly what I need to do? My bash history is WIth a number of pick and squash commands but I don't appear to have fixed the issue. |
|
Your bash history looks pretty good, there is only one problem: the previous commits were not created using So maybe the best idea would be to do this: Explanation: three commits needed to be squashed into a single one, a fourth commit dropped. The latter was achieved by deleting the corresponding line, and the former by calling |
|
I am sorry, my advice was not very helpful. Let me try to be more helpful by providing the cleaned up branch. |
When creating uber jars via Maven Shade's AppendingTransformer, the annotation indexes are concatenated, separated by line feed characters. So let's just ingore whitespace between indexed annotations, handling the illustrated problem gracefully. This fixes scijava#128. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
Okay, so I used a combination of If you agree, could you please execute the following steps to update this pull request? git fetch https://github.com/scijava/scijava-common concatenated-annotations
git reset --hard 9b82d16c49738e1ec6cf848c80e78e8a7ce4a76c
git push origin +HEAD |
|
@kmader did you have a chance to look over the suggested final version of the commit? |
|
Yes they look fine, I think I have now pushed everything correctly so it should be good to go |
|
Thanks so much! |
...by having the IndexReader ignore new line characters introduced by Maven Shade AppendingTransformer.