Skip to content

Commit

Permalink
Removed last set of classes
Browse files Browse the repository at this point in the history
  • Loading branch information
igr committed Sep 14, 2020
1 parent 2915e43 commit 250e440
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 561 deletions.
20 changes: 10 additions & 10 deletions src/main/java/jodd/util/ArraysUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -2063,7 +2063,7 @@ public static String toString(final Object[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand All @@ -2084,7 +2084,7 @@ public static String toString(final String[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand All @@ -2105,7 +2105,7 @@ public static String toString(final byte[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand All @@ -2126,7 +2126,7 @@ public static String toString(final char[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand All @@ -2147,7 +2147,7 @@ public static String toString(final short[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand All @@ -2168,7 +2168,7 @@ public static String toString(final int[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand All @@ -2189,7 +2189,7 @@ public static String toString(final long[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand All @@ -2210,7 +2210,7 @@ public static String toString(final float[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand All @@ -2231,7 +2231,7 @@ public static String toString(final double[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand All @@ -2252,7 +2252,7 @@ public static String toString(final boolean[] array) {
if (array.length == 0) {
return StringPool.EMPTY;
}
final StringBand sb = new StringBand((array.length << 1) - 1);
final StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) {
if (i != 0) {
sb.append(StringPool.COMMA);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/jodd/util/ClassUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ public static String getShortClassName(final Class clazz) {
}
public static String getShortClassName(final Class clazz, final int shortUpTo) {
final String[] chunks = StringUtil.splitc(clazz.getName(), '.');
final StringBand stringBand = new StringBand(chunks.length);
final StringBuilder stringBand = new StringBuilder();
int ndx = chunks.length - shortUpTo;
if (ndx < 0) {
ndx = 0;
Expand Down
56 changes: 0 additions & 56 deletions src/main/java/jodd/util/MultiComparator.java

This file was deleted.

Loading

0 comments on commit 250e440

Please sign in to comment.