Skip to content

Commit 1812e92

Browse files
committed
mP1/walkingkooka#2864 IsMethodTesting.toIsMethodName replaces isMethodTypeNamePrefix/isMethodTypeNameSuffix
- mP1/walkingkooka#2864 - IsMethodTesting.toIsMethodName replaces isMethodTypeNamePrefix/isMethodTypeNameSuffix
1 parent b7ef4e5 commit 1812e92

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/test/java/walkingkooka/j2cl/java/text/DecimalFormatPatternComponentTestCase.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,12 @@ public final C createIsMethodObject() {
6464
}
6565

6666
@Override
67-
public String isMethodTypeNamePrefix() {
68-
return DecimalFormatPatternComponent.class.getSimpleName();
69-
}
70-
71-
@Override
72-
public String isMethodTypeNameSuffix() {
73-
return "";
67+
public final String toIsMethodName(final String typeName) {
68+
return this.toIsMethodNameWithPrefixSuffix(
69+
typeName,
70+
DecimalFormatPatternComponent.class.getSimpleName(),
71+
""
72+
);
7473
}
7574

7675
@Override

0 commit comments

Comments
 (0)