package replicant.spy;

import arez.spy.SerializableEvent;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nonnull;

/**
 * Notification when a Connector is synchronized with the backend.
 */
public final class InSyncEvent
  implements SerializableEvent
{
  private final int _schemaId;

  public InSyncEvent( final int schemaId )
  {
    _schemaId = schemaId;
  }

  public int getSchemaId()
  {
    return _schemaId;
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public void toMap( @Nonnull final Map<String, Object> map )
  {
    map.put( "type", "Connector.InSync" );
    map.put( "schema.id", getSchemaId() );
  }
}

@@ -78,34 +78,8 @@
 ap;%0A
-import java.util.Objects;%0A
 impo

Optimize imports