changeset 54709:027ca9ecbcac intrinsics-project

make j.l.i.FormatterBootstraps non public as it is not part of the API
author vromero
date Tue, 05 Feb 2019 13:53:40 -0500
parents fa6233b78298
children c9a408eb36ff
files src/java.base/share/classes/java/lang/invoke/FormatterBootstraps.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/invoke/FormatterBootstraps.java	Tue Feb 05 11:02:25 2019 -0500
+++ b/src/java.base/share/classes/java/lang/invoke/FormatterBootstraps.java	Tue Feb 05 13:53:40 2019 -0500
@@ -96,7 +96,8 @@
  * <p>In addition , the {@code formatter.specialize} and {@code formatter.directconcat} system properties can be set to
  * {@code "false"} to disable specific optimizations that are enabled by default.</p>
  */
-public final class FormatterBootstraps {
+/*non-public*/
+final class FormatterBootstraps {
 
     /**
      * Generate method handles that directly correspond to the invoked method.
@@ -844,7 +845,7 @@
 
     private static boolean canUseDirectConcat(FormatSpecifier spec, Class<?> argType) {
         if (spec.flags() == FormatString.Flags.NONE
-                && spec.width() == -1 
+                && spec.width() == -1
                 && isSafeArgumentType(spec.conversion(), argType)) {
             switch (spec.conversion()) {
                 case STRING: