Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRELEASE-1098] Drop o.a.m.shared.release.env.ReleaseEnvironment.getL… #136

Merged
merged 1 commit into from
May 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/

import java.io.File;
import java.util.Locale;

import org.apache.maven.settings.Settings;

Expand Down Expand Up @@ -68,12 +67,4 @@ public interface ReleaseEnvironment
* @return a {@link java.io.File} object
*/
File getJavaHome();

/**
* <p>getLocale.</p>
*
* @return the locale
* @since 2.4
*/
Locale getLocale();
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/

import java.io.File;
import java.util.Locale;

import org.apache.maven.settings.Settings;

Expand All @@ -40,8 +39,6 @@ public class DefaultReleaseEnvironment

private String mavenExecutorId = DEFAULT_MAVEN_EXECUTOR_ID;

private Locale locale = Locale.ENGLISH;

@Override
public File getMavenHome()
{
Expand Down Expand Up @@ -138,22 +135,4 @@ public DefaultReleaseEnvironment setLocalRepositoryDirectory( File localReposito
this.localRepositoryDirectory = localRepositoryDirectory;
return this;
}

@Override
public Locale getLocale()
{
return locale;
}

/**
* <p>Setter for the field <code>locale</code>.</p>
*
* @param locale a {@link java.util.Locale} object
* @return a {@link org.apache.maven.shared.release.env.DefaultReleaseEnvironment} object
*/
public DefaultReleaseEnvironment setLocale( Locale locale )
{
this.locale = locale;
return this;
}
}