Skip to content

Commit

Permalink
Merge pull request #19 from palantir/feature/fix-javadoc
Browse files Browse the repository at this point in the history
Fixing angle brackets in javadoc
  • Loading branch information
ryanmcnamara committed Jan 22, 2016
2 parents 4df835a + 2cab773 commit 78cc6c1
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import com.google.common.collect.Sets;

import cz.habarta.typescript.generator.GenericsTypeProcessor;
import cz.habarta.typescript.generator.JsonLibrary;
import cz.habarta.typescript.generator.Settings;
import cz.habarta.typescript.generator.TsType;
import cz.habarta.typescript.generator.TypeProcessor;
Expand Down Expand Up @@ -54,8 +53,8 @@ public Result processType(Type javaType, Context context) {
/**
* A Java format string, expected to have exactly one %s where a generic should be placed.
* Specifies what return types should look like.
* For example, suppose a Java endpoint returned a string, then for a value of "Foo<Bar<%s>>" for this property,
* the generated Typescript endpoint would return type Foo<string>.
* For example, suppose a Java endpoint returned a string, then for a value of "Foo&lt;Bar&lt;%s&gt;&gt;" for this property,
* the generated Typescript endpoint would return type Foo&lt;string&gt;.
*/
@Value.Parameter
public abstract String genericEndpointReturnType();
Expand Down Expand Up @@ -145,7 +144,6 @@ public Settings getSettings() {
settings.addTypeNamePrefix = generatedInterfacePrefix();
settings.sortDeclarations = true;
settings.noFileComment = true;
settings.jsonLibrary = JsonLibrary.jackson2;

return settings;
}
Expand Down

0 comments on commit 78cc6c1

Please sign in to comment.