File tree 2 files changed +2
-4
lines changed
api/src/main/java/org/openmrs/util
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -564,7 +564,7 @@ public static final Collection<String> AUTO_ROLES() {
564
564
*/
565
565
public static final String DEVELOPMENT_MODE_RUNTIME_PROPERTY = "development.mode" ;
566
566
567
- public static final String DEVELOPMENT_MODE_DEFAULT = "true " ;
567
+ public static final String DEVELOPMENT_MODE_DEFAULT = "false " ;
568
568
569
569
/**
570
570
* Global property name for the visit type(s) to automatically close
Original file line number Diff line number Diff line change @@ -1954,7 +1954,7 @@ public static String shortenedStackTrace(String stackTrace) {
1954
1954
* @return formatted stack trace message
1955
1955
* <strong>Should</strong> return null if stackTrace is null
1956
1956
* <strong>Should</strong> return the Error and the Cause
1957
- * @since 2.8
1957
+ * @since 2.8.0
1958
1958
*/
1959
1959
public static String formattedStackTrace (String stackTrace ) {
1960
1960
if (stackTrace == null ) {
@@ -1984,12 +1984,10 @@ public static String formattedStackTrace(String stackTrace) {
1984
1984
result .append ("\n " ).append (line );
1985
1985
foundCause = true ;
1986
1986
}
1987
-
1988
1987
if (foundCause ) {
1989
1988
break ;
1990
1989
}
1991
1990
}
1992
-
1993
1991
return result .toString ();
1994
1992
} else {
1995
1993
return stackTrace ;
You can’t perform that action at this time.
0 commit comments