Skip to content

Commit 5a3cf24

Browse files
committed
TransactionParticipantServiceImpl: rename (with related tests) to ParticipantServiceImpl.
No functional changes.
1 parent 5237787 commit 5a3cf24

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/main/java/ru/mystamps/web/config/ServicesConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ public StampsCatalogService getZagorskiCatalogService() {
287287

288288
@Bean
289289
public ParticipantService getParticipantService() {
290-
return new TransactionParticipantServiceImpl(
291-
LoggerFactory.getLogger(TransactionParticipantServiceImpl.class),
290+
return new ParticipantServiceImpl(
291+
LoggerFactory.getLogger(ParticipantServiceImpl.class),
292292
daoConfig.getParticipantDao()
293293
);
294294
}

src/main/java/ru/mystamps/web/service/TransactionParticipantServiceImpl.java renamed to src/main/java/ru/mystamps/web/service/ParticipantServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import ru.mystamps.web.support.spring.security.HasAuthority;
3939

4040
@RequiredArgsConstructor
41-
public class TransactionParticipantServiceImpl implements ParticipantService {
41+
public class ParticipantServiceImpl implements ParticipantService {
4242

4343
private final Logger log;
4444
private final ParticipantDao participantDao;

src/test/groovy/ru/mystamps/web/service/TransactionParticipantServiceImplTest.groovy renamed to src/test/groovy/ru/mystamps/web/service/ParticipantServiceImplTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ import ru.mystamps.web.feature.participant.AddParticipantForm
3333
import ru.mystamps.web.tests.Random
3434

3535
@SuppressWarnings(['ClassJavadoc', 'MethodName', 'NoDef', 'NoTabCharacter', 'TrailingWhitespace'])
36-
class TransactionParticipantServiceImplTest extends Specification {
36+
class ParticipantServiceImplTest extends Specification {
3737

3838
private final ParticipantDao participantDao = Mock()
39-
private final ParticipantService service = new TransactionParticipantServiceImpl(
39+
private final ParticipantService service = new ParticipantServiceImpl(
4040
NOPLogger.NOP_LOGGER,
4141
participantDao
4242
)

0 commit comments

Comments
 (0)