Commit 1a3667cf authored by Alexander Diewald's avatar Alexander Diewald
Browse files

Merge branch '3859' into 'master'

Annotations: Enable unsetting enum values

See merge request !72
parents cd58dddb ceb6a394
......@@ -7,7 +7,7 @@ a6360f99ee149276f0fbd299820ebd1c9731ea97 GREEN 0dcaecf4ba5f8ddefa3ccb7d6f4e4506f7f09b26 GREEN b0e0c72c25c5655f8c791bb99b2ed4fd3d0b0c3e GREEN 12e93b20e71e31d30c54e6b9ead8895aaa38454c GREEN 3b7a9c6112cc56595ec99f3b3ea0d469a61ebf1d GREEN 84cb44140f5cede38880b30f446156528592f147 GREEN 9d9e6e10e11d1d03a3c5a8c86c3d887aa39e37a6 GREEN ac228c1a4dec5d7035729585c2dcb9799da6aba9 GREEN eb493c084158bfaf4267d6a1f3dd41bcf0867eef GREEN
......@@ -151,6 +151,10 @@ public class LabelValueMapping {
addLabelValuePair(e.getName(), e.getInstance());
// Add a "null" entry to allow unsetting the annotation value: The list of enum values does
// not contain such "special" literals.
addLabelValuePair("", null);
/** Returns the set of labels managed by this {@link LabelValueMapping}. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment