/*
 * Copyright 2016 higherfrequencytrading.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.openhft.chronicle.queue;

import org.jetbrains.annotations.NotNull;

public class RollDetails {
    private final long cycle;
    private final long epoch;

    public RollDetails(long cycle, long epoch) {
        this.cycle = cycle;
        this.epoch = epoch;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof RollDetails)) return false;
        @NotNull RollDetails rollDetails = (RollDetails) o;
        return cycle == rollDetails.cycle && epoch == rollDetails.epoch;
    }

    @Override
    public int hashCode() {
        int result = (int) (cycle ^ (cycle >>> 32));
        result = 31 * result + (int) (epoch ^ (epoch >>> 32));
        return result;
    }
}

@@ -652,82 +652,117 @@
 ort 
-org.jetbrains.annotations.NotNull;%0A%0Apublic class RollDetails %7B%0A    private
+net.openhft.chronicle.wire.AbstractMarshallable;%0A%0Apublic class RollDetails extends AbstractMarshallable %7B%0A   
  fin
@@ -784,16 +784,8 @@
     
-private 
 fina
@@ -913,478 +913,7 @@
    %7D
-%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (!(o instanceof RollDetails)) return false;%0A        @NotNull RollDetails rollDetails = (RollDetails) o;%0A        return cycle == rollDetails.cycle && epoch == rollDetails.epoch;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int result = (int) (cycle %5E (cycle %3E%3E%3E 32));%0A        result = 31 * result + (int) (epoch %5E (epoch %3E%3E%3E 32));%0A        return result;%0A    %7D
 %0A%7D%0A

Use extends AbstractMarshallable in more places.