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 20
20
*/
21
21
22
22
import java .io .File ;
23
- import java .util .Locale ;
24
23
25
24
import org .apache .maven .settings .Settings ;
26
25
@@ -68,12 +67,4 @@ public interface ReleaseEnvironment
68
67
* @return a {@link java.io.File} object
69
68
*/
70
69
File getJavaHome ();
71
-
72
- /**
73
- * <p>getLocale.</p>
74
- *
75
- * @return the locale
76
- * @since 2.4
77
- */
78
- Locale getLocale ();
79
70
}
Original file line number Diff line number Diff line change 20
20
*/
21
21
22
22
import java .io .File ;
23
- import java .util .Locale ;
24
23
25
24
import org .apache .maven .settings .Settings ;
26
25
@@ -40,8 +39,6 @@ public class DefaultReleaseEnvironment
40
39
41
40
private String mavenExecutorId = DEFAULT_MAVEN_EXECUTOR_ID ;
42
41
43
- private Locale locale = Locale .ENGLISH ;
44
-
45
42
@ Override
46
43
public File getMavenHome ()
47
44
{
@@ -138,22 +135,4 @@ public DefaultReleaseEnvironment setLocalRepositoryDirectory( File localReposito
138
135
this .localRepositoryDirectory = localRepositoryDirectory ;
139
136
return this ;
140
137
}
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
- }
159
138
}
You can’t perform that action at this time.
0 commit comments