Skip to content

Commit

Permalink
Merge pull request #209 from adityanarkar/master
Browse files Browse the repository at this point in the history
Inheritance.md -- Misspelling
  • Loading branch information
parrt committed Nov 11, 2018
2 parents 33972d2 + 2a1fdce commit b3f7520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ YYYY/MM/DD, github id, Full name, email
2016/07/18, jeff5, Jeff Allen, ja.py@farowl.co.uk
2018/11/06, drealeed , Drea Leed, drealeed2@yahoo.com
2018/11/08, leonlee, Leon Lee, blackicebird@gmail.com
2018/11/11, adityanarkar, Aditya Narkar, aditya.narkar25@gmail.com
4 changes: 2 additions & 2 deletions doc/inheritance.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public enum <typename> { <names; separator=", "> }
>>
```

Group Java1\_5 the inherited template classs will write template constants. The following sample code creates group objects referring to both template group files, creates and filled in instances of template class, and finally prints out the rendered text.
Group Java1\_5 the inherited template class will write template constants. The following sample code creates group objects referring to both template group files, creates and filled in instances of template class, and finally prints out the rendered text.

```java
public void test(String[] args) {
Expand Down Expand Up @@ -188,4 +188,4 @@ If I did,
STGroup g = new STGroupFile("/tmp/foo.stg");
```

then there is no problem. Difference is that you don't want to mix inheritance with subdirectories and a group file within a STGroupDir acts like a subdirectory.
then there is no problem. Difference is that you don't want to mix inheritance with subdirectories and a group file within a STGroupDir acts like a subdirectory.

0 comments on commit b3f7520

Please sign in to comment.