Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. 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) ]
      

              rhn-support-asoldano Alessio Soldano
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: