Skip to content

Commit b5f1202

Browse files
author
mrzhang
committed
fix misspell
1 parent 3839371 commit b5f1202

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • router-annotation/src/main/java/com/luojilab/router/facade/utils

router-annotation/src/main/java/com/luojilab/router/facade/utils/RouteUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class RouteUtils {
1212

1313
private static final String ROUTERTABLE = "RouterTable";
1414

15-
public static String fiestCharUpperCase(String str) {
15+
public static String firstCharUpperCase(String str) {
1616
char[] ch = str.toCharArray();
1717
if (ch[0] >= 'a' && ch[0] <= 'z') {
1818
ch[0] = (char) (ch[0] - 32);
@@ -21,13 +21,13 @@ public static String fiestCharUpperCase(String str) {
2121
}
2222

2323
public static String genHostUIRouterClass(String host) {
24-
String claName = ROUTERIMPL_OUTPUT_PKG + DOT + fiestCharUpperCase(host) + UIROUTER;
24+
String claName = ROUTERIMPL_OUTPUT_PKG + DOT + firstCharUpperCase(host) + UIROUTER;
2525
return new String(claName);
2626
}
2727

2828

2929
public static String genRouterTable(String host) {
30-
String claName = "./UIRouterTable/" + fiestCharUpperCase(host) + ROUTERTABLE + ".txt";
30+
String claName = "./UIRouterTable/" + firstCharUpperCase(host) + ROUTERTABLE + ".txt";
3131
return new String(claName);
3232
}
3333

0 commit comments

Comments
 (0)