      if (!match.hasMatch())
                continue;
            auto index = match.lastCapturedIndex();

            if (match_start == -1 || match.capturedStart(index) < match_start)
            {
                match_start = match.capturedStart(index);
                match_length = match.capturedLength(index);
                rule = r;
            }
        }

        if (match_start == -1)
            break;

        setFormat(match_start, match_length, rule.format);
        offset = match_start + match_length;
        state = rule.state_out;
    }

    setCurrentBlockState(state);
}


> Task :compileJava FROM-CACHE


// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`should affect error message after formatting 1`] = `
"
<<<<<< before
no error

======
ERROR: (ter-padded-blocks) /src/tslint-eslint-rules/ter-padded-blocks/test.ts[1, 11]: Block must be padded by blank lines.
ERROR: (ter-padded-blocks) /src/tslint-eslint-rules/ter-padded-blocks/test.ts[3, 1]: Block must be padded by blank lines.

>>>>>> after
"
`;

exports[`should be pretty after formatting 1`] = `
"
<<<<<< before
if (true) {

  somebody.doSomething();

}

======
if (true) {
  somebody.doSomething();
}

>>>>>> after
"
`;


/*
 * Copyright 2009-2012 Amazon Technologies, Inc. 
 *
 * 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://aws.amazon.com/apache2.0
 *
 * This file 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 com.amazonaws.eclipse.ec2;

/**
 * Represents the results of an attempt to copy a local file to a remote host.
 */
public class RemoteFileCopyResults {

    /** The local file being copied */
    private final String localFile;
    
    /** The remote destination file */
    private final String remote