Fix for ONOS-4632

Change-Id: I41bb77f4747147f6e8cd80940b76cbb3f819907a
diff --git a/core/common/src/main/java/org/onosproject/codec/impl/ObjectiveCodecHelper.java b/core/common/src/main/java/org/onosproject/codec/impl/ObjectiveCodecHelper.java
index 4434ae0..60e40df 100644
--- a/core/common/src/main/java/org/onosproject/codec/impl/ObjectiveCodecHelper.java
+++ b/core/common/src/main/java/org/onosproject/codec/impl/ObjectiveCodecHelper.java
@@ -77,7 +77,6 @@
 
         if (permanent) {
             builder.makePermanent()
-                    .makeTemporary(timeoutInt)
                     .withPriority(priorityInt);
         } else {
             builder.makeTemporary(timeoutInt)