summaryrefslogtreecommitdiff
path: root/odk/examples/java/ConverterServlet/ConverterServlet.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/java/ConverterServlet/ConverterServlet.java')
-rw-r--r--odk/examples/java/ConverterServlet/ConverterServlet.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/odk/examples/java/ConverterServlet/ConverterServlet.java b/odk/examples/java/ConverterServlet/ConverterServlet.java
index 0870f7d75e28..6a22837a7f0b 100644
--- a/odk/examples/java/ConverterServlet/ConverterServlet.java
+++ b/odk/examples/java/ConverterServlet/ConverterServlet.java
@@ -68,16 +68,15 @@ import com.sun.star.lang.XMultiComponentFactory;
public class ConverterServlet extends HttpServlet {
/** Specifies the temporary directory on the web server.
*/
- private String stringWorkingDirectory =
- System.getProperty( "java.io.tmpdir" ).replace( '\\', '/' );
+ private String stringWorkingDirectory = System.getProperty( "java.io.tmpdir" ).replace( '\\', '/' );
/** Specifies the host for the office server.
*/
- private String stringHost = "localhost";
+ private final String stringHost = "localhost";
/** Specifies the port for the office server.
*/
- private String stringPort = "2083";
+ private final String stringPort = "2083";
/** Called by the server (via the service method) to allow a servlet to handle
* a POST request. The file from the client will be uploaded to the web server