Beispiel #1
0
 /** {@inheritDoc} */
 @Override
 public T encode(final S toEncode) {
   if (toEncode == null) {
     return null;
   }
   return delegateCodec.encode(toEncode);
 }
Beispiel #2
0
 /** {@inheritDoc} */
 @Override
 public S decode(final T encoded) {
   if (encoded == null) {
     return null;
   }
   return delegateCodec.decode(encoded);
 }