From 6a02a45d8425376695b417bf0d6c46dbab8a700c Mon Sep 17 00:00:00 2001 From: Matt Thrailkill Date: Fri, 26 Apr 2013 16:08:53 -0700 Subject: Fix typos in protobuf readme. Change-Id: Ifa3c8674482ae9575df459a3e76e9f8b4a9296b5 Signed-off-by: Matt Thrailkill --- java/README.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'java') diff --git a/java/README.txt b/java/README.txt index 82c1ed5..3e3fedb 100644 --- a/java/README.txt +++ b/java/README.txt @@ -100,7 +100,7 @@ To create a jar file for the runtime and run tests invoke directory. The generated jar file is java/target/protobuf-java-2.2.0-micro.jar. -If you wish to compile the MICRO_RUTIME your self, place +If you wish to compile the MICRO_RUNTIME your self, place the 7 files below, in /com/google/protobuf and create a jar file for use with your code and the generated code: @@ -116,10 +116,10 @@ If you wish to change on the code generator it is located in /src/google/protobuf/compiler/javamicro. To generate code for the MICRO_RUNTIME invoke protoc with ---javamicro_out command line parameter. javamciro_out takes -a series of optional sub-parameters separated by comma's +--javamicro_out command line parameter. javamicro_out takes +a series of optional sub-parameters separated by commas and a final parameter, with a colon separator, which defines -the source directory. Sub-paraemeters begin with a name +the source directory. Sub-parameters begin with a name followed by an equal and if that sub-parameter has multiple parameters they are seperated by "|". The command line options are: @@ -130,7 +130,7 @@ java_package -> | java_outer_classname -> | opt: - This change the code generation to optimize for speed, + This changes the code generation to optimize for speed, opt=speed, or space, opt=space. When opt=speed this changes the code generation for strings so that multiple conversions to Utf8 are eliminated. The default value @@ -144,8 +144,8 @@ java_use_vector: java.util.ArrayList<> is used. When java.util.Vector is used the code must be compiled with Java 1.3 and when ArrayList is used Java 1.5 or above must be used. - The using javac the source parameter maybe used to - control the version of the srouce: "javac -source 1.3". + The using javac the source parameter may be used to + control the version of the source: "javac -source 1.3". You can also change the xml element for the maven-compiler-plugin. Below is for 1.5 sources: -- cgit v1.1