Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Url cxn experiment #94

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Url cxn experiment #94

wants to merge 4 commits into from

Conversation

OldSkoolMark
Copy link

This PR contains both AB's B2WebApiUrlConnectionClientImpl and my B2AccountAuthorizerV5AuthImpl . It does not have the necessary changes to support Android pre API 26, which are significant, and required the elimination of some Java 8 language idioms and replacing the Java Date library with ThreeTenABP.

certainmagic and others added 3 commits June 4, 2019 16:33
Copy link
Contributor

@certainmagic certainmagic left a comment

Choose a reason for hiding this comment

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

hi Mark --

This mostly looks familiar. :)

I'd like to discuss the the Authorizer to be sure I understand how you're using it and how we expect it to behave if the server starts unauthenticated. Let's talk today while i'm in the office. :)

thanks,
ab

@@ -18,11 +19,10 @@


@Test
public void testDefaultFactory_failsBecauseTestEnvironmentDoesntIncludeHttpClientJars() {
public void testDefaultFactory_failsSucceedsTestEnvironmentIncludesUrlBasedImplementation() {
Copy link
Contributor

Choose a reason for hiding this comment

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

would you please change "failsSucceeds" to just "succeeds", please? (i'm pretty sure that's my mistake!)

private static File makeHugeFile(String fileNamePrefix) throws IOException {
final long fileSize = (long)Integer.MAX_VALUE + 1000*1000;
final long fileSize = 1000 * 1000 ;//(long)Integer.MAX_VALUE + 1000*1000;
Copy link
Contributor

Choose a reason for hiding this comment

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

is this a change i made? do you know why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants