Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added 'final' modifier to methods.
  • Loading branch information
rterp committed Dec 11, 2015
1 parent 504a8a6 commit 2f689be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ public void setName( StringProperty name ) {
This plugin would create the following methods:

```java
public String getName() {
public final String getName() {
return name.get();
}

public void setName( String value ) {
public final void setName( String value ) {
name.set(value);
}

public StringProperty nameProperty() {
public final StringProperty nameProperty() {
return name;
}
```
Expand All @@ -38,15 +38,15 @@ which will create the following methods:

```java
private StringProperty nameProperty;
public String getName() {
public final String getName() {
return nameProperty.get();
}

public void setName( String value ) {
public final void setName( String value ) {
nameProperty.set(value);
}

public StringProperty nameProperty() {
public final StringProperty nameProperty() {
return nameProperty;
}
```
Expand Down

0 comments on commit 2f689be

Please sign in to comment.