Skip to content

Commit

Permalink
Rename ClassPathURLProvider (#30133)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Feb 15, 2024
1 parent d9f538c commit 2d554e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
import java.io.InputStream;

/**
* Classpath URL provider.
* Class path URL provider.
*/
public final class ClasspathURLProvider implements ShardingSphereURLProvider {
public final class ClassPathURLProvider implements ShardingSphereURLProvider {

@Override
@SneakyThrows(IOException.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# limitations under the License.
#

org.apache.shardingsphere.driver.jdbc.core.driver.url.type.ClasspathURLProvider
org.apache.shardingsphere.driver.jdbc.core.driver.url.type.ClassPathURLProvider
org.apache.shardingsphere.driver.jdbc.core.driver.url.type.AbsolutePathURLProvider
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;

class ClasspathURLProviderTest {
class ClassPathURLProviderTest {

@Test
@EnabledOnOs({OS.LINUX, OS.MAC})
Expand All @@ -43,7 +43,7 @@ void assertGetContentOnWindows() {
}

private void assertGetContent(final int expectedLength) {
assertThat(new ClasspathURLProvider().getContent(mockURL()).length, is(expectedLength));
assertThat(new ClassPathURLProvider().getContent(mockURL()).length, is(expectedLength));
}

private ShardingSphereURL mockURL() {
Expand Down

0 comments on commit 2d554e7

Please sign in to comment.