Skip to content

Commit 3a283c4

Browse files
committed
Reformatted 4
1 parent beef8f9 commit 3a283c4

File tree

12 files changed

+30
-30
lines changed

12 files changed

+30
-30
lines changed

src/main/java/com/mapcode/Common.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* ----------------------------------------------------------------------------------------------
2121
* Package private implementation class. For internal use within the Mapcode implementation only.
2222
* ----------------------------------------------------------------------------------------------
23-
* <p/>
23+
*
2424
* This class contains common data structures and methods used by the Mapcode implementation.
2525
*/
2626
class Common {

src/main/java/com/mapcode/Data.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* ----------------------------------------------------------------------------------------------
2424
* Package private implementation class. For internal use within the Mapcode implementation only.
2525
* ----------------------------------------------------------------------------------------------
26-
* <p/>
26+
*
2727
* This class the data class for Mapcode codex items.
2828
*/
2929
class Data {

src/main/java/com/mapcode/DataAccess.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* ----------------------------------------------------------------------------------------------
2525
* Package private implementation class. For internal use within the Mapcode implementation only.
2626
* ----------------------------------------------------------------------------------------------
27-
* <p/>
27+
*
2828
* This class contains the module that reads the Mapcode areas into memory and processes them.
2929
*/
3030
class DataAccess {

src/main/java/com/mapcode/Mapcode.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/**
2525
* This class defines a single mapcode encoding result, including the mapcode itself and the
2626
* territory definition.
27-
* <p/>
27+
*
2828
* Note that the constructor will throw an {@link IllegalArgumentException} if the syntax of the mapcode
2929
* is not correct. It does not throw an {@link UnknownMapcodeException}, because the mapcode
3030
* is not checked for validity, other than its syntax.
@@ -63,7 +63,7 @@ public Mapcode(
6363
/**
6464
* Get the Mapcode string (without territory information) with standard precision.
6565
* The returned mapcode does not include the '-' separator and additional digits.
66-
* <p/>
66+
*
6767
* The returned precision is approximately 5 meters. The precision is defined as the maximum distance to the
6868
* (latitude, longitude) pair that encoded to this mapcode, which means the mapcode defines an area of
6969
* approximately 10 x 10 meters (100 m2).
@@ -109,7 +109,7 @@ public String getMapcodePrecision0() {
109109
* Get the medium-precision mapcode string (without territory information).
110110
* The returned mapcode includes the '-' separator and 1 additional digit, if available.
111111
* If a medium precision code is not available, the regular mapcode is returned.
112-
* <p/>
112+
*
113113
* The returned precision is approximately 1 meter. The precision is defined as the maximum distance to the
114114
* (latitude, longitude) pair that encoded to this mapcode, which means the mapcode defines an area of
115115
* approximately 2 x 2 meters (4 m2).
@@ -134,7 +134,7 @@ public String getMapcodeMediumPrecision() {
134134
* Get the high-precision mapcode string (without territory information).
135135
* The returned mapcode includes the '-' separator and 2 additional digit2, if available.
136136
* If a high precision code is not available, the regular mapcode is returned.
137-
* <p/>
137+
*
138138
* The returned precision is approximately 16 centimeters. The precision is defined as the maximum distance to the
139139
* (latitude, longitude) pair that encoded to this mapcode, which means the mapcode defines an area of
140140
* approximately 32 x 32 centimeters (0.1 m2).
@@ -203,7 +203,7 @@ public enum MapcodeFormatType {
203203
* This method return the mapcode type, given a mapcode string. If the mapcode string has an invalid
204204
* format, {@link MapcodeFormatType#MAPCODE_TYPE_INVALID} is returned. If another value is returned,
205205
* the precision of the mapcode is given.
206-
* <p/>
206+
*
207207
* Note that this method only checks the syntactic validity of the mapcode, the string format. It does not
208208
* check if the mapcode is really a valid mapcode representing a position on Earth.
209209
*
@@ -258,7 +258,7 @@ public static String convertToAscii(@Nonnull final String mapcode) {
258258

259259
/**
260260
* Return the local mapcode string, potentially ambiguous.
261-
* <p/>
261+
*
262262
* Example:
263263
* 49.4V
264264
*
@@ -273,7 +273,7 @@ public String asLocal() {
273273
* Return the full international mapcode, including the full name of the territory and the Mapcode itself.
274274
* The format of the code is:
275275
* full-territory-name mapcode
276-
* <p/>
276+
*
277277
* Example:
278278
* Netherlands 49.4V (regular code)
279279
* Netherlands 49.4V-K2 (high precision code)
@@ -290,7 +290,7 @@ public String asInternationalFullName() {
290290
* International codes use a territory code "AAA".
291291
* The format of the code is:
292292
* short-territory-name mapcode
293-
* <p/>
293+
*
294294
* Example:
295295
* NLD 49.4V (regular code)
296296
* NLD 49.4V-K2 (high-precision code)

src/main/java/com/mapcode/MapcodeCodec.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* ----------------------------------------------------------------------------------------------
2727
* Mapcode public interface.
2828
* ----------------------------------------------------------------------------------------------
29-
* <p/>
29+
*
3030
* This class is the external Java interface for encoding and decoding mapcodes.
3131
*/
3232
public final class MapcodeCodec {
@@ -44,13 +44,13 @@ private MapcodeCodec() {
4444
/**
4545
* Encode a lat/lon pair to a mapcode with territory information. This produces a non-empty list of mapcode,
4646
* with at the very least 1 mapcodes for the lat/lon, which is the "International" mapcode.
47-
* <p/>
47+
*
4848
* The returned result list will always contain at least 1 mapcode, because every lat/lon pair can be encoded.
49-
* <p/>
49+
*
5050
* The list is ordered in such a way that the first result contains the shortest mapcode (which is usually a
5151
* local mapcode). The last result contains the "International" or world-wide mapcode, which is always
5252
* unambiguous, even when used without a territory specification.
53-
* <p/>
53+
*
5454
* The international code can be obtained from the list by using: "results.get(results.size() - 1)".
5555
*
5656
* @param latDeg Latitude, accepted range: -90..90.
@@ -75,9 +75,9 @@ public static List<Mapcode> encode(
7575
/**
7676
* Encode a lat/lon pair to a mapcode with territory information, for a specific territory. This produces a
7777
* potentially empty list of mapcodes (empty if the lat/lon does not fall within the territory for mapcodes).
78-
* <p/>
78+
*
7979
* The returned result list will always contain at least 1 mapcode, because every lat/lon pair can be encoded.
80-
* <p/>
80+
*
8181
* The list is ordered in such a way that the first result contains the shortest mapcode (which is usually a
8282
* local mapcode).
8383
*
@@ -191,7 +191,7 @@ public static Mapcode encodeToInternational(
191191
/**
192192
* Decode a mapcode to a Point. The decoding process may fail for local mapcodes,
193193
* because no territory context is supplied (world-wide).
194-
* <p/>
194+
*
195195
* The accepted format is:
196196
* {mapcode}
197197
* {territory-code} {mapcode}
@@ -231,7 +231,7 @@ public static Point decode(
231231

232232
/**
233233
* Decode a mapcode to a Point. A reference territory is supplied for disambiguation (only used if applicable).
234-
* <p/>
234+
*
235235
* The accepted format is:
236236
* {mapcode} (note that a territory code is not allowed here)
237237
*

src/main/java/com/mapcode/ParentTerritory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* ----------------------------------------------------------------------------------------------
2323
* Mapcode public interface.
2424
* ----------------------------------------------------------------------------------------------
25-
* <p/>
25+
*
2626
* This class defines "parent territories" for territories that have multiple territory codes.
2727
*/
2828
public enum ParentTerritory {

src/main/java/com/mapcode/Point.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* ----------------------------------------------------------------------------------------------
2626
* Package private implementation class. For internal use within the mapcode implementation only.
2727
* ----------------------------------------------------------------------------------------------
28-
* <p/>
28+
*
2929
* This class defines a class for lat/lon points.
3030
*/
3131
public class Point {

src/main/java/com/mapcode/Range.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* ----------------------------------------------------------------------------------------------
2525
* Package private implementation class. For internal use within the Mapcode implementation only.
2626
* ----------------------------------------------------------------------------------------------
27-
* <p/>
27+
*
2828
* This class contains a class for dealing with ranges of comparable items.
2929
*/
3030
class Range<T extends Comparable<T>> {

src/main/java/com/mapcode/SubArea.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* ----------------------------------------------------------------------------------------------
3333
* Package private implementation class. For internal use within the mapcode implementation only.
3434
* ----------------------------------------------------------------------------------------------
35-
* <p/>
35+
*
3636
* This class contains a class that defines an area for local mapcodes.
3737
*/
3838
class SubArea {

src/main/java/com/mapcode/Territory.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* ----------------------------------------------------------------------------------------------
3131
* Mapcode public interface.
3232
* ----------------------------------------------------------------------------------------------
33-
* <p/>
33+
*
3434
* This class defines the available territory codes as used by mapcode.
3535
*/
3636
public enum Territory {
@@ -657,13 +657,13 @@ public static Territory fromTerritoryCode(final int territoryCode) {
657657
* Get a territory from a mapcode territory abbreviation. Note that the provided abbreviation is NOT an
658658
* ISO code: it's a mapcode prefix. As local mapcodes for states have been optimized to prefer to use 2-character
659659
* state codes in local codes, states are preferred over countries in this case.
660-
* <p/>
660+
*
661661
* For example, fromString("AS") returns {@link Territory#IN_AS} rather than {@link Territory#ASM} and
662662
* fromString("BR") returns {@link Territory#IN_BR} rather than {@link Territory#BRA}.
663-
* <p/>
663+
*
664664
* This behavior is intentional as local mapcodes are designed to be as short as possible. A mapcode within
665665
* the Indian state Bihar should therefore be able to specified as "BR 49.46M3" rather "IN-BR 49.46M3".
666-
* <p/>
666+
*
667667
* Brazilian mapcodes, on the other hand, would be specified as "BRA BDHP.JK39-1D", using the ISO 3 letter code.
668668
*
669669
* @param name Territory name.

0 commit comments

Comments
 (0)