Skip to content

Commit

Permalink
[MRELEASE-1098] Drop o.a.m.shared.release.env.ReleaseEnvironment.getL…
Browse files Browse the repository at this point in the history
…ocale()

This closes #136
  • Loading branch information
michael-o committed May 29, 2022
1 parent 6d588fa commit 9bf8fd2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
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;
}
}

0 comments on commit 9bf8fd2

Please sign in to comment.