Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
git test
Jfinal
Commits
f743db21
Commit
f743db21
authored
3 years ago
by
James
Browse files
Options
Download
Email Patches
Plain Diff
添加 getControllerKey(),兼容老版本
parent
a5f56c43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/jfinal/config/Routes.java
+9
-1
src/main/java/com/jfinal/config/Routes.java
with
9 additions
and
1 deletion
+9
-1
src/main/java/com/jfinal/config/Routes.java
+
9
-
1
View file @
f743db21
...
...
@@ -277,7 +277,15 @@ public abstract class Routes {
public
String
getControllerPath
()
{
return
controllerPath
;
}
/**
* 已更名为 getControllerPath()
*/
@Deprecated
public
String
getControllerKey
()
{
return
controllerPath
;
}
public
Class
<?
extends
Controller
>
getControllerClass
()
{
return
controllerClass
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help