Despite being one part of Ivy API but when I try to use CaseQuery/TaskQuery inside a Java class, the compiler yeilds warnings:

Discouraged access: The type CaseQuery is not accessible due to restriction on required library C:\dev\ide\xpert.ivy.alag\4.3.20.44658\plugins\ch.ivyteam.ivy.workflow_4.3.20.44658.jar

It's true that we can suppress those warnings by using @SuppressWarnings("restriction") but I want to know the reason why they are restricted? Is there anyway we can remove it?

P.s: I use Ivy v4.3.20

Thanks

asked 05.06.2014 at 05:12

Genzer%20Hawker's gravatar image

Genzer Hawker
(suspended)
accept rate: 66%


This is a bug. Is fixed in 5.1.

link

answered 05.06.2014 at 10:17

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×37
×11

Asked: 05.06.2014 at 05:12

Seen: 2,520 times

Last updated: 05.06.2014 at 10:17