@@ -0,0 +1,1767 @@
+/*%0A * Copyright (c) 2010-2018. Axon Framework%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *    http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.axonframework.eventsourcing.eventstore;%0A%0Aimport java.io.Serializable;%0Aimport java.util.Collection;%0A%0A/**%0A * Class copied from Axon 3 to be able to restore Axon 3 Tokens from Axon 4 applications.%0A *%0A * @deprecated this class is available for backward compatibility with instances that were serialized with Axon 3. Use%0A * %7B@link org.axonframework.eventhandling.GapAwareTrackingToken%7D instead.%0A */%0A@Deprecated%0Apublic class GapAwareTrackingToken implements Serializable %7B%0A%0A    private static final long serialVersionUID = 1L%0A%0A    private int index;%0A    private Collection%3CLong%3E gaps;%0A%0A    /**%0A     * Get the highest global sequence of events seen up until the point of this tracking token.%0A     *%0A     * @return the highest global event sequence number seen so far%0A     */%0A    public long getIndex() %7B%0A        return index;%0A    %7D%0A%0A    /**%0A     * Get a %7B@link Collection%7D of this token's gaps.%0A     *%0A     * @return the gaps of this token%0A     */%0A    public Collection%3CLong%3E getGaps() %7B%0A        return gaps;%0A    %7D%0A%0A    private Object readResolve() %7B%0A        return org.axonframework.eventhandling.GapAwareTrackingToken.newInstance(index, gaps);%0A    %7D%0A%7D%0A

Add legacy GapAwareTrackingToken