diff options
author | Michael Armbrust <michael@databricks.com> | 2014-04-22 22:19:32 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-04-22 22:19:32 -0700 |
commit | 39f85e0322cfecefbc30e7d5a30356cfab1e9640 (patch) | |
tree | 91096567a199b50c7d1366d54856d6d76d6e4f00 /examples/src/main/java/org | |
parent | 8e950813334dd8545357f59f4ed77c39ee4180b3 (diff) | |
download | spark-39f85e0322cfecefbc30e7d5a30356cfab1e9640.tar.gz spark-39f85e0322cfecefbc30e7d5a30356cfab1e9640.tar.bz2 spark-39f85e0322cfecefbc30e7d5a30356cfab1e9640.zip |
[SQL] SPARK-1571 Mistake in java example code
Author: Michael Armbrust <michael@databricks.com>
Closes #496 from marmbrus/javaBeanBug and squashes the following commits:
644fedd [Michael Armbrust] Bean methods must be public.
Diffstat (limited to 'examples/src/main/java/org')
-rw-r--r-- | examples/src/main/java/org/apache/spark/examples/sql/JavaSparkSQL.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/src/main/java/org/apache/spark/examples/sql/JavaSparkSQL.java b/examples/src/main/java/org/apache/spark/examples/sql/JavaSparkSQL.java index e8e63d2745..b5b438e975 100644 --- a/examples/src/main/java/org/apache/spark/examples/sql/JavaSparkSQL.java +++ b/examples/src/main/java/org/apache/spark/examples/sql/JavaSparkSQL.java @@ -34,19 +34,19 @@ public class JavaSparkSQL { 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; } } |