Changeset 8435 in josm for trunk/src/org/openstreetmap/josm/data/validation/FixableTestError.java
- Timestamp:
- 2015-05-31T17:06:27+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/FixableTestError.java
r8378 r8435 14 14 protected final Command fix; 15 15 16 /** 17 * Constructs a new {@code FixableTestError} for a single primitive. 18 * @param tester The tester 19 * @param severity The severity of this error 20 * @param message The error message 21 * @param code The test error reference code 22 * @param primitive The affected primitive 23 * @param fix The command used to fix the error 24 */ 16 25 public FixableTestError(Test tester, Severity severity, String message, int code, OsmPrimitive primitive, Command fix) { 17 26 super(tester, severity, message, code, primitive); … … 19 28 } 20 29 21 public FixableTestError(Test tester, Severity severity, String message, int code, Collection<? extends OsmPrimitive> primitives, Command fix) { 30 /** 31 * Constructs a new {@code FixableTestError} for multiple primitives. 32 * @param tester The tester 33 * @param severity The severity of this error 34 * @param message The error message 35 * @param code The test error reference code 36 * @param primitives The affected primitives 37 * @param fix The command used to fix the error 38 */ 39 public FixableTestError(Test tester, Severity severity, String message, int code, Collection<? extends OsmPrimitive> primitives, 40 Command fix) { 22 41 super(tester, severity, message, code, primitives); 23 42 this.fix = fix; 24 43 } 25 44 26 public FixableTestError(Test tester, Severity severity, String message, int code, Collection<? extends OsmPrimitive> primitives, Collection<?> highlighted, Command fix) { 45 /** 46 * Constructs a new {@code FixableTestError} for multiple primitives. 47 * @param tester The tester 48 * @param severity The severity of this error 49 * @param message The error message 50 * @param code The test error reference code 51 * @param primitives The affected primitives 52 * @param highlighted OSM primitives to highlight 53 * @param fix The command used to fix the error 54 */ 55 public FixableTestError(Test tester, Severity severity, String message, int code, Collection<? extends OsmPrimitive> primitives, 56 Collection<?> highlighted, Command fix) { 27 57 super(tester, severity, message, code, primitives, highlighted); 28 58 this.fix = fix; 29 59 } 30 60 31 public FixableTestError(Test tester, Severity severity, String message, String description, String description_en, int code, OsmPrimitive primitive, Command fix) { 32 super(tester, severity, message, description, description_en, code, primitive); 61 /** 62 * Constructs a new {@code FixableTestError} for a single primitive. 63 * @param tester The tester 64 * @param severity The severity of this error 65 * @param message The error message 66 * @param description The translated description 67 * @param descriptionEn The English description 68 * @param code The test error reference code 69 * @param primitive The affected primitive 70 * @param fix The command used to fix the error 71 */ 72 public FixableTestError(Test tester, Severity severity, String message, String description, String descriptionEn, int code, 73 OsmPrimitive primitive, Command fix) { 74 super(tester, severity, message, description, descriptionEn, code, primitive); 33 75 this.fix = fix; 34 76 } 35 77 36 public FixableTestError(Test tester, Severity severity, String message, String description, String description_en, int code, Collection<? extends OsmPrimitive> primitives, Command fix) { 37 super(tester, severity, message, description, description_en, code, primitives); 78 /** 79 * Constructs a new {@code FixableTestError} for multiple primitives. 80 * @param tester The tester 81 * @param severity The severity of this error 82 * @param message The error message 83 * @param description The translated description 84 * @param descriptionEn The English description 85 * @param code The test error reference code 86 * @param primitives The affected primitives 87 * @param fix The command used to fix the error 88 */ 89 public FixableTestError(Test tester, Severity severity, String message, String description, String descriptionEn, int code, 90 Collection<? extends OsmPrimitive> primitives, Command fix) { 91 super(tester, severity, message, description, descriptionEn, code, primitives); 38 92 this.fix = fix; 39 93 } 40 94 41 public FixableTestError(Test tester, Severity severity, String message, String description, String description_en, int code, Collection<? extends OsmPrimitive> primitives, Collection<?> highlighted, Command fix) { 42 super(tester, severity, message, description, description_en, code, primitives, highlighted); 95 /** 96 * Constructs a new {@code FixableTestError} for multiple primitives. 97 * @param tester The tester 98 * @param severity The severity of this error 99 * @param message The error message 100 * @param description The translated description 101 * @param descriptionEn The English description 102 * @param code The test error reference code 103 * @param primitives The affected primitives 104 * @param highlighted OSM primitives to highlight 105 * @param fix The command used to fix the error 106 */ 107 public FixableTestError(Test tester, Severity severity, String message, String description, String descriptionEn, int code, 108 Collection<? extends OsmPrimitive> primitives, Collection<?> highlighted, Command fix) { 109 super(tester, severity, message, description, descriptionEn, code, primitives, highlighted); 43 110 this.fix = fix; 44 111 }
Note:
See TracChangeset
for help on using the changeset viewer.