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

(7.2.z) [RESTEASY-2047] Typo in MicroprofileClientBuilder

XMLWordPrintable

      MicroprofileClientBuilder contains a typo in regexp here

      It seems that correct is

      .split("\\|")

      See:

      Arrays.asList("localhost|127.*|[::1]".split("\\|")).stream().forEach(s -> logger.info(s));
      ->
      14:25:22.342 INFO  [com.resteasy.test.App] (main) localhost
      14:25:22.343 INFO  [com.resteasy.test.App] (main) 127.*
      14:25:22.343 INFO  [com.resteasy.test.App] (main) [::1]
      
      --------------------------------------------------
      
      Arrays.asList("localhost|127.*|[::1]".split("|")).stream().forEach(s -> logger.info(s));
      ->
      14:24:45.179 INFO  [com.resteasy.test.App] (main) l
      14:24:45.180 INFO  [com.resteasy.test.App] (main) o
      14:24:45.180 INFO  [com.resteasy.test.App] (main) c
      14:24:45.180 INFO  [com.resteasy.test.App] (main) a
      14:24:45.180 INFO  [com.resteasy.test.App] (main) l
      14:24:45.180 INFO  [com.resteasy.test.App] (main) h
      14:24:45.180 INFO  [com.resteasy.test.App] (main) o
      14:24:45.180 INFO  [com.resteasy.test.App] (main) s
      14:24:45.180 INFO  [com.resteasy.test.App] (main) t
      14:24:45.180 INFO  [com.resteasy.test.App] (main) |
      14:24:45.180 INFO  [com.resteasy.test.App] (main) 1
      14:24:45.180 INFO  [com.resteasy.test.App] (main) 2
      14:24:45.180 INFO  [com.resteasy.test.App] (main) 7
      14:24:45.180 INFO  [com.resteasy.test.App] (main) .
      14:24:45.180 INFO  [com.resteasy.test.App] (main) *
      14:24:45.181 INFO  [com.resteasy.test.App] (main) |
      14:24:45.181 INFO  [com.resteasy.test.App] (main) [
      14:24:45.181 INFO  [com.resteasy.test.App] (main) :
      14:24:45.181 INFO  [com.resteasy.test.App] (main) :
      14:24:45.181 INFO  [com.resteasy.test.App] (main) 1
      14:24:45.181 INFO  [com.resteasy.test.App] (main) ]
      

              spyrkob Bartosz Spyrko-Smietanko
              spyrkob Bartosz Spyrko-Smietanko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: