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

LearnLib / automatalib / 19566384231

21 Nov 2025 09:41AM UTC coverage: 92.565% (+0.4%) from 92.206%
19566384231

push

github

web-flow
Bump Java Version to 17/25 (#97)

* initial refactorings for Java 25 compatibility

spotbugs + pmd-plugin still need new releases that work on Java 25

* update CI config

* JDK builds pass

updates to the analysis plugins required some adjustments

* utilize Java 17 features

* fix documentation

* cleanups

* fix visibility issues

* potential fix for breaking GUI tests

* example: fix GUI tests

* cleanups

* jung: do not run GUI tests for now

* Revert "jung: do not run GUI tests for now"

This reverts commit 6a6645488.

* jung: found workaround for crashing JVM

* jacoco: correctly track coverage in GUI tests

* Revert "jung: found workaround for crashing JVM"

This reverts commit d99704042.

* Reapply "jung: do not run GUI tests for now"

This reverts commit 176cece7f.

* jung: add note

145 of 153 new or added lines in 51 files covered. (94.77%)

1 existing line in 1 file now uncovered.

16496 of 17821 relevant lines covered (92.56%)

1.72 hits per line

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

55.56
/adapters/brics/src/main/java/net/automatalib/brics/BricsTransitionProperty.java
1
/* Copyright (C) 2013-2025 TU Dortmund University
2
 * This file is part of AutomataLib <https://automatalib.net>.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package net.automatalib.brics;
17

18
import dk.brics.automaton.Transition;
19

20
/**
21
 * The properties of an edge in a Brics automaton.
22
 *
23
 * @param min
24
 *         lower bound of the character range.
25
 * @param max
26
 *         upper bound of the character range.
27
 */
NEW
28
public record BricsTransitionProperty(char min, char max) {
×
29

30
    /**
31
     * Constructor. Constructs the property from a Brics {@link Transition}.
32
     *
33
     * @param trans
34
     *         the Brics transition object
35
     */
36
    public BricsTransitionProperty(Transition trans) {
37
        this(trans.getMin(), trans.getMax());
×
38
    }
×
39

40
    @Override
41
    public String toString() {
42
        return toString(min, max);
×
43
    }
44

45
    public static String toString(char min, char max) {
46
        StringBuilder sb = new StringBuilder();
1✔
47
        sb.append('\'').append(min).append('\'');
1✔
48
        if (max > min) {
1✔
49
            sb.append("..'").append(max).append('\'');
1✔
50
        }
51
        return sb.toString();
1✔
52
    }
53
}
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