Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapScaler.java
r10078 r10079 26 26 private final NavigatableComponent mv; 27 27 28 private final staticint PADDING_LEFT = 5;29 private final staticint PADDING_RIGHT = 50;28 private static final int PADDING_LEFT = 5; 29 private static final int PADDING_RIGHT = 50; 30 30 31 31 /** … … 121 121 * @param width The width of the mark. 122 122 */ 123 publicTickMarks(double dist100Pixel, int width) {123 TickMarks(double dist100Pixel, int width) { 124 124 this.dist100Pixel = dist100Pixel; 125 125 lineDistance = dist100Pixel * width / 100; -
trunk/src/org/openstreetmap/josm/io/CertificateAmendment.java
r10076 r10079 96 96 byte[] sha = md.digest(certBytes); 97 97 if (!SHA_HASHES[i].equals(Utils.toHexString(sha))) 98 throw new RuntimeException(tr("Error adding certificate {0} - hash mismatch. Expected {1}, was {2}", CERT_AMEND[i], SHA_HASHES[i], Utils.toHexString(sha))); 98 throw new RuntimeException(tr("Error adding certificate {0} - hash mismatch. Expected {1}, was {2}", 99 CERT_AMEND[i], SHA_HASHES[i], Utils.toHexString(sha))); 99 100 100 101 ByteArrayInputStream certIS = new ByteArrayInputStream(certBytes); -
trunk/test/unit/org/openstreetmap/josm/gui/TableCellRendererTest.java
r10020 r10079 32 32 * value to check if a NPE is thrown. 33 33 * 34 * @see #630134 * @see <a href="https://josm.openstreetmap.de/ticket/6301">#6301</a> 35 35 */ 36 36 public class TableCellRendererTest { 37 37 38 // list of classes that cannot be easily tested and are verified manually38 // list of classes that cannot be easily tested and are verified either manually or another unit tests 39 39 private static final Collection<String> SKIP_TEST = Arrays.asList( 40 "org.openstreetmap.josm.gui.dialogs.FilterDialog$BooleanRenderer" 40 "org.openstreetmap.josm.gui.dialogs.FilterDialog$BooleanRenderer", 41 "org.openstreetmap.josm.gui.dialogs.relation.SelectionTableCellRenderer" 41 42 ); 42 43 … … 49 50 } 50 51 52 /** 53 * Unit test of all table cell renderers against null values. 54 */ 51 55 @Test 52 56 public void tableCellRendererTest() {
Note:
See TracChangeset
for help on using the changeset viewer.