Fix some typos

This commit is contained in:
Emux 2019-02-10 16:23:27 +02:00
parent 98ab1f7100
commit bab34aab2b
No known key found for this signature in database
GPG Key ID: 64ED9980896038C3
4 changed files with 6 additions and 6 deletions

View File

@ -330,7 +330,7 @@ public class GeometryBuffer {
* Ensure that 'points' array can hold the number of points. * Ensure that 'points' array can hold the number of points.
* *
* @param size the number of points to hold * @param size the number of points to hold
* @param copy the the current data when array is reallocated * @param copy the current data when array is reallocated
* @return the float[] array holding current coordinates * @return the float[] array holding current coordinates
*/ */
public float[] ensurePointSize(int size, boolean copy) { public float[] ensurePointSize(int size, boolean copy) {

View File

@ -3,7 +3,7 @@
* Copyright 2012 Nicolas Gramlich * Copyright 2012 Nicolas Gramlich
* Copyright 2012 Theodore Hong * Copyright 2012 Theodore Hong
* Copyright 2012 Fred Eisele * Copyright 2012 Fred Eisele
* *
* Copyright 2013 Hannes Janetzek * Copyright 2013 Hannes Janetzek
* Copyright 2016 Stephan Leuschner * Copyright 2016 Stephan Leuschner
* Copyright 2016-2018 devemux86 * Copyright 2016-2018 devemux86
@ -115,7 +115,7 @@ public abstract class MarkerLayer<Item extends MarkerInterface> extends Layer {
* *
* @param x The x in screen coordinates. * @param x The x in screen coordinates.
* @param y The y in screen coordinates. * @param y The y in screen coordinates.
* @param snapPoint To be filled with the the interesting point (in screen * @param snapPoint To be filled with the interesting point (in screen
* coordinates) that is closest to the given x and y. Can be * coordinates) that is closest to the given x and y. Can be
* untouched if not snapping. * untouched if not snapping.
* @return Whether or not to snap to the interesting point. * @return Whether or not to snap to the interesting point.

View File

@ -139,7 +139,7 @@ final class RequiredFields {
} }
static OpenResult readMagicByte(ReadBuffer readBuffer) throws IOException { static OpenResult readMagicByte(ReadBuffer readBuffer) throws IOException {
// read the the magic byte and the file header size into the buffer // read the magic byte and the file header size into the buffer
int magicByteLength = BINARY_OSM_MAGIC_BYTE.length(); int magicByteLength = BINARY_OSM_MAGIC_BYTE.length();
if (!readBuffer.readFromFile(magicByteLength + 4)) { if (!readBuffer.readFromFile(magicByteLength + 4)) {
return new OpenResult("reading magic byte has failed"); return new OpenResult("reading magic byte has failed");
@ -154,7 +154,7 @@ final class RequiredFields {
} }
static OpenResult readMapDate(ReadBuffer readBuffer, MapFileInfoBuilder mapFileInfoBuilder) { static OpenResult readMapDate(ReadBuffer readBuffer, MapFileInfoBuilder mapFileInfoBuilder) {
// get and check the the map date (8 bytes) // get and check the map date (8 bytes)
long mapDate = readBuffer.readLong(); long mapDate = readBuffer.readLong();
// is the map date before 2010-01-10 ? // is the map date before 2010-01-10 ?
if (mapDate < 1200000000000L) { if (mapDate < 1200000000000L) {

View File

@ -239,7 +239,7 @@ public class TessJNI {
} */ } */
/** /**
* Returns number of elements in the the tesselated output. * Returns number of elements in the tesselated output.
*/ */
static native int getElementCount(long inst);/*{ static native int getElementCount(long inst);/*{
return tessGetElementCount((TESStesselator*) inst); return tessGetElementCount((TESStesselator*) inst);