File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed
maven-release-api/src/main/java/org/apache/maven/shared/release/env
maven-release-manager/src/main/java/org/apache/maven/shared/release/env Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change 2020 */
2121
2222import java .io .File ;
23- import java .util .Locale ;
2423
2524import org .apache .maven .settings .Settings ;
2625
@@ -68,12 +67,4 @@ public interface ReleaseEnvironment
6867 * @return a {@link java.io.File} object
6968 */
7069 File getJavaHome ();
71-
72- /**
73- * <p>getLocale.</p>
74- *
75- * @return the locale
76- * @since 2.4
77- */
78- Locale getLocale ();
7970}
Original file line number Diff line number Diff line change 2020 */
2121
2222import java .io .File ;
23- import java .util .Locale ;
2423
2524import org .apache .maven .settings .Settings ;
2625
@@ -40,8 +39,6 @@ public class DefaultReleaseEnvironment
4039
4140 private String mavenExecutorId = DEFAULT_MAVEN_EXECUTOR_ID ;
4241
43- private Locale locale = Locale .ENGLISH ;
44-
4542 @ Override
4643 public File getMavenHome ()
4744 {
@@ -138,22 +135,4 @@ public DefaultReleaseEnvironment setLocalRepositoryDirectory( File localReposito
138135 this .localRepositoryDirectory = localRepositoryDirectory ;
139136 return this ;
140137 }
141-
142- @ Override
143- public Locale getLocale ()
144- {
145- return locale ;
146- }
147-
148- /**
149- * <p>Setter for the field <code>locale</code>.</p>
150- *
151- * @param locale a {@link java.util.Locale} object
152- * @return a {@link org.apache.maven.shared.release.env.DefaultReleaseEnvironment} object
153- */
154- public DefaultReleaseEnvironment setLocale ( Locale locale )
155- {
156- this .locale = locale ;
157- return this ;
158- }
159138}
You can’t perform that action at this time.
0 commit comments