Refactor cv::Mat port to Java#1177
Conversation
janstarzy
commented
Jul 23, 2013
- removed code multiplication for exception handling
- re-introduced dims() which got lost somehow in the previous version
|
@janstarzy Could you please fix build (http://pullrequest.opencv.org/) and combine the commits into one so that we have a clear history in the repo? |
|
Hope that's ok now, Git and Github are still very new to me. The failed build on Lin is due to the test-system, I think. Is's hard for me to provide a X-server ;-) |
|
The X server issue is now resolved, sorry about that. You didn't, however, combine any commits, you just added more, three of which are merges. Please rearrange your history into a series of logical changes, based on the latest 2.4. Interactive rebase is your friend. Also, what's the point of those optional returns? |
|
I merged the commits in my local copy (git log shows just one), but The optional returns were in the original code. They all can be removed
|
You need to force-push them to your fork now. The list of commits here will be automatically updated.
I see. Well, use your judgment. |
|
I hope that's it. I undid a merge from my github-fork to my local copy (proposed by git push w/o force) and push-forced. As you see, I kept the optional returns. |
|
There's one commit now, but the commit message is wrong, and looking at the diff, I can see chunks of other commits. You can fix the former using |
That looked much easier and that's what I did. |
|
I see, the merge failed :-( |
|
That means you haven't used the latest |
|
You're right, I'm already working on it.
|
|
http://pullrequest.opencv.org/ is unreachable. |
|
@apavlenko Andrey, could you please review? |
|
I suggets removing all |
|
That would log all exceptions to ERROR, not DEBUG, ok. /// throw java exception from std::exception /// throw java exception from unknown exception There are a lot of unnecessary return statements after the calls to
|
|
Agree with 2 remaining methods. |
|
👍 |