Skip to content

Conversation

@osana
Copy link
Contributor

@osana osana commented Jan 16, 2019

address #710

@osana osana requested a review from LukasPaczos January 16, 2019 00:06
@osana osana force-pushed the osana-remove-autovalue branch from d517acb to 7bf6116 Compare January 16, 2019 00:14
@osana osana force-pushed the osana-remove-autovalue branch 7 times, most recently from 0be9ee7 to e408e19 Compare February 4, 2019 22:44
@osana osana force-pushed the osana-remove-autovalue branch 4 times, most recently from a65ac1e to 17b3b63 Compare February 7, 2019 19:51
@osana osana requested a review from tobrun February 7, 2019 19:54
Copy link
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

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

Great progress @osana!

Copy link
Contributor

@LukasPaczos LukasPaczos left a comment

Choose a reason for hiding this comment

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

Looks good!
I had a bunch of nitpicks lined up like code styling or suppressing non-existent warnings, but those should get caught with an improved checkstyle and not block this PR. We should try and merge these changes as soon as possible so that we can fully test them as a part of the upcoming Maps SDK v7.3.0 release train.

protected List<Double> readPointList(JsonReader in) throws IOException {

if (in.peek() == JsonToken.NULL) {
throw new NullPointerException();
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we return null here to print a more detailed from the calling method?

this.boundingBoxAdapter = new BoundingBoxTypeAdapter();
}

@SuppressWarnings("unchecked")
Copy link
Contributor

Choose a reason for hiding this comment

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

There's no warning to suppress.

}

@Override
@SuppressWarnings("unchecked")
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above.

}

@Override
@SuppressWarnings("unchecked")
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above.

}

@Override
@SuppressWarnings("unchecked")
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above.

}

@Override
@SuppressWarnings("unchecked")
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above.

}

@Override
@SuppressWarnings("unchecked")
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above.

/**
* Adapter to read and write coordinates for Point class.
*
* @since 4.1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be 4.4.0.

import java.util.List;

/**
* Adapter to read and write coordinates for Point class.
Copy link
Contributor

Choose a reason for hiding this comment

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

This should mention BoundingBox class.

osana added 2 commits March 4, 2019 13:28
BoundingBoxDeserializer and BoundingBoxSerializer,
GeometryDeserializer
in favor of TypeAdapters
@osana osana force-pushed the osana-remove-autovalue branch from 17b3b63 to c293b78 Compare March 4, 2019 18:29
@osana osana merged commit 82837f3 into master Mar 4, 2019
@osana osana deleted the osana-remove-autovalue branch March 4, 2019 20:38
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.

3 participants