Changeset 4428


Ignore:
Timestamp:
Feb 28, 2013, 8:32:27 AM (10 years ago)
Author:
olle
Message:

Refs #327. Class/file core/data/ParameterValueData.java in api/core/ updated in Java annotation with @SafeVarargs java annotation before definition of constructor ParameterValueData(T... values), which is changed from @SafeVarargs to @SuppressWarnings("unchecked"), in order to be able to compile under Java 1.6 (Java annotation @SafeVarargs was not introduced until Java 1.7). This will suppress warnings of type "warning: [unchecked] Possible heap pollution from parameterized vararg type T" in both Java 1.6 and 1.7, although @SafeVarargs is the preferred choice if only Java 1.7 or later is supported.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.