From f95f0da640300d6fe915312af25214dc94d82a86 Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Mon, 11 Sep 2017 08:33:34 +0200 Subject: [PATCH] Rename JdbcIntegrationTest to JdbcLiveTest (#2600) --- .../jdbc/{JdbcIntegrationTest.java => JdbcLiveTest.java} | 4 ++-- .../src/main/java/com/baelding/rxjava/ResourceManagement.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) rename core-java/src/test/java/com/baeldung/jdbc/{JdbcIntegrationTest.java => JdbcLiveTest.java} (97%) diff --git a/core-java/src/test/java/com/baeldung/jdbc/JdbcIntegrationTest.java b/core-java/src/test/java/com/baeldung/jdbc/JdbcLiveTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/jdbc/JdbcIntegrationTest.java rename to core-java/src/test/java/com/baeldung/jdbc/JdbcLiveTest.java index 926fdb3833..da0c6bffe5 100644 --- a/core-java/src/test/java/com/baeldung/jdbc/JdbcIntegrationTest.java +++ b/core-java/src/test/java/com/baeldung/jdbc/JdbcLiveTest.java @@ -21,9 +21,9 @@ import org.junit.After; import org.junit.Before; import org.junit.Test; -public class JdbcIntegrationTest { +public class JdbcLiveTest { - private static final Logger LOG = Logger.getLogger(JdbcIntegrationTest.class); + private static final Logger LOG = Logger.getLogger(JdbcLiveTest.class); private Connection con; diff --git a/rxjava/src/main/java/com/baelding/rxjava/ResourceManagement.java b/rxjava/src/main/java/com/baelding/rxjava/ResourceManagement.java index e097da1a29..44bbd7edda 100644 --- a/rxjava/src/main/java/com/baelding/rxjava/ResourceManagement.java +++ b/rxjava/src/main/java/com/baelding/rxjava/ResourceManagement.java @@ -13,8 +13,9 @@ public class ResourceManagement { return resource; }, r -> Observable.create(o -> { - for (Character c : r.toCharArray()) + for (Character c : r.toCharArray()) { o.onNext(c); + } o.onCompleted(); }), r -> System.out.println("Disposed: " + r)