Skip to content
Snippets Groups Projects
Commit 9a5d722a authored by Sebastian Bergemann's avatar Sebastian Bergemann
Browse files

GREEN

Issue-ref: 4257
Issue-URL: af3#4257



Signed-off-by: default avatarSebastian Bergemann <bergemann@fortiss.org>
parent d2fa8600
No related branches found
No related tags found
1 merge request!1914257
Pipeline #38461 passed
Pipeline: maven-releng

#38462

    This commit is part of merge request !191. Comments created here will be created in the context of that merge request.
    VariabilityUtils.java fcaa561bdbe6bd9d6fff4312086a6c97177301f8 YELLOW
    VariabilityUtils.java fcaa561bdbe6bd9d6fff4312086a6c97177301f8 GREEN
    FeatureModelTransformationUtils.java b38702296dcb48ff311b382bb9c05d2590e2dfac GREEN
    Pair.java 2dfd7dc65f7b9ba09a120f1a6058d1e8e9556a37 GREEN
    VariabilityUtils.java ebb4733f5034f57a73b93160ab25c37d1698c3e2 YELLOW
    VariabilityUtils.java 13eea14d9d8683d8c566b6f355cece77eaf916dd GREEN
    VariabilityUtilsInternal.java 9c781a47513bb0c4ddcd13be1c27d62b70f25998 GREEN
    ......@@ -163,13 +163,14 @@ public class VariabilityUtils {
    *
    * @param literalName
    * {@link String} with the name to be checked.
    * @return Whether the given name is compatible with the presence condition systax.
    * @return Whether the given name is compatible with the presence condition syntax.
    */
    public static boolean isNameLegalInPresenceCondition(String literalName) {
    if(literalName.matches(PRESENCE_CONDITIONS_KEYWORDS)) {
    return false;
    }
    // Add "+" to regex to make only non-empty names legal (instead of "*")
    return literalName.matches(FEATURE_LITERAL_LEGAL_CHAR_REGEX + "+");
    }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment