Skip to content

Commit

Permalink
🐛 TodayStrategies
Browse files Browse the repository at this point in the history
TAKETODAY committed Nov 17, 2023
1 parent 2bca770 commit 0044504
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -427,7 +427,7 @@ public static long getLong(String key, long val) {
* property does not have the correct numeric format, or if the
* specified name is empty or {@code null}.
*
* @param nm property name.
* @param key property name.
* @param val default value.
* @return the {@code Long} value of the property.
* @throws SecurityException for the same reasons as
@@ -436,9 +436,9 @@ public static long getLong(String key, long val) {
* @see System#getProperty(java.lang.String, java.lang.String)
*/
@Nullable
public static Long getLong(String nm, Long val) {
public static Long getLong(String key, Long val) {
try {
String v = System.getProperty(nm);
String v = getProperty(key);
if (v != null) {
try {
return Long.decode(v);

0 comments on commit 0044504

Please sign in to comment.