All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.takari.maven.testing.executor.junit.MavenVersionDisplayNameFormatter Maven / Gradle / Ivy

/*
 * Copyright (c) 2014-2024 Takari, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-v10.html
 */
package io.takari.maven.testing.executor.junit;

final class MavenVersionDisplayNameFormatter {

    private final String displayName;

    MavenVersionDisplayNameFormatter(String displayName) {
        this.displayName = displayName;
    }

    String format(String mavenVersion) {
        return this.displayName + '[' + mavenVersion + ']';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy