RuoYi лет назад: 3
Родитель
Сommit
a3615e5c6c

+ 2 - 2
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/StringUtils.java

@@ -295,9 +295,9 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
295
     }
295
     }
296
 
296
 
297
     /**
297
     /**
298
-     * 判断给定的set列表中是否包含数组array 判断给定的数组array中是否包含给定的元素value
298
+     * 判断给定的collection列表中是否包含数组array 判断给定的数组array中是否包含给定的元素value
299
      *
299
      *
300
-     * @param set 给定的集合
300
+     * @param collection 给定的集合
301
      * @param array 给定的数组
301
      * @param array 给定的数组
302
      * @return boolean 结果
302
      * @return boolean 结果
303
      */
303
      */

+ 1 - 1
ruoyi-modules/ruoyi-job/src/main/java/com/ruoyi/job/util/JobInvokeUtil.java

@@ -34,7 +34,7 @@ public class JobInvokeUtil
34
         }
34
         }
35
         else
35
         else
36
         {
36
         {
37
-            Object bean = Class.forName(beanName).newInstance();
37
+            Object bean = Class.forName(beanName).getDeclaredConstructor().newInstance();
38
             invokeMethod(bean, methodName, methodParams);
38
             invokeMethod(bean, methodName, methodParams);
39
         }
39
         }
40
     }
40
     }