• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AuthMe / ConfigMe / 11195997843

05 Oct 2024 08:11PM UTC coverage: 99.411%. Remained the same
11195997843

Pull #444

github

ljacqu
Move channel declaration
Pull Request #444: #442 Update Checkstyle version used by CodeClimate

528 of 540 branches covered (97.78%)

1520 of 1529 relevant lines covered (99.41%)

4.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/main/java/ch/jalu/configme/beanmapper/DefaultMapper.java
1
package ch.jalu.configme.beanmapper;
2

3
import org.jetbrains.annotations.NotNull;
4

5
/**
6
 * Provides the {@link Mapper} instance which is used by default.
7
 */
8
public final class DefaultMapper extends MapperImpl {
9

10
    private static DefaultMapper instance;
11

12
    private DefaultMapper() {
13
    }
14

15
    /**
16
     * @return default mapper instance
17
     */
18
    public static @NotNull Mapper getInstance() {
19
        if (instance == null) {
2✔
20
            instance = new DefaultMapper();
4✔
21
        }
22
        return instance;
2✔
23
    }
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc