Skip to content

Commit 015f911

Browse files
committed
Merge pull request #175 from TanyaEf/master
Apdated Readme.md
2 parents a02f5bc + e34f1e4 commit 015f911

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,7 @@ String edition = result.getEntity();
19421942
Use bundles service to get bundles of internalization properties for particular or default user’s locale as JSON.
19431943
By default service use default system locale where the application was stared.
19441944
If user specified locale at authentication, the service will use it as default locale.
1945-
To get all bundles for particular locale(foe example, "de") different from default locale and locale specified at authentication use the code below:
1945+
To get all bundles for particular locale(foe example, "de") different from default locale and locale specified at authentication use the code below:
19461946
```java
19471947
final Map<String, Map<String, String>> bundles = session
19481948
.bundlesService()
@@ -1965,7 +1965,7 @@ final Map<String, Map<String, String>> bundles = session
19651965
.getEntity();
19661966
```
19671967
Please notice, locale specified in `.forLocale()` method has the highest priority for the service.
1968-
If you do not call`.forLocale()` method, you will get bundles for your default locale:
1968+
If you do not call`.forLocale()` method, you will get bundles for your default locale (locale specified at authentication or locale of system where the client was stared if the others were not specified):
19691969
```java
19701970
final Map<String, Map<String, String>> bundles = session
19711971
.bundlesService()

src/test/java/com/jaspersoft/jasperserver/jaxrs/client/core/JasperserverRestClientTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ public void should_return_proper_Session_object_with_time_zone_and_locale_as_str
408408
}
409409

410410
@Test
411-
public void should_involve_login_method_and_return_proper_session_object() throws Exception {
411+
public void should_invoke_login_method_and_return_proper_session_object() throws Exception {
412412
// Given
413413
final URI location = new URI("location");
414414
doReturn("url").when(configurationMock).getJasperReportsServerUrl();
@@ -460,7 +460,7 @@ public void should_involve_login_method_and_return_proper_session_object() throw
460460
}
461461

462462
@Test
463-
public void should_involve_login_method_and_return_proper_session_object_with_time_zone() throws Exception {
463+
public void should_invoke_login_method_and_return_proper_session_object_with_time_zone() throws Exception {
464464
// Given
465465
final URI location = new URI("location");
466466
doReturn("url").when(configurationMock).getJasperReportsServerUrl();
@@ -518,7 +518,7 @@ public void should_involve_login_method_and_return_proper_session_object_with_ti
518518
}
519519

520520
@Test
521-
public void should_involve_login_method_and_return_proper_session_object_with_time_zone_and_locale() throws Exception {
521+
public void should_invoke_login_method_and_return_proper_session_object_with_time_zone_and_locale() throws Exception {
522522
// Given
523523
final URI location = new URI("location");
524524
doReturn("url").when(configurationMock).getJasperReportsServerUrl();
@@ -578,7 +578,7 @@ public void should_involve_login_method_and_return_proper_session_object_with_ti
578578
}
579579

580580
@Test
581-
public void should_involve_login_method_and_handle_error() throws Exception {
581+
public void should_invoke_login_method_and_handle_error() throws Exception {
582582
// Given
583583
final URI location = new URI("location");
584584
doReturn("url").when(configurationMock).getJasperReportsServerUrl();
@@ -636,7 +636,7 @@ public void should_involve_login_method_and_handle_error() throws Exception {
636636
}
637637

638638
@Test
639-
public void should_involve_login_method_and_return_proper_session_object_within_basic_authorization() throws Exception {
639+
public void should_invoke_login_method_and_return_proper_session_object_within_basic_authorization() throws Exception {
640640
// Given
641641
doReturn("url").when(configurationMock).getJasperReportsServerUrl();
642642
final JasperserverRestClient client = new JasperserverRestClient(configurationMock);

0 commit comments

Comments
 (0)