Skip to content

Commit 731f9c1

Browse files
committed
Removed redundant test code and fixed context in Hackster
1 parent 23605df commit 731f9c1

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
maxAllowedApartmentsPerRealtor=10

rating-service/src/main/java/com/lohika/jclub/rating/service/RatingService.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ public class RatingService {
1515
@Value("${rate}")
1616
private int rate;
1717

18-
@PostConstruct
19-
public void test () {
20-
System.out.println(rate);
21-
}
22-
2318
public BigDecimal calculateRating(Apartment apartment) {
2419
return new BigDecimal(
2520
(apartment.getSqft() / apartment.getPrice()) * rate,

0 commit comments

Comments
 (0)