Commit bc3612e0 authored by Adam Knapp's avatar Adam Knapp
Browse files

Optional field code generation bug fix #443


Signed-off-by: Adam Knapp's avatarAdam Knapp <adam.knapp@ericsson.com>
parent 69fce2b9
...@@ -90,17 +90,8 @@ public final class Optional<TYPE extends Base_Type> extends Base_Type { ...@@ -90,17 +90,8 @@ public final class Optional<TYPE extends Base_Type> extends Base_Type {
return this; return this;
} }
/** @Override
* Assigns the other value to this value. public Optional<TYPE> operator_assign(final Optional<?> otherValue) {
* Overwriting the current content in the process.
*<p>
* operator= in the core.
*
* @param otherValue
* the other value to assign.
* @return the new value object.
*/
public Optional<TYPE> operator_assign(final Optional<TYPE> otherValue) {
switch (otherValue.optionalSelection) { switch (otherValue.optionalSelection) {
case OPTIONAL_PRESENT: case OPTIONAL_PRESENT:
if (optional_sel.OPTIONAL_PRESENT.equals(optionalSelection)) { if (optional_sel.OPTIONAL_PRESENT.equals(optionalSelection)) {
......
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