Commit 4a6247d5 authored by cherrylzhao's avatar cherrylzhao
Browse files

CountryRepositroyImpl => CountryRepositoryImpl.

parent 0d92dafc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,11 +29,11 @@ import java.sql.Statement;
import java.util.LinkedList;
import java.util.List;

public class CountryRepositroyImpl implements CountryRepository {
public class CountryRepositoryImpl implements CountryRepository {

    private final DataSource dataSource;

    public CountryRepositroyImpl(final DataSource dataSource) {
    public CountryRepositoryImpl(final DataSource dataSource) {
        this.dataSource = dataSource;
    }

+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
package org.apache.shardingsphere.example.broadcast.table.raw.jdbc;

import org.apache.shardingsphere.example.broadcast.table.raw.jdbc.config.ShardingDatabasesConfiguration;
import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositroyImpl;
import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositoryImpl;
import org.apache.shardingsphere.example.common.jdbc.service.CountryServiceImpl;
import org.apache.shardingsphere.example.common.service.CommonService;

@@ -40,6 +40,6 @@ public class JavaConfigurationExample {
    }

    private static CommonService getCountryService(final DataSource dataSource) {
        return new CountryServiceImpl(new CountryRepositroyImpl(dataSource));
        return new CountryServiceImpl(new CountryRepositoryImpl(dataSource));
    }
}
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

package org.apache.shardingsphere.example.broadcast.table.raw.jdbc;

import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositroyImpl;
import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositoryImpl;
import org.apache.shardingsphere.example.common.jdbc.service.CountryServiceImpl;
import org.apache.shardingsphere.example.common.service.CommonService;
import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingDataSourceFactory;
@@ -42,6 +42,6 @@ public class YamlConfigurationExample {
    }

    private static CommonService getCountryService(final DataSource dataSource) {
        return new CountryServiceImpl(new CountryRepositroyImpl(dataSource));
        return new CountryServiceImpl(new CountryRepositoryImpl(dataSource));
    }
}