Skip to content

Commit 325d265

Browse files
committed
Corrected C++ bits in Java.
1 parent 662983e commit 325d265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cognitive-services/Speech-Service/includes/how-to/speech-translation-basics/speech-translation-basics-java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before you can do anything, you'll need to install the Speech SDK. Depending on
1616

1717
## Import dependencies
1818

19-
To run the examples in this article, include the following `import` statements at the top of the C++ code file.
19+
To run the examples in this article, include the following `import` statements at the top of the **.Java* code file.
2020

2121
```java
2222
package speech;
@@ -31,7 +31,7 @@ import com.microsoft.cognitiveservices.speech.translation.*;
3131

3232
## Sensitive data and environment variables
3333

34-
The example source code in this article depends on environment variables for storing sensitive data, such as the Speech resource subscription key and region. The C++ code file contains two string values that are assigned from the host machines environment variables, namely `SPEECH__SUBSCRIPTION__KEY` and `SPEECH__SERVICE__REGION`. Both of these fields are at the class scope, making them accessible within method bodies of the class. For more information on environment variables, see [environment variables and application configuration](../../../../cognitive-services-security.md#environment-variables-and-application-configuration).
34+
The example source code in this article depends on environment variables for storing sensitive data, such as the Speech resource subscription key and region. The Java code file contains two `static final String` values that are assigned from the host machines environment variables, namely `SPEECH__SUBSCRIPTION__KEY` and `SPEECH__SERVICE__REGION`. Both of these fields are at the class scope, making them accessible within method bodies of the class. For more information on environment variables, see [environment variables and application configuration](../../../../cognitive-services-security.md#environment-variables-and-application-configuration).
3535

3636
```java
3737
public class App {

0 commit comments

Comments
 (0)