allen501pc / jlibs

Automatically exported from code.google.com/p/jlibs
0 stars 0 forks source link

Warnings in XSInstance #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open XSInstance.java in development environment, like Eclipse
2. Look at the warnings.

What is the expected output? What do you see instead?
I don't want any warnings. Warnings in practice are errors in disguise.

What version of the product are you using? On what operating system?
Latest version from SVN archive. On Windows.

Please provide any additional information below.
1. Replace 
        sampleValue = attr.getConstraintValue();
BY
        sampleValue = attr.getValueConstraintValue().getNormalizedValue();
2. Add the type in references to generic types, i.e. use X<E> instead of X.
3. remove unused (local) variables

Original issue reported on code.google.com by Pierre.v...@gmail.com on 19 Dec 2013 at 1:05

GoogleCodeExporter commented 9 years ago
FIXED in r1782

Original comment by santhosh.tekuri@gmail.com on 20 Dec 2013 at 10:49