Unverified Commit c294e2fc authored by Pavitra Golchha's avatar Pavitra Golchha Committed by Jeffrey I. Schiller

Remove duplicate check

`type.equals("short")` was checked twice

Change-Id: I239b3378d6494cdac20e2034fb0f8667f0811819
parent ba67c9a7
...@@ -1455,10 +1455,9 @@ public abstract class ComponentProcessor extends AbstractProcessor { ...@@ -1455,10 +1455,9 @@ public abstract class ComponentProcessor extends AbstractProcessor {
if (type.equals("java.lang.String")) { if (type.equals("java.lang.String")) {
return "text"; return "text";
} }
// {float, double, int, short, long} -> number // {float, double, int, short, long, byte} -> number
if (type.equals("float") || type.equals("double") || type.equals("int") || if (type.equals("float") || type.equals("double") || type.equals("int") ||
type.equals("short") || type.equals("long") || type.equals("byte") || type.equals("short") || type.equals("long") || type.equals("byte")) {
type.equals("short")) {
return "number"; return "number";
} }
// YailList -> list // YailList -> list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment