Code ReOrganization and Re-Architecture changes
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / lib / notation / json / MutationSerializer.java
diff --git a/ovsdb/src/main/java/org/opendaylight/ovsdb/lib/notation/json/MutationSerializer.java b/ovsdb/src/main/java/org/opendaylight/ovsdb/lib/notation/json/MutationSerializer.java
deleted file mode 100644 (file)
index adbe9fc..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2013 Red Hat, Inc.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Authors : Madhu Venugopal, Ashwin Raveendran
- */
-package org.opendaylight.ovsdb.lib.notation.json;
-
-import java.io.IOException;
-
-import org.opendaylight.ovsdb.lib.notation.Mutation;
-
-import com.fasterxml.jackson.core.JsonGenerator;
-import com.fasterxml.jackson.core.JsonProcessingException;
-import com.fasterxml.jackson.databind.JsonSerializer;
-import com.fasterxml.jackson.databind.SerializerProvider;
-
-public class MutationSerializer extends JsonSerializer<Mutation> {
-    @Override
-    public void serialize(Mutation condition, JsonGenerator generator,
-        SerializerProvider provider) throws IOException,
-            JsonProcessingException {
-        generator.writeStartArray();
-        generator.writeString(condition.getColumn());
-        generator.writeString(condition.getMutator().toString());
-        generator.writeObject(condition.getValue());
-        generator.writeEndArray();
-    }
-}
\ No newline at end of file