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\\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


asked 05.06.2014 at 05:12

Genzer%20Hawker's gravatar image

Genzer Hawker
accept rate: 66%

This is a bug. Is fixed in 5.1.


answered 05.06.2014 at 10:17

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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



Asked: 05.06.2014 at 05:12

Seen: 1,257 times

Last updated: 05.06.2014 at 10:17