Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12162

Deprecated RandomStringUtils used in batch-processing quickstart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Optional
    • None
    • 7.1.0.ER2
    • Quickstarts
    • None

    Description

      These warnings are logged when importing batch-processing QS into JBDS:

      The method randomAlphabetic(int) from the type RandomStringUtils is deprecated	BatchController.java	/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/controller	line 73	Java Problem
      The method randomNumeric(int) from the type RandomStringUtils is deprecated	BatchController.java	/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/controller	line 74	Java Problem
      The type RandomStringUtils is deprecated	BatchController.java	/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/controller	line 44	Java Problem
      The type RandomStringUtils is deprecated	BatchController.java	/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/controller	line 73	Java Problem
      The type RandomStringUtils is deprecated	BatchController.java	/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/controller	line 74	Java Problem
      

      RandomStringGenerator should be used instead of RandomStringUtils
      https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/RandomStringUtils.html

      Attachments

        Activity

          People

            tomazcerar Tomaž Cerar (Inactive)
            nziakova@redhat.com Nikoleta Ziakova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: