Skip to content

Commit 8f04f42

Browse files
committed
Remove unused utility methods
1 parent ddee000 commit 8f04f42

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/main/java/com/rabbitmq/stream/impl/Utils.java

-23
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import java.util.function.Consumer;
2727
import java.util.function.LongConsumer;
2828
import java.util.function.Predicate;
29-
import java.util.stream.Collectors;
3029
import javax.net.ssl.X509TrustManager;
3130
import org.slf4j.Logger;
3231
import org.slf4j.LoggerFactory;
@@ -214,26 +213,4 @@ public X509Certificate[] getAcceptedIssuers() {
214213
return new X509Certificate[0];
215214
}
216215
}
217-
218-
private static boolean notNullOrBlank(String str) {
219-
return str != null && !str.trim().isEmpty();
220-
}
221-
222-
private static String arrayToString(Object[] array) {
223-
if (emptyArray(array)) {
224-
return "";
225-
} else {
226-
return Arrays.stream(array)
227-
.map(o -> o == null ? "null" : o.toString())
228-
.collect(Collectors.joining());
229-
}
230-
}
231-
232-
private static boolean emptyArray(Object[] array) {
233-
return array == null || array.length == 0;
234-
}
235-
236-
private static boolean notEmptyArray(Object[] array) {
237-
return !emptyArray(array);
238-
}
239216
}

0 commit comments

Comments
 (0)