File tree Expand file tree Collapse file tree
router-annotation/src/main/java/com/luojilab/router/facade/utils Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments