- Timestamp:
- 2016-03-27T19:26:23+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r10033 r10060 458 458 459 459 /** 460 * Returns the value rounded to OSM precisions, i.e. to {@link LatLon#MAX_SERVER_PRECISION}.460 * Returns the value rounded to OSM precisions, i.e. to {@link #MAX_SERVER_PRECISION}. 461 461 * @param value lat/lon value 462 462 * … … 468 468 469 469 /** 470 * Returns the value rounded to OSM precision. This function is now the same as 471 * {@link #roundToOsmPrecision(double)}, since the rounding error has been fixed. 472 * @param value lat/lon value 473 * 474 * @return rounded value 475 * @deprecated Use {@link #roundToOsmPrecision(double)} instead 476 */ 477 @Deprecated 478 public static double roundToOsmPrecisionStrict(double value) { 479 return roundToOsmPrecision(value); 480 } 481 482 /** 483 * Replies a clone of this lat LatLon, rounded to OSM precisions, i.e. to 484 * MAX_SERVER_PRECISION 470 * Replies a clone of this lat LatLon, rounded to OSM precisions, i.e. to {@link #MAX_SERVER_PRECISION} 485 471 * 486 472 * @return a clone of this lat LatLon … … 491 477 roundToOsmPrecision(lon()) 492 478 ); 493 }494 495 /**496 * Replies a clone of this lat LatLon, rounded to OSM precisions, i.e. to497 * MAX_SERVER_PRECISION498 *499 * @return a clone of this lat LatLon500 * @deprecated Use {@link #getRoundedToOsmPrecision()} instead501 */502 @Deprecated503 public LatLon getRoundedToOsmPrecisionStrict() {504 return getRoundedToOsmPrecision();505 479 } 506 480 -
trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpsServer.java
r9078 r10060 173 173 // Critical: only allow TLS ("serverAuth" = 1.3.6.1.5.5.7.3.1) 174 174 ext.set(ExtendedKeyUsageExtension.NAME, new ExtendedKeyUsageExtension(Boolean.TRUE, 175 new Vector< ObjectIdentifier>(Arrays.asList(new ObjectIdentifier("1.3.6.1.5.5.7.3.1")))));175 new Vector<>(Arrays.asList(new ObjectIdentifier("1.3.6.1.5.5.7.3.1"))))); 176 176 177 177 if (san != null) {
Note:
See TracChangeset
for help on using the changeset viewer.