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

GuillaumeDmns / website-back / 24

02 Dec 2025 09:32PM UTC coverage: 0.0%. Remained the same
24

push

github

GuillaumeDmns
Add best boarding positions in section object

0 of 234 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 17 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

0 of 4211 relevant lines covered (0.0%)

0.0 hits per line

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

0.0
/src/main/java/com/gdamiens/website/idfm/navitia/BoardingPositionEnum.java
1
package com.gdamiens.website.idfm.navitia;
2

3
import com.fasterxml.jackson.annotation.JsonProperty;
4

NEW
5
public enum BoardingPositionEnum {
×
NEW
6
    @JsonProperty("front")
×
7
    FRONT("front"),
NEW
8
    @JsonProperty("middle")
×
9
    MIDDLE("middle"),
NEW
10
    @JsonProperty("back")
×
11
    BACK("back");
12

13

14
    private String value;
15

NEW
16
    BoardingPositionEnum(String value) {
×
NEW
17
        this.value = value;
×
NEW
18
    }
×
19

20
    public String getValue() {
NEW
21
        return value;
×
22
    }
23

24
    @Override
25
    public String toString() {
NEW
26
        return String.valueOf(value);
×
27
    }
28

29
    public static BoardingPositionEnum fromValue(String text) {
NEW
30
        for (BoardingPositionEnum b : BoardingPositionEnum.values()) {
×
NEW
31
            if (String.valueOf(b.value).equals(text)) {
×
NEW
32
                return b;
×
33
            }
34
        }
NEW
35
        return null;
×
36
    }
37
}
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

© 2026 Coveralls, Inc