Skip to content

Commit

Permalink
Add missing annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Jun 10, 2022
1 parent 9ff0fd3 commit d8473f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/de/blau/android/osm/BoundingBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public BoundingBox(final double left, final double bottom, final double right, f
*
* @param box box with the new borders.
*/
public BoundingBox(final BoundingBox box) {
public BoundingBox(@NonNull final BoundingBox box) {
// this(box.left, box.bottom, box.right, box.top); not good, forces a recalc of everything
this.left = box.left;
this.bottom = box.bottom;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/de/blau/android/osm/ViewBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public ViewBox(final ViewBox box) {
*
* @param box box with the new borders.
*/
public ViewBox(final BoundingBox box) {
public ViewBox(@NonNull final BoundingBox box) {
// this(box.left, box.bottom, box.right, box.top); not good, forces a recalc of everything
super(box);
calcDimensions();
Expand Down

0 comments on commit d8473f6

Please sign in to comment.