Skip to content

Conversation

@KostyaSha
Copy link
Member

@KostyaSha KostyaSha commented Jun 15, 2016

This change is Reviewable

dockerCertPath;

private boolean dockerTlsVerify;
private Boolean dockerTlsVerify;
Copy link
Member Author

Choose a reason for hiding this comment

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

either setter should use boolean. If null - then docker-java default.

@KostyaSha
Copy link
Member Author

@marcuslinke please review

@KostyaSha KostyaSha added this to the 3.0.1 milestone Jun 15, 2016
@marcuslinke
Copy link
Contributor

@KostyaSha LGTM!

@marcuslinke
Copy link
Contributor

@KostyaSha Oh, a test is failing! Haven' seen this before. So it doesn't LGTM ;)

@codecov-io
Copy link

Current coverage is 23.45%

Merging #605 into master will not change coverage

@@             master       #605   diff @@
==========================================
  Files           296        296          
  Lines          6255       6255          
  Methods           0          0          
  Messages          0          0          
  Branches        558        558          
==========================================
  Hits           1467       1467          
  Misses         4691       4691          
  Partials         97         97          

Powered by Codecov. Last updated by 2f8d317...019770c

@KostyaSha
Copy link
Member Author

@marcuslinke sorry, fixed


builder.withDockerTlsVerify("FALSE");
assertThat(field.getBoolean(builder), is(false));
assertThat((Boolean) field.get(builder), is(false));
Copy link
Member Author

Choose a reason for hiding this comment

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

btw, why not move setters directly into class, then getters would work?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, don't get it...

Copy link
Member Author

Choose a reason for hiding this comment

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

field is object, getBoolean() works only with primitive

@KostyaSha KostyaSha merged commit 92e32a6 into docker-java:master Jun 17, 2016
panuse pushed a commit to TuKangTech/docker-java that referenced this pull request Aug 20, 2017
Allow null value. boolean <-> Boolean error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants