1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -606,7 +606,7 @@ public static String getDisplayString(Object obj) {
606
606
607
607
/**
608
608
* Determine the class name for the given object.
609
- * <p>Returns {@code "null"} if {@code obj} is {@code null}.
609
+ * <p>Returns a {@code "null"} String if {@code obj} is {@code null}.
610
610
* @param obj the object to introspect (may be {@code null})
611
611
* @return the corresponding class name
612
612
*/
@@ -617,7 +617,7 @@ public static String nullSafeClassName(Object obj) {
617
617
/**
618
618
* Return a String representation of the specified Object.
619
619
* <p>Builds a String representation of the contents in case of an array.
620
- * Returns {@code "null"} if {@code obj} is {@code null}.
620
+ * Returns a {@code "null"} String if {@code obj} is {@code null}.
621
621
* @param obj the object to build a String representation for
622
622
* @return a String representation of {@code obj}
623
623
*/
@@ -663,8 +663,8 @@ public static String nullSafeToString(Object obj) {
663
663
* Return a String representation of the contents of the specified array.
664
664
* <p>The String representation consists of a list of the array's elements,
665
665
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated
666
- * by the characters {@code ", "} (a comma followed by a space). Returns
667
- * {@code "null"} if {@code array} is {@code null}.
666
+ * by the characters {@code ", "} (a comma followed by a space).
667
+ * Returns a {@code "null"} String if {@code array} is {@code null}.
668
668
* @param array the array to build a String representation for
669
669
* @return a String representation of {@code array}
670
670
*/
@@ -694,8 +694,8 @@ public static String nullSafeToString(Object[] array) {
694
694
* Return a String representation of the contents of the specified array.
695
695
* <p>The String representation consists of a list of the array's elements,
696
696
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated
697
- * by the characters {@code ", "} (a comma followed by a space). Returns
698
- * {@code "null"} if {@code array} is {@code null}.
697
+ * by the characters {@code ", "} (a comma followed by a space).
698
+ * Returns a {@code "null"} String if {@code array} is {@code null}.
699
699
* @param array the array to build a String representation for
700
700
* @return a String representation of {@code array}
701
701
*/
@@ -726,8 +726,8 @@ public static String nullSafeToString(boolean[] array) {
726
726
* Return a String representation of the contents of the specified array.
727
727
* <p>The String representation consists of a list of the array's elements,
728
728
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated
729
- * by the characters {@code ", "} (a comma followed by a space). Returns
730
- * {@code "null"} if {@code array} is {@code null}.
729
+ * by the characters {@code ", "} (a comma followed by a space).
730
+ * Returns a {@code "null"} String if {@code array} is {@code null}.
731
731
* @param array the array to build a String representation for
732
732
* @return a String representation of {@code array}
733
733
*/
@@ -757,8 +757,8 @@ public static String nullSafeToString(byte[] array) {
757
757
* Return a String representation of the contents of the specified array.
758
758
* <p>The String representation consists of a list of the array's elements,
759
759
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated
760
- * by the characters {@code ", "} (a comma followed by a space). Returns
761
- * {@code "null"} if {@code array} is {@code null}.
760
+ * by the characters {@code ", "} (a comma followed by a space).
761
+ * Returns a {@code "null"} String if {@code array} is {@code null}.
762
762
* @param array the array to build a String representation for
763
763
* @return a String representation of {@code array}
764
764
*/
@@ -788,8 +788,8 @@ public static String nullSafeToString(char[] array) {
788
788
* Return a String representation of the contents of the specified array.
789
789
* <p>The String representation consists of a list of the array's elements,
790
790
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated
791
- * by the characters {@code ", "} (a comma followed by a space). Returns
792
- * {@code "null"} if {@code array} is {@code null}.
791
+ * by the characters {@code ", "} (a comma followed by a space).
792
+ * Returns a {@code "null"} String if {@code array} is {@code null}.
793
793
* @param array the array to build a String representation for
794
794
* @return a String representation of {@code array}
795
795
*/
@@ -820,8 +820,8 @@ public static String nullSafeToString(double[] array) {
820
820
* Return a String representation of the contents of the specified array.
821
821
* <p>The String representation consists of a list of the array's elements,
822
822
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated
823
- * by the characters {@code ", "} (a comma followed by a space). Returns
824
- * {@code "null"} if {@code array} is {@code null}.
823
+ * by the characters {@code ", "} (a comma followed by a space).
824
+ * Returns a {@code "null"} String if {@code array} is {@code null}.
825
825
* @param array the array to build a String representation for
826
826
* @return a String representation of {@code array}
827
827
*/
@@ -852,8 +852,8 @@ public static String nullSafeToString(float[] array) {
852
852
* Return a String representation of the contents of the specified array.
853
853
* <p>The String representation consists of a list of the array's elements,
854
854
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated
855
- * by the characters {@code ", "} (a comma followed by a space). Returns
856
- * {@code "null"} if {@code array} is {@code null}.
855
+ * by the characters {@code ", "} (a comma followed by a space).
856
+ * Returns a {@code "null"} String if {@code array} is {@code null}.
857
857
* @param array the array to build a String representation for
858
858
* @return a String representation of {@code array}
859
859
*/
@@ -883,8 +883,8 @@ public static String nullSafeToString(int[] array) {
883
883
* Return a String representation of the contents of the specified array.
884
884
* <p>The String representation consists of a list of the array's elements,
885
885
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated
886
- * by the characters {@code ", "} (a comma followed by a space). Returns
887
- * {@code "null"} if {@code array} is {@code null}.
886
+ * by the characters {@code ", "} (a comma followed by a space).
887
+ * Returns a {@code "null"} String if {@code array} is {@code null}.
888
888
* @param array the array to build a String representation for
889
889
* @return a String representation of {@code array}
890
890
*/
@@ -914,8 +914,8 @@ public static String nullSafeToString(long[] array) {
914
914
* Return a String representation of the contents of the specified array.
915
915
* <p>The String representation consists of a list of the array's elements,
916
916
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated
917
- * by the characters {@code ", "} (a comma followed by a space). Returns
918
- * {@code "null"} if {@code array} is {@code null}.
917
+ * by the characters {@code ", "} (a comma followed by a space).
918
+ * Returns a {@code "null"} String if {@code array} is {@code null}.
919
919
* @param array the array to build a String representation for
920
920
* @return a String representation of {@code array}
921
921
*/
0 commit comments