Yiqun Zhang created ORC-856: ------------------------------- Summary: Fix exception description in findSubtype Key: ORC-856 URL: https://issues.apache.org/jira/browse/ORC-856 Project: ORC Issue Type: Bug Components: Java Affects Versions: 1.7.0, master Reporter: Yiqun Zhang Fix For: 1.7.0
{code:java} public static void findSubtype(TypeDescription schema, int goal, TypeVisitor visitor) { TypeDescription current = schema; int id = schema.getId(); if (goal < id || goal > schema.getMaximumId()) { throw new IllegalArgumentException("Unknown type id " + id + " in " + current.toJson()); } .... } {code} "Unknown type id " + {color:red}id{color} + " in " + current.toJson() Need to be modified to goal here -- This message was sent by Atlassian Jira (v8.3.4#803005)