Skip to content
Browse files

Fixing spelling mistake (runing -> running)

  • Loading branch information...
1 parent 3ceaed7 commit ca9a42b29c7128c22e012eb574dbe141ae7cc3c9 @scompt scompt committed with mbknor Apr 13, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 framework/src/play/Logger.java
  2. +3 −3 framework/src/play/Play.java
View
2 framework/src/play/Logger.java
@@ -73,7 +73,7 @@ public static void init() {
PropertyConfigurator.configure(log4jConf);
Logger.log4j = org.apache.log4j.Logger.getLogger("play");
// In test mode, append logs to test-result/application.log
- if (Play.runingInTestMode()) {
+ if (Play.runningInTestMode()) {
org.apache.log4j.Logger rootLogger = org.apache.log4j.Logger.getRootLogger();
try {
if (!Play.getFile("test-result").exists()) {
View
6 framework/src/play/Play.java
@@ -665,7 +665,7 @@ public static void loadModules() {
}
}
// Auto add special modules
- if (Play.runingInTestMode()) {
+ if (Play.runningInTestMode()) {
addModule("_testrunner", new File(Play.frameworkPath, "modules/testrunner"));
}
if (Play.mode == Mode.DEV) {
@@ -717,14 +717,14 @@ public static File getFile(String path) {
}
/**
- * Returns true if application is runing in test-mode.
+ * Returns true if application is running in test-mode.
* Test-mode is resolved from the framework id.
*
* Your app is running in test-mode if the framwork id (Play.id)
* is 'test' or 'test-?.*'
* @return true if testmode
*/
- public static boolean runingInTestMode(){
+ public static boolean runningInTestMode(){
return id.matches("test|test-?.*");
}
}

0 comments on commit ca9a42b

Please sign in to comment.
Something went wrong with that request. Please try again.