mirror of https://github.com/qt/qtbase.git
Android: avoid warning about Class rawtype usage
warning: [rawtypes] found raw type: Class return connectSignalListener("onParameterisedFunction", new Class[]{ Integer.class, Double.class, Double.class, String.class, Boolean.class }, signalListener); ^ Change-Id: I40f53048c294903dc2a56346a470ff2b429c50ba Reviewed-by: Soheil Armin <soheil.armin@qt.io>
This commit is contained in:
parent
bc8a649c38
commit
4d72fc89c8
|
@ -3905,7 +3905,7 @@ int generateJavaQmlComponents(const Options &options)
|
||||||
<< "public int connect%1(%2 signalListener) {\n"_L1.arg(
|
<< "public int connect%1(%2 signalListener) {\n"_L1.arg(
|
||||||
firstCharToUpper(signalInterfaceName), signalInterfaceName)
|
firstCharToUpper(signalInterfaceName), signalInterfaceName)
|
||||||
<< indent
|
<< indent
|
||||||
<< " return connectSignalListener(\"%1\", new Class[]{ %2 }, signalListener);\n"_L1
|
<< " return connectSignalListener(\"%1\", new Class<?>[]{ %2 }, signalListener);\n"_L1
|
||||||
.arg(methodName, javaParamsClassesString)
|
.arg(methodName, javaParamsClassesString)
|
||||||
<< indent << "}\n\n";
|
<< indent << "}\n\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue