We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STEPS TO REPRODUCE
Tested on XWiki 12.5.1.
EXPECTED RESULTS
No warnings are displayed.
ACTUAL RESULTS
In console, there are many warnings displayed related to deprecated usage of method, like:
2020-07-17 12:20:36,430 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:20:36,556 [http-nio-1115-exec-1 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=allFiles&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:20:37,648 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:20:43,533 [http-nio-1115-exec-5 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:20:58,553 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/FileManager/Folder1ad?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.FolderSheet@269,27 2020-07-17 12:21:03,383 [http-nio-1115-exec-8 - http://localhost:1115/xwiki/bin/get/FileManager/Folder1ad?action=move&outputSyntax=plain] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:FileManagerCode.FolderSheet@41,43 2020-07-17 12:21:05,324 [http-nio-1115-exec-3 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:27:10,422 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:27:35,810 [http-nio-1115-exec-10 - http://localhost:1115/xwiki/bin/view/FileManager/] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.RecentFilesPanel@16,30 2020-07-17 12:27:57,836 [http-nio-1115-exec-1 - http://localhost:1115/xwiki/bin/view/FileManager/] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.RecentFilesPanel@16,30 2020-07-17 12:27:58,238 [http-nio-1115-exec-4 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:27:58,387 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=allFiles&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:27:59,810 [http-nio-1115-exec-1 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:28:07,646 [http-nio-1115-exec-10 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:28:09,251 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/Folder%202us?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.FolderSheet@269,27 2020-07-17 12:28:14,530 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/FileManager/Folder%202us?action=move&outputSyntax=plain] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:FileManagerCode.FolderSheet@41,43 2020-07-17 12:28:15,637 [http-nio-1115-exec-3 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41
Environment: Windows 10 Pro 64bit, Firefox 78, using a local instance of XWiki 12.5.1 on PostgreSQL 12, Tomcat 9.0.36
The text was updated successfully, but these errors were encountered:
Warnings for deprecated usage of method when using File Manager Pro #33
7ad5dc8
ad0421e
acotiuga
No branches or pull requests
STEPS TO REPRODUCE
Tested on XWiki 12.5.1.
EXPECTED RESULTS
No warnings are displayed.
ACTUAL RESULTS
In console, there are many warnings displayed related to deprecated usage of method, like:
2020-07-17 12:20:36,430 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:20:36,556 [http-nio-1115-exec-1 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=allFiles&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:20:37,648 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:20:43,533 [http-nio-1115-exec-5 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:20:58,553 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/FileManager/Folder1ad?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.FolderSheet@269,27 2020-07-17 12:21:03,383 [http-nio-1115-exec-8 - http://localhost:1115/xwiki/bin/get/FileManager/Folder1ad?action=move&outputSyntax=plain] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:FileManagerCode.FolderSheet@41,43 2020-07-17 12:21:05,324 [http-nio-1115-exec-3 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:27:10,422 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:27:35,810 [http-nio-1115-exec-10 - http://localhost:1115/xwiki/bin/view/FileManager/] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.RecentFilesPanel@16,30 2020-07-17 12:27:57,836 [http-nio-1115-exec-1 - http://localhost:1115/xwiki/bin/view/FileManager/] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.RecentFilesPanel@16,30 2020-07-17 12:27:58,238 [http-nio-1115-exec-4 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:27:58,387 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=allFiles&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:27:59,810 [http-nio-1115-exec-1 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveSheet@269,27 2020-07-17 12:28:07,646 [http-nio-1115-exec-10 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41 2020-07-17 12:28:09,251 [http-nio-1115-exec-6 - http://localhost:1115/xwiki/bin/get/FileManager/Folder%202us?data=files&limit=15&offset=0&outputSyntax=plain&sort=name] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.FolderSheet@269,27 2020-07-17 12:28:14,530 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/get/FileManager/Folder%202us?action=move&outputSyntax=plain] WARN o.a.v.introspection - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in xwiki:FileManagerCode.FolderSheet@41,43 2020-07-17 12:28:15,637 [http-nio-1115-exec-3 - http://localhost:1115/xwiki/bin/get/FileManager/WebHome?sheet=FileManagerCode.DriveTree&outputSyntax=plain&data=children&id=WebHome] WARN o.a.v.introspection - Deprecated usage of method [org.apache.velocity.tools.generic.MathTool.toInteger] in xwiki:FileManagerCode.DriveTree@49,41
Environment: Windows 10 Pro 64bit, Firefox 78, using a local instance of XWiki 12.5.1 on PostgreSQL 12, Tomcat 9.0.36
The text was updated successfully, but these errors were encountered: