[
https://issues.apache.org/jira/browse/SQOOP-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16413077#comment-16413077
]
Hudson commented on SQOOP-3303:
-------------------------------
SUCCESS: Integrated in Jenkins build Sqoop-hadoop200 #1156 (See
[https://builds.apache.org/job/Sqoop-hadoop200/1156/])
SQOOP-3303: Fix warnings during Sqoop compilation (bogi:
[https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=7186b9d654c54fbe575e273c0a182307d3d48893])
* (edit) src/test/org/apache/sqoop/TestParquetExport.java
* (edit) src/test/org/apache/sqoop/TestAvroExport.java
> Fix warnings during Sqoop compilation
> -------------------------------------
>
> Key: SQOOP-3303
> URL: https://issues.apache.org/jira/browse/SQOOP-3303
> Project: Sqoop
> Issue Type: Task
> Affects Versions: 1.5.0
> Reporter: Szabolcs Vasas
> Assignee: Szabolcs Vasas
> Priority: Major
> Attachments: SQOOP-3303.patch
>
>
> Ant prints the following warning during every Sqoop compilation:
> {code:java}
> /Users/szabolcsvasas/Documents/workspace/sqoop/sqoop-vasas-gradle/sqoop/src/test/org/apache/sqoop/TestAvroExport.java:477:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
> createAvroFile(0, TOTAL_RECORDS, null);
> ^
> cast to ColumnGenerator for a varargs call
> cast to ColumnGenerator[] for a non-varargs call and to suppress this
> warning
> /Users/szabolcsvasas/Documents/workspace/sqoop/sqoop-vasas-gradle/sqoop/src/test/org/apache/sqoop/TestAvroExport.java:492:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
> createAvroFile(0, TOTAL_RECORDS, null);
> ^
> cast to ColumnGenerator for a varargs call
> cast to ColumnGenerator[] for a non-varargs call and to suppress this
> warning
> /Users/szabolcsvasas/Documents/workspace/sqoop/sqoop-vasas-gradle/sqoop/src/test/org/apache/sqoop/TestParquetExport.java:422:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
> createParquetFile(0, TOTAL_RECORDS, null);
> ^
> cast to ColumnGenerator for a varargs call
> cast to ColumnGenerator[] for a non-varargs call and to suppress this
> warning
> /Users/szabolcsvasas/Documents/workspace/sqoop/sqoop-vasas-gradle/sqoop/src/test/org/apache/sqoop/TestParquetExport.java:435:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
> createParquetFile(0, TOTAL_RECORDS, null);
> ^
> cast to ColumnGenerator for a varargs call
> cast to ColumnGenerator[] for a non-varargs call and to suppress this
> warning
> {code}
> It is kind of annoying and would be very easy to fix.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)