Skip to content

Commit

Permalink
Bean methods must be public.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Apr 23, 2014
1 parent ea8cea8 commit 644fedd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/sql-programming-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,19 @@ public static class Person implements Serializable {
private String name;
private int age;

String getName() {
public String getName() {
return name;
}

void setName(String name) {
public void setName(String name) {
this.name = name;
}

int getAge() {
public int getAge() {
return age;
}

void setAge(int age) {
public void setAge(int age) {
this.age = age;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ public static class Person implements Serializable {
private String name;
private int age;

String getName() {
public String getName() {
return name;
}

void setName(String name) {
public void setName(String name) {
this.name = name;
}

int getAge() {
public int getAge() {
return age;
}

void setAge(int age) {
public void setAge(int age) {
this.age = age;
}
}
Expand Down

0 comments on commit 644fedd

Please sign in to comment.