GORA-412 removed @SuppressWarnings(all) from record.vm velocity template

Project: http://git-wip-us.apache.org/repos/asf/gora/repo
Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/4cb5a8b4
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/4cb5a8b4
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/4cb5a8b4

Branch: refs/heads/master
Commit: 4cb5a8b4d46e9fc76cd91728855a431ddad2ca34
Parents: 1d06958
Author: Kevin <djkevi...@yahoo.com>
Authored: Wed Sep 21 16:21:12 2016 +0530
Committer: Kevin <djkevi...@yahoo.com>
Committed: Wed Sep 21 16:21:12 2016 +0530

----------------------------------------------------------------------
 .../main/velocity/org/apache/gora/compiler/templates/record.vm   | 2 +-
 .../java/org/apache/gora/examples/generated/Employee.java        | 2 +-
 .../java/org/apache/gora/examples/generated/ImmutableFields.java | 2 +-
 .../java/org/apache/gora/examples/generated/Metadata.java        | 4 ++--
 .../java/org/apache/gora/examples/generated/TokenDatum.java      | 2 +-
 .../src/examples/java/org/apache/gora/examples/generated/V2.java | 2 +-
 .../java/org/apache/gora/examples/generated/WebPage.java         | 2 +-
 .../src/main/java/org/apache/gora/goraci/generated/CINode.java   | 2 +-
 .../src/main/java/org/apache/gora/goraci/generated/Flushed.java  | 2 +-
 .../java/org/apache/gora/tutorial/log/generated/MetricDatum.java | 2 +-
 .../java/org/apache/gora/tutorial/log/generated/Pageview.java    | 2 +-
 11 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm
----------------------------------------------------------------------
diff --git 
a/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm 
b/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm
index 3235caa..c9f0092 100644
--- 
a/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm
+++ 
b/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm
@@ -18,7 +18,7 @@
 #if ($schema.getNamespace())
 package $schema.getNamespace();  
 #end
-@SuppressWarnings("all")
+
 #if ($schema.getDoc())
 /** $schema.getDoc() */
 #end

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java
----------------------------------------------------------------------
diff --git 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java
index 2941e70..6f43330 100644
--- 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java
+++ 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 package org.apache.gora.examples.generated;
-@SuppressWarnings("all")
+
 public class Employee extends org.apache.gora.persistency.impl.PersistentBase 
implements org.apache.avro.specific.SpecificRecord, 
org.apache.gora.persistency.Persistent {
   public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Employee\",\"namespace\":\"org.apache.gora.examples.generated\",\"fields\":[{\"name\":\"name\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"dateOfBirth\",\"type\":\"long\",\"default\":0},{\"name\":\"ssn\",\"type\":\"string\",\"default\":\"\"},{\"name\":\"salary\",\"type\":\"int\",\"default\":0},{\"name\":\"boss\",\"type\":[\"null\",\"Employee\",\"string\"],\"default\":null},{\"name\":\"webpage\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"WebPage\",\"fields\":[{\"name\":\"url\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"content\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"parsedContent\",\"type\":{\"type\":\"array\",\"items\":\"string\"},\"default\":{}},{\"name\":\"outlinks\",\"type\":{\"type\":\"map\",\"values\":[\"null\",\"string\"]},\"default\":{}},{\"name\":\"headers\",\"type\":[\"null\",{\"typ
 
e\":\"map\",\"values\":[\"null\",\"string\"]}],\"default\":null},{\"name\":\"metadata\",\"type\":{\"type\":\"record\",\"name\":\"Metadata\",\"fields\":[{\"name\":\"version\",\"type\":\"int\",\"default\":0},{\"name\":\"data\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"default\":{}}]},\"default\":null}]}],\"default\":null}],\"default\":null}");
   private static final long serialVersionUID = -6468893522296148608L;

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java
----------------------------------------------------------------------
diff --git 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java
 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java
index a006929..f3ad91a 100644
--- 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java
+++ 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 package org.apache.gora.examples.generated;
-@SuppressWarnings("all")
+
 /** Record with only immutable or dirtyable fields, used for testing */
 public class ImmutableFields extends 
org.apache.gora.persistency.impl.PersistentBase implements 
org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent 
{
   public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"ImmutableFields\",\"namespace\":\"org.apache.gora.examples.generated\",\"doc\":\"Record
 with only immutable or dirtyable fields, used for 
testing\",\"fields\":[{\"name\":\"v1\",\"type\":\"int\",\"default\":0},{\"name\":\"v2\",\"type\":[{\"type\":\"record\",\"name\":\"V2\",\"fields\":[{\"name\":\"v3\",\"type\":\"int\",\"default\":0}]},\"null\"],\"default\":null}]}");

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java
----------------------------------------------------------------------
diff --git 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java
index 4234d37..c80d240 100644
--- 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java
+++ 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java
@@ -16,9 +16,9 @@
  * limitations under the License.
  */
 package org.apache.gora.examples.generated;
-@SuppressWarnings("all")
+
 public class Metadata extends org.apache.gora.persistency.impl.PersistentBase 
implements org.apache.avro.specific.SpecificRecord, 
org.apache.gora.persistency.Persistent {
-  public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Metadata\",\"namespace\":\"org.apache.gora.examples.generated\",\"fields\":[{\"name\":\"version\",\"type\":\"int\",\"default\":0},{\"name\":\"data\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"default\":{}}]}");
+  public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Metadata\",\"namespace\":\"org.apache.gora.examples.generated\",\"fields\":[{\"name\":\"version\",\"type\":\"int\",\"default\":0},{\"name\":\"data\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"default\":null}]}");
   private static final long serialVersionUID = -7097391446015721734L;
   /** Enum containing all data bean's fields. */
   public static enum Field {

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java
----------------------------------------------------------------------
diff --git 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java
 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java
index 9133346..303684b 100644
--- 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java
+++ 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 package org.apache.gora.examples.generated;
-@SuppressWarnings("all")
+
 public class TokenDatum extends 
org.apache.gora.persistency.impl.PersistentBase implements 
org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent 
{
   public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"TokenDatum\",\"namespace\":\"org.apache.gora.examples.generated\",\"fields\":[{\"name\":\"count\",\"type\":\"int\",\"default\":0}]}");
   private static final long serialVersionUID = -4481652577902636424L;

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java
----------------------------------------------------------------------
diff --git 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java
index 5fe939d..d4820ef 100644
--- a/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java
+++ b/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 package org.apache.gora.examples.generated;
-@SuppressWarnings("all")
+
 public class V2 extends org.apache.gora.persistency.impl.PersistentBase 
implements org.apache.avro.specific.SpecificRecord, 
org.apache.gora.persistency.Persistent {
   public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"V2\",\"namespace\":\"org.apache.gora.examples.generated\",\"fields\":[{\"name\":\"v3\",\"type\":\"int\",\"default\":0}]}");
   private static final long serialVersionUID = -6538763924317658547L;

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java
----------------------------------------------------------------------
diff --git 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java
index 8b0a633..2065ffc 100644
--- 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java
+++ 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 package org.apache.gora.examples.generated;
-@SuppressWarnings("all")
+
 public class WebPage extends org.apache.gora.persistency.impl.PersistentBase 
implements org.apache.avro.specific.SpecificRecord, 
org.apache.gora.persistency.Persistent {
   public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"WebPage\",\"namespace\":\"org.apache.gora.examples.generated\",\"fields\":[{\"name\":\"url\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"content\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"parsedContent\",\"type\":{\"type\":\"array\",\"items\":\"string\"},\"default\":null},{\"name\":\"outlinks\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"default\":{}},{\"name\":\"headers\",\"type\":[\"null\",{\"type\":\"map\",\"values\":[\"null\",\"string\"]}],\"default\":null},{\"name\":\"metadata\",\"type\":{\"type\":\"record\",\"name\":\"Metadata\",\"fields\":[{\"name\":\"version\",\"type\":\"int\",\"default\":0},{\"name\":\"data\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"default\":null}]},\"default\":null},{\"name\":\"byteData\",\"type\":{\"type\":\"map\",\"values\":\"bytes\"},\"default\":{}},{\"name\":\"stringDat
 
a\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"default\":{}}],\"default\":null}");
   private static final long serialVersionUID = -2829100587222969501L;

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java
----------------------------------------------------------------------
diff --git 
a/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java 
b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java
index dd21380..2feccd1 100644
--- a/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java
+++ b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 package org.apache.gora.goraci.generated;
-@SuppressWarnings("all")
+
 public class CINode extends org.apache.gora.persistency.impl.PersistentBase 
implements org.apache.avro.specific.SpecificRecord, 
org.apache.gora.persistency.Persistent {
   public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"CINode\",\"namespace\":\"org.apache.gora.goraci.generated\",\"fields\":[{\"name\":\"prev\",\"type\":\"long\",\"default\":0},{\"name\":\"client\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"count\",\"type\":\"long\",\"default\":0}]}");
   private static final long serialVersionUID = 1014651356631895518L;

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java
----------------------------------------------------------------------
diff --git 
a/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java 
b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java
index 437422f..4a552b6 100644
--- a/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java
+++ b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 package org.apache.gora.goraci.generated;
-@SuppressWarnings("all")
+
 public class Flushed extends org.apache.gora.persistency.impl.PersistentBase 
implements org.apache.avro.specific.SpecificRecord, 
org.apache.gora.persistency.Persistent {
   public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Flushed\",\"namespace\":\"org.apache.gora.goraci.generated\",\"fields\":[{\"name\":\"count\",\"type\":\"long\",\"default\":0}]}");
   private static final long serialVersionUID = -8888031915401438521L;

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java
----------------------------------------------------------------------
diff --git 
a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java
 
b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java
index c760b47..8bd6190 100644
--- 
a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java
+++ 
b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 package org.apache.gora.tutorial.log.generated;
-@SuppressWarnings("all")
+
 public class MetricDatum extends 
org.apache.gora.persistency.impl.PersistentBase implements 
org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent 
{
   public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"MetricDatum\",\"namespace\":\"org.apache.gora.tutorial.log.generated\",\"fields\":[{\"name\":\"metricDimension\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"timestamp\",\"type\":\"long\",\"default\":0},{\"name\":\"metric\",\"type\":\"long\",\"default\":0}],\"default\":null}");
   private static final long serialVersionUID = 8278557845311856507L;

http://git-wip-us.apache.org/repos/asf/gora/blob/4cb5a8b4/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java
----------------------------------------------------------------------
diff --git 
a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java
 
b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java
index cb35686..be0f6e8 100644
--- 
a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java
+++ 
b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 package org.apache.gora.tutorial.log.generated;
-@SuppressWarnings("all")
+
 public class Pageview extends org.apache.gora.persistency.impl.PersistentBase 
implements org.apache.avro.specific.SpecificRecord, 
org.apache.gora.persistency.Persistent {
   public static final org.apache.avro.Schema SCHEMA$ = new 
org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Pageview\",\"namespace\":\"org.apache.gora.tutorial.log.generated\",\"fields\":[{\"name\":\"url\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"timestamp\",\"type\":\"long\",\"default\":0},{\"name\":\"ip\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"httpMethod\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"httpStatusCode\",\"type\":\"int\",\"default\":0},{\"name\":\"responseSize\",\"type\":\"int\",\"default\":0},{\"name\":\"referrer\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"userAgent\",\"type\":[\"null\",\"string\"],\"default\":null}],\"default\":null}");
   private static final long serialVersionUID = -6136058768384995982L;

Reply via email to