Skip to content

Receive files from apps review - #1595

Merged
malkomich merged 21 commits into
masterfrom
receive_files_from_apps__review
Apr 14, 2016
Merged

malkomich merged 21 commits into
masterfrom
receive_files_from_apps__review

Conversation

@malkomich

Copy link
Copy Markdown
Contributor

Related issues:

@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @davivel, @LukeOwncloud and @andromaex to be potential reviewers

@davivel
davivel force-pushed the receive_files_from_apps__review branch from 71511e1 to dbf8e00 Compare April 8, 2016 06:41
public boolean onUploadItemClick(OCUpload file) {
/// TODO is this path still active?
File f = new File(file.getLocalPath());
File f = new File(file.getLocalUri().getLastPathSegment());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad smell here; should be .getPath().

@malkomich
malkomich force-pushed the receive_files_from_apps__review branch from fb198b0 to f5b1b74 Compare April 11, 2016 10:50
@davivel

davivel commented Apr 11, 2016

Copy link
Copy Markdown
Contributor

Please, @malkomich , make a code review after my last update. Thx

@davivel
davivel force-pushed the receive_files_from_apps__review branch from 1bfa093 to b8c6057 Compare April 13, 2016 11:48
@davivel davivel changed the title [WIP] Receive files from apps review Receive files from apps review Apr 13, 2016
@davivel

davivel commented Apr 13, 2016

Copy link
Copy Markdown
Contributor

@jesmrec , this is ready to test.

@malkomich , since last commit is mine, you should make a code review.

@owncloud/android-developers , other reviews are also welcome.

if (tmpfiles.size() <= 0) return;
// filter on dirtype
Vector<OCFile> files = new Vector<OCFile>();
Vector<OCFile> files = new Vector<>();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the OCFile removed here especially since the variable definition keeps it?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Annoying Java 7 warning, diamond operator is preferred by the default checker on the right side. I know, I could unset the warning itself. I'm just assuming that there's some real reason by the default warning is that way.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AndyScherzinger

Copy link
Copy Markdown
Contributor

No dry run of the branch, so just looking at the changes. Looks good to me, just some rather very minor comments :)

@jesmrec

jesmrec commented Apr 14, 2016

Copy link
Copy Markdown
Member

Approved, nice work!!

@davivel

davivel commented Apr 14, 2016

Copy link
Copy Markdown
Contributor

Changes done after CR should not be risky. Thank you, @AndyScherzinger :)

@malkomich

Copy link
Copy Markdown
Contributor Author

👍 it looks cool to me

@malkomich
malkomich force-pushed the receive_files_from_apps__review branch from c0a605e to 3e516d9 Compare April 14, 2016 07:36
@malkomich

Copy link
Copy Markdown
Contributor Author

Rebased on master right now ;)

@malkomich
malkomich force-pushed the receive_files_from_apps__review branch from 3e516d9 to 8118334 Compare April 14, 2016 07:39
@malkomich
malkomich merged commit bf10885 into master Apr 14, 2016
@malkomich
malkomich deleted the receive_files_from_apps__review branch April 14, 2016 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants