Skip to content

Commit 5a9b22e

Browse files
authored
Merge pull request #282 from mP1/feature/mP1-walkingkooka-pull-2864-IsMethodTesting-toIsMethodName-replaces-isMethodTypeNamePrefix-isMethodTypeNameSuffix
mP1/walkingkooka#2864 IsMethodTesting.toIsMet…
2 parents b7ef4e5 + 1812e92 commit 5a9b22e

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)