Skip to content

Commit f7b96da

Browse files
committed
219: Improve code coverage of ServiceProvider
Task-Url: #219
1 parent 813ba75 commit f7b96da

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/test/java/javax/measure/test/format/SimpleTestUnitFormat.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* Provides a simple interface for formatting and parsing {@linkplain Unit units}.
4141
*
4242
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
43-
* @version 0.7
43+
* @version 1.0, February 13, 2021
4444
*/
4545
public class SimpleTestUnitFormat extends TestUnitFormat {
4646
private final Map<String, String> symbolMap = new HashMap<>();
@@ -88,8 +88,4 @@ public Appendable format(final Unit<?> unit, final Appendable appendable) throws
8888

8989
public void label(Unit<?> unit, String label) {
9090
}
91-
92-
public boolean isLocaleSensitive() {
93-
return false;
94-
}
9591
}

src/test/java/javax/measure/test/format/TestQuantityFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* </p>
4545
*
4646
* @author <a href="mailto:Quantitys@catmedia.us">Werner Keil</a>
47-
* @version 0.2
47+
* @version 1.0
4848
*
4949
*/
5050
abstract class TestQuantityFormat implements QuantityFormat {

0 commit comments

Comments
 (0)