Changeset 15396 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/SystemOfMeasurement.java
r15395 r15396 138 138 } 139 139 140 /** Translat edname of this system of measurement. */140 /** Translatable name of this system of measurement. */ 141 141 private final String name; 142 142 /** First value, in meters, used to translate unit according to above formula. */ … … 167 167 * x_a == x_m / aValue 168 168 * 169 * @param name Translat edname of this system of measurement169 * @param name Translatable name of this system of measurement 170 170 * @param aValue First value, in meters, used to translate unit according to above formula. 171 171 * @param aName First unit used to format text. … … 186 186 * x_a == x_m / aValue 187 187 * 188 * @param name Translat edname of this system of measurement188 * @param name Translatable name of this system of measurement 189 189 * @param aValue First value, in meters, used to translate unit according to above formula. 190 190 * @param aName First unit used to format text. … … 273 273 274 274 /** 275 * Returns the translat edname of this system of measurement.276 * @return the translat edname of this system of measurement275 * Returns the translatable name of this system of measurement. 276 * @return the translatable name of this system of measurement 277 277 * @since 15395 278 278 */ -
trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java
r14337 r15396 11 11 import java.util.Collection; 12 12 import java.util.HashMap; 13 import java.util.Locale; 13 14 import java.util.TimeZone; 14 15 15 16 import javax.swing.JScrollPane; 16 17 18 import org.junit.BeforeClass; 17 19 import org.junit.Rule; 18 20 import org.junit.Test; … … 42 44 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 43 45 public JOSMTestRules test = new JOSMTestRules().main().projection().i18n(); 46 47 /** 48 * Setup test 49 */ 50 @BeforeClass 51 public static void beforeClass() { 52 // Make sure we don't rely on a specific country, for distance units 53 Locale.setDefault(Locale.ENGLISH); 54 } 44 55 45 56 private static String getHtml(GpxLayer layer) {
Note:
See TracChangeset
for help on using the changeset viewer.